From c6d4471af3949e339912edc4fa404d77eb31e5fb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 4 May 2012 17:44:22 -0400 Subject: - [feature] Added SQLite execution option "sqlite_raw_colnames=True", will bypass attempts to remove "." from column names returned by SQLite cursor.description. [ticket:2475] --- lib/sqlalchemy/engine/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/engine/base.py') diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index a2695e337..a631f5c32 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -2726,7 +2726,7 @@ class ResultMetaData(object): context = parent.context dialect = context.dialect typemap = dialect.dbapi_type_map - translate_colname = dialect._translate_colname + translate_colname = context._translate_colname self.case_sensitive = dialect.case_sensitive # high precedence key values. -- cgit v1.2.1