Exclude pragma from is_dml logic and implicit transaction.
This commit is contained in:
parent
63c0189248
commit
5a97877e14
2 changed files with 18 additions and 2 deletions
|
|
@ -104,7 +104,8 @@ int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* con
|
|||
PyOS_strnicmp(p, "alter", 5) &&
|
||||
PyOS_strnicmp(p, "analyze", 7) &&
|
||||
PyOS_strnicmp(p, "reindex", 7) &&
|
||||
PyOS_strnicmp(p, "vacuum", 6));
|
||||
PyOS_strnicmp(p, "vacuum", 6) &&
|
||||
PyOS_strnicmp(p, "pragma", 6));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue