[Sqlrelay-discussion] sqlrelay-0.36.4 and Python cPickle bug fix
Brought to you by:
mused
|
From: Ville S. <vs...@eb...> - 2005-11-17 12:34:13
|
Hi Dave,
sometime ago you fixed a problem in sqlrelay-0.36/src/api/python/CSQLRelay.C
related to BLOBs and Python cPickle module.
It looks like the same problem occurs in sqlrelay-0.36.4. I did a diff
with the CSQLRelay.C fix you sent me and the one in sqlrelay-0.36.4:
788d787
< long *row_lengths;
794d792
< row_lengths=sqlrcur->getRowLengths(row);
811c809
< PyList_SetItem(my_list, counter, Py_BuildValue("s#", row_data[counter], row_lengths[counter]));
---
> PyList_SetItem(my_list, counter, Py_BuildValue("s", row_data[counter]));
I copied the fixed version to sqlrelay-0.36.4 source tree, re-compiled and
it looks like the old fix works. Could you include this fix in the next
version?
Thanks,
Ville
|