Update of /cvsroot/informixdb/informixdb/ext
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14989
Modified Files:
_informixdb.ec
Log Message:
This code is unnecessary since we're requiring Python >=2.2 now, and the 'L'
suffix disappeared in Python 1.6
Index: _informixdb.ec
===================================================================
RCS file: /cvsroot/informixdb/informixdb/ext/_informixdb.ec,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** _informixdb.ec 26 Oct 2005 03:02:58 -0000 1.19
--- _informixdb.ec 27 Oct 2005 03:45:06 -0000 1.20
***************
*** 947,954 ****
*var->sqlind = 0;
memcpy(var->sqldata, val, n+1);
- if (PyLong_Check(item)) {
- /* erase 'L' suffix if present */
- if (var->sqldata[n-1]=='L') { var->sqldata[n-1] = 0; }
- }
Py_DECREF(sitem);
return 1;
--- 947,950 ----
|