blob: fe72118ba2fb969b0dd6702b9619a6c72709bccd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$FreeBSD$
--- _mysql.c 2002/01/09 13:02:08 1.1
+++ _mysql.c 2002/01/09 13:06:07
@@ -781,7 +781,11 @@
goto error;
}
if (!row) {
+#if PY_VERSION_HEX < 0x02020000
if (_PyTuple_Resize(r, i, 0) == -1) goto error;
+#else
+ if (_PyTuple_Resize(r, i) == -1) goto error;
+#endif
break;
}
v = convert_row(self, row);
|