mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.4.x] Fixed #19702 -- Changed a SQL command syntax to be MySQL 4-compatible
Thanks matf at op.pl for the report.
This commit is contained in:
		| @@ -177,7 +177,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||||||
|             # will tell you the default table type of the created |             # will tell you the default table type of the created | ||||||
|             # table. Since all Django's test tables will have the same |             # table. Since all Django's test tables will have the same | ||||||
|             # table type, that's enough to evaluate the feature. |             # 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() |             result = cursor.fetchone() | ||||||
|             cursor.execute('DROP TABLE INTROSPECT_TEST') |             cursor.execute('DROP TABLE INTROSPECT_TEST') | ||||||
|             self._storage_engine = result[1] |             self._storage_engine = result[1] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user