summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/cursor.h
diff options
context:
space:
mode:
authorGerhard Häring <gh@ghaering.de>2008-05-31 21:33:27 (GMT)
committerGerhard Häring <gh@ghaering.de>2008-05-31 21:33:27 (GMT)
commit7f7ca35f5bf22b698135de62d2179a13f5c94c7f (patch)
treef419d9c97a27863a06021efc2fd8fb55cc51a09d /Modules/_sqlite/cursor.h
parent8bfba671019c6007e9551e27bcc5e0793ae7515f (diff)
downloadcpython-7f7ca35f5bf22b698135de62d2179a13f5c94c7f.zip
cpython-7f7ca35f5bf22b698135de62d2179a13f5c94c7f.tar.gz
cpython-7f7ca35f5bf22b698135de62d2179a13f5c94c7f.tar.bz2
Fixed rowcount for SELECT statements. They're -1 now (again), for better DB-API 2.0 compliance.
Diffstat (limited to 'Modules/_sqlite/cursor.h')
-rw-r--r--Modules/_sqlite/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/cursor.h b/Modules/_sqlite/cursor.h
index d916ca5..54d816d 100644
--- a/Modules/_sqlite/cursor.h
+++ b/Modules/_sqlite/cursor.h
@@ -37,7 +37,7 @@ typedef struct
PyObject* row_cast_map;
int arraysize;
PyObject* lastrowid;
- PyObject* rowcount;
+ long rowcount;
PyObject* row_factory;
pysqlite_Statement* statement;