]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixed bug when specifying explicit module to mysql dialect
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Jun 2006 14:38:16 +0000 (14:38 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Jun 2006 14:38:16 +0000 (14:38 +0000)
CHANGES
lib/sqlalchemy/databases/mysql.py

diff --git a/CHANGES b/CHANGES
index 01925277956d9e629ca4933412806d9b9bce51a4..431546c478111d0aed683c9f3b2e4f3043c4b03a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -17,6 +17,7 @@ and '(<the rest of it>' since *thats how MySQL indicates a non-
 reserved word tablename.....* [ticket:206]
 - more fixes to inheritance, related to many-to-many relations
 properly saving
+- fixed bug when specifying explicit module to mysql dialect
 
 0.2.3
 - overhaul to mapper compilation to be deferred.  this allows mappers
index c4b1fd38b943556d8a6363a41a7983dd78fb2575..ca7a9de57159f871873d24a7573f4e02e5c18ed3 100644 (file)
@@ -143,6 +143,8 @@ class MySQLDialect(ansisql.ANSIDialect):
     def __init__(self, module = None, **kwargs):
         if module is None:
             self.module = mysql
+        else:
+            self.module = module
         ansisql.ANSIDialect.__init__(self, **kwargs)
 
     def create_connect_args(self, url):