Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b1f527 commit fbf25b8Copy full SHA for fbf25b8
1 file changed
Modules/_sqlite/statement.c
@@ -70,7 +70,7 @@ pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql)
70
int max_length = sqlite3_limit(connection->db, SQLITE_LIMIT_LENGTH, -1);
71
if (sql_cstr_len >= max_length) {
72
PyErr_SetString(pysqlite_DataError, "query string is too large");
73
- return PYSQLITE_TOO_MUCH_SQL;
+ return NULL;
74
}
75
if (strlen(sql_cstr) != (size_t)sql_cstr_len) {
76
PyErr_SetString(PyExc_ValueError,
0 commit comments