Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 2456:1cd69db95b23
fixed some more mysql 0.6->0.7 upgrade bugs [SF#950410]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 14 Jun 2004 03:36:11 +0000 |
| parents | e28a5d5d95a7 |
| children | f41539b3c486 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Sun Jun 13 13:06:54 2004 +0000 +++ b/roundup/backends/rdbms_common.py Mon Jun 14 03:36:11 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.108 2004-06-09 09:49:27 richard Exp $ +# $Id: rdbms_common.py,v 1.109 2004-06-14 03:36:11 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -202,6 +202,8 @@ return 0 if version < 2: + if __debug__: + print >>hyperdb.DEBUG, 'upgrade to version 2' # change the schema structure self.database_schema = {'tables': self.database_schema} @@ -214,6 +216,8 @@ self.create_version_2_tables() if version < 3: + if __debug__: + print >>hyperdb.DEBUG, 'upgrade to version 3' self.fix_version_2_tables() self.database_schema['version'] = self.current_db_version
