[Checkins] SVN: relstorage/trunk/relstorage/adapters/schema.py Verify the schema just after creating it.

Shane Hathaway shane at hathawaymix.org
Thu Sep 29 19:58:27 EST 2011


Log message for revision 122999:
  Verify the schema just after creating it.
  

Changed:
  U   relstorage/trunk/relstorage/adapters/schema.py

-=-
Modified: relstorage/trunk/relstorage/adapters/schema.py
===================================================================
--- relstorage/trunk/relstorage/adapters/schema.py	2011-09-29 11:53:40 UTC (rev 122998)
+++ relstorage/trunk/relstorage/adapters/schema.py	2011-09-30 00:58:26 UTC (rev 122999)
@@ -841,6 +841,8 @@
         self.runner.run_script(cursor, script)
         script = filter_script(self.init_script, self.database_name)
         self.runner.run_script(cursor, script)
+        tables = self.list_tables(cursor)
+        self.check_compatibility(cursor, tables)
 
     def prepare(self):
         """Create the database schema if it does not already exist."""



More information about the checkins mailing list