From 9cccdfb0fdd54e4a254842e0f68cd41a33912776 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 19 Dec 2008 23:02:45 +0000 Subject: removed the "create_execution_context()" method from dialects and replaced with a more succinct "dialect.execution_ctx_cls" member --- lib/sqlalchemy/databases/mysql.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/sqlalchemy/databases/mysql.py') 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 -- cgit v1.2.1