You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2014/01/29 19:32:29 UTC

git commit: AMBARI-4460. Upgrade schema script fails for MySQL if upgrading from M10 or M15 to M20.(vbrodetskyi)

Updated Branches:
  refs/heads/branch-1.4.4 0052c7ca5 -> 84c9a6baf


AMBARI-4460. Upgrade schema script fails for MySQL if upgrading from M10 or M15 to M20.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/84c9a6ba
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/84c9a6ba
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/84c9a6ba

Branch: refs/heads/branch-1.4.4
Commit: 84c9a6bafd5ca5f6fb9276eefda6848577972df1
Parents: 0052c7c
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Wed Jan 29 20:32:03 2014 +0200
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Wed Jan 29 20:32:03 2014 +0200

----------------------------------------------------------------------
 .../src/main/resources/upgrade/ddl/Ambari-DDL-MySQL-UPGRADE.sql   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/84c9a6ba/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-MySQL-UPGRADE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-MySQL-UPGRADE.sql b/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-MySQL-UPGRADE.sql
index b1ad27d..a5101d2 100644
--- a/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-MySQL-UPGRADE.sql
+++ b/ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-MySQL-UPGRADE.sql
@@ -17,4 +17,5 @@
 --
 
 
--- DDL
\ No newline at end of file
+-- DDL
+UPDATE metainfo SET metainfo_value = '${ambariVersion}' WHERE metainfo_key = 'version';
\ No newline at end of file