mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-11 11:22:15 -04:00
- [feature] The behavior of column targeting
in result sets is now case sensitive by default. SQLAlchemy for many years would run a case-insensitive conversion on these values, probably to alleviate early case sensitivity issues with dialects like Oracle and Firebird. These issues have been more cleanly solved in more modern versions so the performance hit of calling lower() on identifiers is removed. The case insensitive comparisons can be re-enabled by setting "case_insensitive=False" on create_engine(). [ticket:2423]
This commit is contained in:
@@ -37,8 +37,8 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults):
|
||||
'2.4': 13214,
|
||||
'2.6':14416,
|
||||
'2.7':14416,
|
||||
'2.6+cextension': 365,
|
||||
'2.7+cextension':365})
|
||||
'2.6+cextension': 336,
|
||||
'2.7+cextension':336})
|
||||
def test_string(self):
|
||||
[tuple(row) for row in t.select().execute().fetchall()]
|
||||
|
||||
@@ -47,8 +47,8 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults):
|
||||
@profiling.function_call_count(versions={
|
||||
'2.7':14396,
|
||||
'2.6':14396,
|
||||
'2.6+cextension': 365,
|
||||
'2.7+cextension':365})
|
||||
'2.6+cextension': 336,
|
||||
'2.7+cextension':336})
|
||||
def test_unicode(self):
|
||||
[tuple(row) for row in t2.select().execute().fetchall()]
|
||||
|
||||
|
||||
@@ -377,8 +377,8 @@ class ZooMarkTest(fixtures.TestBase):
|
||||
def test_profile_2_insert(self):
|
||||
self.test_baseline_2_insert()
|
||||
|
||||
@profiling.function_call_count(3340, {'2.4': 2158, '2.7':3541,
|
||||
'2.7+cextension':3317, '2.6':3564})
|
||||
@profiling.function_call_count(3340, {'2.7':3333,
|
||||
'2.7+cextension':3317, '2.6':3333})
|
||||
def test_profile_3_properties(self):
|
||||
self.test_baseline_3_properties()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user