Author: nunofsantos
Date: 2008-12-05 12:24:34 -0500 (Fri, 05 Dec 2008)
New Revision: 2934
Modified:
mgmt/trunk/cumin/python/cumin/tools.py
Log:
enable use of triggers to update current/previous statistics
Modified: mgmt/trunk/cumin/python/cumin/tools.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/tools.py 2008-12-05 16:29:49 UTC (rev 2933)
+++ mgmt/trunk/cumin/python/cumin/tools.py 2008-12-05 17:24:34 UTC (rev 2934)
@@ -189,8 +189,9 @@
def run(self, opts, args):
main = os.path.join(self.parent.config.home, "sql",
"schema.sql")
indexes = os.path.join(self.parent.config.home, "sql",
"indexes.sql")
+ triggers = os.path.join(self.parent.config.home, "sql",
"triggers.sql")
- self.parent.database.createSchema((main, indexes))
+ self.parent.database.createSchema((main, indexes, triggers))
class DropSchema(Command):
def run(self, opts, args):
Show replies by date