summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-03-04 18:53:35 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-03-04 18:53:35 +0000
commit7ad8cc9420f796dfcafbc84dc06453fc3eb51abe (patch)
tree1be784c617d361f40e29d1b5ceb2b7ef5f8e1893 /lib/sqlalchemy/databases/mysql.py
parente9999c74e6d476685f5c0ca741d86be3ef5050a0 (diff)
downloadsqlalchemy-7ad8cc9420f796dfcafbc84dc06453fc3eb51abe.tar.gz
removed the dependency of ANSICompiler on SQLEngine. you can now make ANSICompilers and compile SQL with no engine at all.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r--lib/sqlalchemy/databases/mysql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py
index b29078ca2..8e305a697 100644
--- a/lib/sqlalchemy/databases/mysql.py
+++ b/lib/sqlalchemy/databases/mysql.py
@@ -132,7 +132,7 @@ class MySQLEngine(ansisql.ANSISQLEngine):
return False
def compiler(self, statement, bindparams, **kwargs):
- return MySQLCompiler(self, statement, bindparams, **kwargs)
+ return MySQLCompiler(statement, bindparams, engine=self, **kwargs)
def schemagenerator(self, **params):
return MySQLSchemaGenerator(self, **params)