From 4488b655458b07ef060af5e5995b480d350d0bc9 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 11 Aug 2006 21:37:55 +0000 Subject: [PATCH] reflected 'mediumint' type --- CHANGES | 3 ++- lib/sqlalchemy/databases/mysql.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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, -- 2.47.2