Updated Branches:
  refs/heads/4.1 e97bc4bae -> a880f47fc

CLOUDSTACK-1019: Load 4.1-new-db-schema.sql when setting up databases

Signed-off-by: Rohit Yadav <[email protected]>


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

Branch: refs/heads/4.1
Commit: a880f47fc51d09ef77475fc34b05175aabb0697c
Parents: e97bc4b
Author: Rohit Yadav <[email protected]>
Authored: Mon Feb 11 15:21:58 2013 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Mon Feb 11 15:25:19 2013 +0530

----------------------------------------------------------------------
 setup/bindir/cloud-setup-databases.in |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/a880f47f/setup/bindir/cloud-setup-databases.in
----------------------------------------------------------------------
diff --git a/setup/bindir/cloud-setup-databases.in 
b/setup/bindir/cloud-setup-databases.in
index ef9eb6c..8330f35 100755
--- a/setup/bindir/cloud-setup-databases.in
+++ b/setup/bindir/cloud-setup-databases.in
@@ -1,6 +1,5 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
-
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
 # distributed with this work for additional information
@@ -212,7 +211,7 @@ for full help
                     ""),
             )
 
-        for f in ["create-database","create-schema", 
"create-database-premium","create-schema-premium", "create-schema-view"]:
+        for f in ["create-database","create-schema", 
"create-database-premium","create-schema-premium", "create-schema-view", 
"4.1-new-db-schema"]:
             p = os.path.join(self.dbFilesPath,"%s.sql"%f)
             if not os.path.exists(p): continue
             text = file(p).read()
@@ -603,4 +602,3 @@ for example:
 if __name__ == "__main__":
    o = DBDeployer()
    o.run()
-

Reply via email to