From: <ibr...@us...> - 2011-09-09 15:06:56
|
Revision: 4071 http://tora.svn.sourceforge.net/tora/?rev=4071&view=rev Author: ibre5041 Date: 2011-09-09 15:06:49 +0000 (Fri, 09 Sep 2011) Log Message: ----------- segfault fix Modified Paths: -------------- branches/tora-trotl/src/trotl/src/trotl_stat.cpp Modified: branches/tora-trotl/src/trotl/src/trotl_stat.cpp =================================================================== --- branches/tora-trotl/src/trotl/src/trotl_stat.cpp 2011-09-09 14:57:23 UTC (rev 4070) +++ branches/tora-trotl/src/trotl/src/trotl_stat.cpp 2011-09-09 15:06:49 UTC (rev 4071) @@ -269,8 +269,14 @@ ); define(*_all_defines[dpos]); + // When using piecewise callbacks fetch rows one by one if(_all_defines[dpos]->dty == SQLT_LNG) _fetch_rows = 1; + // Due to some ugly SEGFAULT in OCIRowidToChar I can not fetch more than 2 rows + // when datatype (U)ROWID is explicitly listed in queries column list + // and when ROWID equals to this 'AAADVKAABAAAHypAA3' surprisingly some other ROWIDs are fine + if(_all_defines[dpos]->dty == SQLT_RDD) + _fetch_rows = min(_fetch_rows, 2); } _state |= DEFINED; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |