From: Mike Bayer Date: Fri, 11 Aug 2006 21:37:55 +0000 (+0000) Subject: reflected 'mediumint' type X-Git-Tag: rel_0_2_7~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4488b655458b07ef060af5e5995b480d350d0bc9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git reflected 'mediumint' type --- diff --git a/CHANGES b/CHANGES index de8aa22cef..3628b70c23 100644 --- a/CHANGES +++ b/CHANGES @@ -18,7 +18,8 @@ reflection. overflow counter should only be decremented if the connection actually succeeded. added a test script to attempt testing this. - fixed mysql reflection of default values to be PassiveDefault -- added reflected 'tinyint' type to MS-SQL [ticket:263] +- added reflected 'tinyint', 'mediumint' type to MS-SQL [ticket:263], +[ticket:264] - SingletonThreadPool has a size and does a cleanup pass, so that only a given number of thread-local connections stay around (needed for sqlite applications that dispose of threads en masse) diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 2ce7e98259..df661daac2 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -215,6 +215,7 @@ colspecs = { ischema_names = { 'bigint' : MSBigInteger, 'int' : MSInteger, + 'mediumint' : MSInteger, 'smallint' : MSSmallInteger, 'tinyint' : MSSmallInteger, 'varchar' : MSString,