diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-06-23 14:38:16 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-06-23 14:38:16 +0000 |
| commit | ff8458ab3e3e71c54aa8adaba6508f7def452c1f (patch) | |
| tree | 8e7aa32b79dfa4ca2d84e925257f2aa89fc3485c | |
| parent | 412f7f2ff0160bc171fc5e7367cacc03f02cd72d (diff) | |
| download | sqlalchemy-ff8458ab3e3e71c54aa8adaba6508f7def452c1f.tar.gz | |
fixed bug when specifying explicit module to mysql dialect
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index c4b1fd38b..ca7a9de57 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -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): |
