diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-12-19 23:02:45 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-12-19 23:02:45 +0000 |
commit | 9cccdfb0fdd54e4a254842e0f68cd41a33912776 (patch) | |
tree | 9e669d4f04f2d2bca531ce016f62ee2d88ec68ab /lib/sqlalchemy/databases/mysql.py | |
parent | 16ef52392c55341ae94edfca5e4feafe216844a4 (diff) | |
download | sqlalchemy-9cccdfb0fdd54e4a254842e0f68cd41a33912776.tar.gz |
removed the "create_execution_context()" method from dialects and replaced
with a more succinct "dialect.execution_ctx_cls" member
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 9c6c48e0f..1dc863233 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1496,9 +1496,6 @@ class MySQLDialect(default.DefaultDialect): opts['client_flag'] = client_flag return [[], opts] - def create_execution_context(self, connection, **kwargs): - return MySQLExecutionContext(self, connection, **kwargs) - def type_descriptor(self, typeobj): return sqltypes.adapt_type(typeobj, colspecs) @@ -2727,3 +2724,4 @@ dialect = MySQLDialect dialect.statement_compiler = MySQLCompiler dialect.schemagenerator = MySQLSchemaGenerator dialect.schemadropper = MySQLSchemaDropper +dialect.execution_ctx_cls = MySQLExecutionContext |