]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- added a catchall **kwargs to MSString, to help reflection of
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Mar 2007 01:48:28 +0000 (01:48 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Mar 2007 01:48:28 +0000 (01:48 +0000)
obscure types (like "varchar() binary" in MS 4.0)

CHANGES
lib/sqlalchemy/databases/mysql.py

diff --git a/CHANGES b/CHANGES
index 9f72facd3a09813b0d7d8b29ccb1291397c65295..9df40b9b3b459173ee1a72deb9b97838e8ca92cc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
     - auto_setinputsizes defaults to True for Oracle, fixed cases where
       it improperly propigated bad types.
 
+- mysql:
+    - added a catchall **kwargs to MSString, to help reflection of 
+      obscure types (like "varchar() binary" in MS 4.0)
+
 - orm:
     - the full featureset of the SelectResults extension has been merged
       into a new set of methods available off of Query.  These methods
index 1cb41cf768a803d0b41798940e77549f9f93f175..2df16c361d642cbd0c26e8d429b3393bd28fd8ff 100644 (file)
@@ -154,7 +154,7 @@ class MSLongText(MSText):
             return "LONGTEXT"
 
 class MSString(sqltypes.String):
-    def __init__(self, length=None, *extra):
+    def __init__(self, length=None, *extra, **kwargs):
         sqltypes.String.__init__(self, length=length)
     def get_col_spec(self):
         return "VARCHAR(%(length)s)" % {'length' : self.length}