From: Mike Bayer Date: Sat, 9 Dec 2006 04:06:34 +0000 (+0000) Subject: - MySQL bool type fix: [ticket:307] X-Git-Tag: rel_0_3_2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37207271aaf21dcbca85cbd445ce93348a236f5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - MySQL bool type fix: [ticket:307] --- diff --git a/CHANGES b/CHANGES index 12e101670b..af2ca2570c 100644 --- a/CHANGES +++ b/CHANGES @@ -13,6 +13,7 @@ back to 0.2.8 levels to have it be weak referencing, use create_session(weak_identity_map=True) - MySQL detects errors 2006 (server has gone away) and 2014 (commands out of sync) and invalidates the connection on which it occured. +- MySQL bool type fix: [ticket:307] - postgres reflection fixes: [ticket:349] [ticket:382] - added keywords for EXCEPT, INTERSECT, EXCEPT ALL, INTERSECT ALL [ticket:247] diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index b87e2d6e94..c795ae7d4c 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -207,6 +207,7 @@ colspecs = { } ischema_names = { + 'boolean':MSBoolean, 'bigint' : MSBigInteger, 'int' : MSInteger, 'mediumint' : MSInteger,