projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3227af4
)
Straggler (forgot to save this earlier).
author
Guido van Rossum
<guido@python.org>
Wed, 29 Aug 2007 14:26:02 +0000
(14:26 +0000)
committer
Guido van Rossum
<guido@python.org>
Wed, 29 Aug 2007 14:26:02 +0000
(14:26 +0000)
Modules/_sqlite/cursor.c
patch
|
blob
|
history
diff --git
a/Modules/_sqlite/cursor.c
b/Modules/_sqlite/cursor.c
index 55a1ffc834a08b13da2a404cedc78dfca8837d4b..c468754e75fe2945c2a166d706f3a57ebea6b4ef 100644
(file)
--- a/
Modules/_sqlite/cursor.c
+++ b/
Modules/_sqlite/cursor.c
@@
-497,10
+497,9
@@
PyObject* _pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject*
rc = pysqlite_statement_reset(self->statement);
}
- operation_cstr = PyUnicode_AsString
(operatio
n);
+ operation_cstr = PyUnicode_AsString
AndSize(operation, &operation_le
n);
if (operation == NULL)
goto error;
- operation_len = strlen(operation_cstr); /* XXX */
/* reset description and rowcount */
Py_DECREF(self->description);