diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-08-11 21:37:55 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-08-11 21:37:55 +0000 |
| commit | 4488b655458b07ef060af5e5995b480d350d0bc9 (patch) | |
| tree | 5112f84c537c2215776f5f0066a0aec1036d50f8 | |
| parent | 61b7d4fb5af3948a49ad2f1091b3207428a1ee94 (diff) | |
| download | sqlalchemy-4488b655458b07ef060af5e5995b480d350d0bc9.tar.gz | |
reflected 'mediumint' type
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -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 2ce7e9825..df661daac 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, |
