summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/firebird.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/firebird.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/firebird.py')
-rw-r--r--lib/sqlalchemy/databases/firebird.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py
index 250914813..4dd4aa2a6 100644
--- a/lib/sqlalchemy/databases/firebird.py
+++ b/lib/sqlalchemy/databases/firebird.py
@@ -102,7 +102,7 @@ class FBSQLEngine(ansisql.ANSISQLEngine):
return self.context.last_inserted_ids
def compiler(self, statement, bindparams, **kwargs):
- return FBCompiler(self, statement, bindparams, use_ansi=self._use_ansi, **kwargs)
+ return FBCompiler(statement, bindparams, engine=self, use_ansi=self._use_ansi, **kwargs)
def schemagenerator(self, **params):
return FBSchemaGenerator(self, **params)