]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle sqlite get_unique_constraints() call for temporary tables
authorJohannes Erdfelt <johannes@erdfelt.com>
Wed, 17 Sep 2014 14:52:34 +0000 (07:52 -0700)
committerJohannes Erdfelt <johannes@erdfelt.com>
Wed, 17 Sep 2014 15:01:01 +0000 (08:01 -0700)
commit9d402e204d77da680472cbfb9813e437eb187944
tree7be9fc6007ac44758ccfad05a1e64c046bb74a0f
parenta985f84ed6223e7a7348dd6126f8de92012b635f
Handle sqlite get_unique_constraints() call for temporary tables

The sqlite get_unique_constraints() implementation did not do a union
against the sqlite_temp_master table like other code does. This could
result in an exception being raised if get_unique_constraints() was
called against a temporary table.
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py