mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
The fix involves using pysqlite_check_remaining_sql(), not only to check
for multiple statements, but now also to strip leading comments and
whitespace from SQL statements, so we can improve DML query detection.
pysqlite_check_remaining_sql() is renamed lstrip_sql(), to more
accurately reflect its function, and hardened to handle more SQL comment
corner cases.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| test_backup.py | ||
| test_dbapi.py | ||
| test_dump.py | ||
| test_factory.py | ||
| test_hooks.py | ||
| test_regression.py | ||
| test_transactions.py | ||
| test_types.py | ||
| test_userfunctions.py | ||