Commit ec93ecdd authored by Claude Paroz's avatar Claude Paroz
Browse files

[1.4.x] Fixed #19702 -- Changed a SQL command syntax to be MySQL 4-compatible

Thanks matf at op.pl for the report.
parent 3610d11b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
            # will tell you the default table type of the created
            # table. Since all Django's test tables will have the same
            # table type, that's enough to evaluate the feature.
            cursor.execute("SHOW TABLE STATUS WHERE Name='INTROSPECT_TEST'")
            cursor.execute("SHOW TABLE STATUS LIKE 'INTROSPECT_TEST'")
            result = cursor.fetchone()
            cursor.execute('DROP TABLE INTROSPECT_TEST')
            self._storage_engine = result[1]