You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/04/20 21:02:32 UTC

ambari git commit: AMBARI-10605 - [WinTP2] sql error during DB creation

Repository: ambari
Updated Branches:
  refs/heads/trunk aed7c85ca -> 14b863738


AMBARI-10605 - [WinTP2] sql error during DB creation


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

Branch: refs/heads/trunk
Commit: 14b863738a57b933a4b143e39e863614d8d05667
Parents: aed7c85
Author: Artem Baranchuk <ab...@hortonworks.con>
Authored: Mon Apr 20 19:46:27 2015 +0300
Committer: Artem Baranchuk <ab...@hortonworks.con>
Committed: Mon Apr 20 22:01:58 2015 +0300

----------------------------------------------------------------------
 ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/14b86373/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
index 1567bf1..03f1ec8 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
@@ -633,7 +633,7 @@ CREATE TABLE adminprivilege (
 CREATE TABLE host_version (
   id BIGINT NOT NULL,
   repo_version_id BIGINT NOT NULL,
-  host_name VARCHAR(255) NOT NULL,
+  host_id BIGINT NOT NULL,
   STATE VARCHAR(32) NOT NULL,
   PRIMARY KEY CLUSTERED (id)
   );