[Informixdb-cvs] informixdb/ext _informixdb.ec,1.91,1.92
Brought to you by:
chaese,
f-apolloner
From: Carsten H. <ch...@us...> - 2007-06-17 03:06:21
|
Update of /cvsroot/informixdb/informixdb/ext In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv9732/ext Modified Files: _informixdb.ec Log Message: correct input binding of timestamps with nonzero usec part less than .1 Index: _informixdb.ec =================================================================== RCS file: /cvsroot/informixdb/informixdb/ext/_informixdb.ec,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** _informixdb.ec 17 Jun 2007 02:57:12 -0000 1.91 --- _informixdb.ec 17 Jun 2007 03:06:18 -0000 1.92 *************** *** 1312,1316 **** dt = (dtime_t*)malloc(sizeof(dtime_t)); dt->dt_qual = TU_DTENCODE(TU_YEAR, TU_F5); ! snprintf(buf, sizeof(buf), "%d-%d-%d %d:%d:%d.%d", year, month, day, hour, minute, second, usec/10); if ((ret = dtcvasc(buf, dt)) != 0) { --- 1312,1316 ---- dt = (dtime_t*)malloc(sizeof(dtime_t)); dt->dt_qual = TU_DTENCODE(TU_YEAR, TU_F5); ! snprintf(buf, sizeof(buf), "%d-%d-%d %d:%d:%d.%05d", year, month, day, hour, minute, second, usec/10); if ((ret = dtcvasc(buf, dt)) != 0) { |