Ticket #16613: db_backend_mysql_base.patch
File db_backend_mysql_base.patch, 703 bytes (added by , 13 years ago) |
---|
-
django/db/backends/mysql/base.py
143 143 # will tell you the default table type of the created 144 144 # table. Since all Django's test tables will have the same 145 145 # table type, that's enough to evaluate the feature. 146 cursor.execute( 'SHOW TABLE STATUS WHERE Name="INTROSPECT_TEST"')146 cursor.execute("SHOW TABLE STATUS WHERE Name='INTROSPECT_TEST'") 147 147 result = cursor.fetchone() 148 148 cursor.execute('DROP TABLE INTROSPECT_TEST') 149 149 return result[1] != 'MyISAM'