]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- Added integer coercion to the "type_conv" attribute when
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Apr 2010 22:36:47 +0000 (18:36 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Apr 2010 22:36:47 +0000 (18:36 -0400)
passed via query string, so that it is properly interpreted
by Kinterbasdb. [ticket:1779]

CHANGES
lib/sqlalchemy/dialects/firebird/kinterbasdb.py

diff --git a/CHANGES b/CHANGES
index 1428326c6f6ddbfb520b31fec6d0bfc855fa2e53..e110c15e2b78f9d9d3e3dea049494e19ea098ba7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -31,6 +31,10 @@ CHANGES
     has_sequence() to work with older versions of Firebird
     that don't provide labels for result columns. [ticket:1521]
     
+  - Added integer coercion to the "type_conv" attribute when 
+    passed via query string, so that it is properly interpreted
+    by Kinterbasdb. [ticket:1779]
+    
 0.6.0
 =====
 
index 84963ba8b71108c5598c5e8f4503d5d1e7ffaee9..82d1101a48955d1d7bf22e824c317cf880c4904d 100644 (file)
@@ -100,10 +100,12 @@ class FBDialect_kinterbasdb(FBDialect):
             opts['host'] = "%s/%s" % (opts['host'], opts['port'])
             del opts['port']
         opts.update(url.query)
-
+        
+        util.coerce_kw_type(opts, 'type_conv', int)
+        
         type_conv = opts.pop('type_conv', self.type_conv)
         concurrency_level = opts.pop('concurrency_level', self.concurrency_level)
-
+        
         if self.dbapi is not None:
             initialized = getattr(self.dbapi, 'initialized', None)
             if initialized is None: