Fix for Python 2.5.

Added a unit test for single character columns.

Updated download URL.
This commit is contained in:
adustman
2006-10-27 23:33:35 +00:00
parent 1699cc8eb1
commit cfd4a94682
3 changed files with 12 additions and 2 deletions

View File

@ -1132,7 +1132,7 @@ _mysql_escape_dict(
PyObject *args)
{
PyObject *o=NULL, *d=NULL, *r=NULL, *item, *quoted, *pkey;
int ppos = 0;
Py_ssize_t ppos = 0;
if (!PyArg_ParseTuple(args, "O!O:escape_dict", &PyDict_Type, &o, &d))
goto error;
if (!PyMapping_Check(d)) {