From: Mike Bayer Date: Thu, 2 Mar 2006 17:38:37 +0000 (+0000) Subject: changed ENGINE to TYPE, for mysql 4 compatibility X-Git-Tag: rel_0_1_4~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64792659d12c02534de2124e9f53b17105c0946b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git changed ENGINE to TYPE, for mysql 4 compatibility --- diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index bcd7f50954..b29078ca2e 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -270,7 +270,7 @@ class MySQLSchemaGenerator(ansisql.ANSISchemaGenerator): def post_create_table(self, table): mysql_engine = table.kwargs.get('mysql_engine', None) if mysql_engine is not None: - return " ENGINE=%s" % mysql_engine + return " TYPE=%s" % mysql_engine else: return ""