patch against rev 2497

I believe type_conv only allows numeric values, so any type_conv opt
passed has to
be converted to an int. I bet the same rule applies to
concurrency_level, but this
patch doesn't address that.

(sorry, using google groups I can't see how to attach this as a file)

Index: /usr/local/src/sqlalchemy/lib/sqlalchemy/databases/firebird.py
===================================================================
--- /usr/local/src/sqlalchemy/lib/sqlalchemy/databases/
firebird.py      (revision 2497)
+++ /usr/local/src/sqlalchemy/lib/sqlalchemy/databases/
firebird.py      (working copy)
@@ -120,7 +120,7 @@
             del opts['port']
         opts.update(url.query)

-        type_conv = opts.pop('type_conv', self.type_conv)
+        type_conv = int(opts.pop('type_conv', self.type_conv))
         concurrency_level = opts.pop('concurrency_level',
self.concurrency_level)
         global _initialized_kb
         if not _initialized_kb and self.dbapi is not None:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to