8000 gh-79579: Improve DML query detection in sqlite3 by erlend-aasland · Pull Request #93623 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-79579: Improve DML query detection in sqlite3 #93623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Inline it
  • Loading branch information
erlend-aasland committed Jun 9, 2022
commit e3fea31348d2cdab28710a0ebbb7e246d7b1212f
2 changes: 1 addition & 1 deletion Modules/_sqlite/statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ stmt_traverse(pysqlite_Statement *self, visitproc visit, void *arg)
*
* It is also used to harden DML query detection.
*/
static const char *
static inline const char *
lstrip_sql(const char *sql)
{
const char *pos = sql;
Expand Down
0