summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-05-04 17:44:22 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-05-04 17:44:22 -0400
commitc6d4471af3949e339912edc4fa404d77eb31e5fb (patch)
treec4fe146d602d6065a31a63ba8b480b6753aa41ed /lib/sqlalchemy/engine/base.py
parent391ca4dc8ee0f78dec86a1ab431d4fcfa7590de3 (diff)
downloadsqlalchemy-c6d4471af3949e339912edc4fa404d77eb31e5fb.tar.gz
- [feature] Added SQLite execution option
"sqlite_raw_colnames=True", will bypass attempts to remove "." from column names returned by SQLite cursor.description. [ticket:2475]
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r--lib/sqlalchemy/engine/base.py2
1 files changed, 1 insertions, 1 deletions
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.