There're a little compilation problem with Python 2.2a2 and MySQL-python-0.9.0. This is the patch to fix this problem:
--- _mysql.c Wed Sep 5 13:51:07 2001 +++ ._mysql_bad.c Mon Jun 4 18:46:36 2001 @@ -781,7 +781,7 @@ goto error; } if (!row) { - if (_PyTuple_Resize(r, i) == -1) goto error; + if (_PyTuple_Resize(r, i, 0) == -1) goto error; break; } v = convert_row(self, row);
Log in to post a comment.
There're a little compilation problem with Python 2.2a2 and MySQL-python-0.9.0.
This is the patch to fix this problem:
--- _mysql.c Wed Sep 5 13:51:07 2001
+++ ._mysql_bad.c Mon Jun 4 18:46:36 2001
@@ -781,7 +781,7 @@
goto error;
}
if (!row) {
- if (_PyTuple_Resize(r, i) == -1) goto error;
+ if (_PyTuple_Resize(r, i, 0) == -1) goto error;
break;
}
v = convert_row(self, row);