summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-08-11 21:37:55 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-08-11 21:37:55 +0000
commit4488b655458b07ef060af5e5995b480d350d0bc9 (patch)
tree5112f84c537c2215776f5f0066a0aec1036d50f8
parent61b7d4fb5af3948a49ad2f1091b3207428a1ee94 (diff)
downloadsqlalchemy-4488b655458b07ef060af5e5995b480d350d0bc9.tar.gz
reflected 'mediumint' type
-rw-r--r--CHANGES3
-rw-r--r--lib/sqlalchemy/databases/mysql.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index de8aa22ce..3628b70c2 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 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,