Mercurial > p > roundup > code
diff roundup/backends/back_mysql.py @ 4085:04843a029ea1
Fix some broken logging.
Remove (broken and incorrect) optimisation added to set_inner
multilink handling.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Mar 2009 01:08:45 +0000 |
| parents | 2a68d7494bbc |
| children | 783053bd466c |
line wrap: on
line diff
--- a/roundup/backends/back_mysql.py Fri Feb 27 20:18:13 2009 +0000 +++ b/roundup/backends/back_mysql.py Tue Mar 10 01:08:45 2009 +0000 @@ -66,10 +66,10 @@ # stupid MySQL bug requires us to drop all the tables first for table in tables: command = 'DROP TABLE `%s`'%table[0] - self.log_debug(command) + logging.debug(command) cursor.execute(command) command = "DROP DATABASE %s"%config.RDBMS_NAME - self.log_info(command) + logging.info(command) cursor.execute(command) conn.commit() conn.close() @@ -83,7 +83,7 @@ conn = MySQLdb.connect(**kwargs) cursor = conn.cursor() command = "CREATE DATABASE %s"%config.RDBMS_NAME - self.log_info(command) + logging.info(command) cursor.execute(command) conn.commit() conn.close()
