ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alejan...@apache.org
Subject ambari git commit: AMBARI-17611. DB setup fails for SQLServer due to incorrect table schema definition for extensionlink (alejandro)
Date Thu, 07 Jul 2016 18:07:09 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 a2b286b2d -> d53bcd985


AMBARI-17611. DB setup fails for SQLServer due to incorrect table schema definition for extensionlink
(alejandro)


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

Branch: refs/heads/branch-2.4
Commit: d53bcd985a7eb3c40878fe408c06d9adca841b1c
Parents: a2b286b
Author: Alejandro Fernandez <afernandez@hortonworks.com>
Authored: Thu Jul 7 11:09:27 2016 -0700
Committer: Alejandro Fernandez <afernandez@hortonworks.com>
Committed: Thu Jul 7 11:09:27 2016 -0700

----------------------------------------------------------------------
 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/d53bcd98/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 fda4af6..8f0dae0 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
@@ -50,7 +50,7 @@ CREATE TABLE extensionlink(
   CONSTRAINT PK_extensionlink PRIMARY KEY CLUSTERED (link_id),
   CONSTRAINT FK_extensionlink_stack_id FOREIGN KEY (stack_id) REFERENCES stack(stack_id),
   CONSTRAINT FK_extensionlink_extension_id FOREIGN KEY (extension_id) REFERENCES extension(extension_id),
-  CONSTRAINT UQ_extension_link UNIQUE (stack_id, extension_id);
+  CONSTRAINT UQ_extension_link UNIQUE (stack_id, extension_id));
 
 CREATE TABLE adminresourcetype (
   resource_type_id INTEGER NOT NULL,


Mime
View raw message