cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/4.4 to a521c02
Date Mon, 05 May 2014 18:34:44 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 f8419b930 -> a521c02c5


CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints
on the Upgraded Setup


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

Branch: refs/heads/4.4
Commit: a521c02c54dc670b48d9e5d81fb51e688f6f36a8
Parents: f8419b9
Author: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Authored: Mon May 5 20:32:44 2014 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Mon May 5 20:34:20 2014 +0200

----------------------------------------------------------------------
 engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a521c02c/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java b/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java
index ab5d213..5ce8f36 100644
--- a/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java
+++ b/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java
@@ -684,7 +684,7 @@ public class Upgrade302to40 extends Upgrade30xBase implements DbUpgrade
{
             PreparedStatement pstmt;
             pstmt =
                 conn.prepareStatement("ALTER TABLE `cloud`.`ssh_keypairs` ADD "
-                    + "CONSTRAINT `fk_ssh_keypair__account_id` FOREIGN KEY `fk_ssh_keypair__account_id`
(`account_id`)"
+                    + "CONSTRAINT `fk_ssh_keypairs__account_id` FOREIGN KEY `fk_ssh_keypairs__account_id`
(`account_id`)"
                     + " REFERENCES `account` (`id`) ON DELETE CASCADE");
             pstmt.executeUpdate();
             pstmt.close();
@@ -696,7 +696,7 @@ public class Upgrade302to40 extends Upgrade30xBase implements DbUpgrade
{
             PreparedStatement pstmt;
             pstmt =
                 conn.prepareStatement("ALTER TABLE `cloud`.`ssh_keypairs` ADD CONSTRAINT"
-                    + " `fk_ssh_keypair__domain_id` FOREIGN KEY `fk_ssh_keypair__domain_id`
(`domain_id`) " + "REFERENCES `domain` (`id`) ON DELETE CASCADE");
+                    + " `fk_ssh_keypairs__domain_id` FOREIGN KEY `fk_ssh_keypairs__domain_id`
(`domain_id`) " + "REFERENCES `domain` (`id`) ON DELETE CASCADE");
             pstmt.executeUpdate();
             pstmt.close();
         } catch (SQLException e) {


Mime
View raw message