]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
test single and double quote inspection scenarios
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Jul 2020 14:49:57 +0000 (10:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Jul 2020 15:35:05 +0000 (11:35 -0400)
commit9d0fb152069caa8de887aba28cef87f7acb32e37
tree10536df1713f937cf6c649beeda06f8c98049346
parentf9f9f0feb785ad08a3bbf8b24ce879c985d0975b
test single and double quote inspection scenarios

Applied a sweep through all included dialects to ensure names that contain
single or double quotes are properly escaped when querying system tables,
for all :class:`.Inspector` methods that accept object names as an argument
(e.g. table names, view names, etc).   SQLite and MSSQL contained two
quoting issues that were repaired.

Fixes: #5456
Change-Id: I3bc98806f5166f3d82275650079ff561446f2aef
doc/build/changelog/unreleased_13/5456.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/requirements.py