]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix unique constraints reflection in SQLite
authorRoman Podoliaka <rpodolyaka@mirantis.com>
Fri, 14 Feb 2014 11:04:57 +0000 (13:04 +0200)
committerRoman Podoliaka <rpodolyaka@mirantis.com>
Fri, 14 Feb 2014 12:09:21 +0000 (14:09 +0200)
commita7e0d3e1e36076e20ead9447508d99b2e477ba46
tree2dfecc81a90ac63764eeca3a56c332f0f44277c0
parentb87935ed4409cb57a88d5e84d4280d8f97be13ee
Fix unique constraints reflection in SQLite

Reflection of unique constraints didn't work properly, if reserved
identifiers had been used as column names. In this case column names
would be put in double quotes (e.g. the name of column asc would be
returned as "asc").

This issue is only present in 0.8.4 and not in 0.9.x.
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/suite/test_reflection.py