<i>Problems with caching of resolution of [my init]</i> status still Open with 5 other changes
by
.
D 2008-05-11T09:56:20
J icomment Logged\sIn:\sYES\s\nuser_id=99768\nOriginator:\sYES\n\nI've\sbeen\sable\sto\sreproduce\sthe\sproblem\sin\stdbcsqlite3,\sand\nhence\seliminate\sthe\snasty\sODBC\sdependencies\sthat\sare\sotherwise\nthere.\s(I've\salso\smoved\sforward\sto\sthe\sHEAD\sof\stcloo\sas\sof\n2008-05-10)\n\nIf\syou\sdownload\sthe\sbaseline:\n\nhttp://kbk.is-a-geek.net:2301/zip/e659cb3857.zip\n\nthen\sbuild\sand\sinstall\stdbc\s(note\sthat\sit\sis\schanged\ssince\nthe\slase\sbaseline!),\sand\sfinally\sdo\n\ncd\stdbcsqlite3\ntclsh8.6\stempTest.tcl\s-match\stdbcsqlite3-9.[123]\s-verbose\sbtefp\n\nyou'll\ssee\sthat\stdbcsqlite3-9.3\sfails.\s\sIf\sinstead\syou\sdo\n\ntclsh8.6\stempTest.tcl\s-match\stdbcsqlite3-9.3\s-verbose\sbtefp\n\nyou'll\ssee\sthat\stdbcsqlite3-9.3\ssucceeds\sin\sisolation.\n\nNote\sthat\sthere's\sno\sneed\sto\sedit\scode;\sI\shaven't\syet\nbeen\sable\sto\srewrite\sthe\saffected\smethods\sto\s*not*\strip\nover\sthe\sresolution\sissues.\n\nTo\ssee\swhat's\sbeing\sresolved,\sof\scourse,\syou\s*can*\sedit\ncode.\s\sIn\stdbc/library/tdbc.tcl,\scomment\sout\sthe\sline\nnear\sthe\stop\sof\sthe\sfile\sthat\slooks\slike:\n\nproc\stdbc::puts\sargs\s{}\n\nand\sit\swill\sgive\syou\sa\slittle\sbit\sof\sdribble\stracing\sthe\npath\sthrough\sseveral\sof\sthe\smethods.\s\sWhat\sappears\sto\sbe\nhappening\sis\sthat\stdbc::connection::foreach\sis\sinvoking\n\s\s\s$stmt\sforeach\nwhere\s$stmt\sis\san\sinstance\sof\stdbc::sqlite3::statement\n(which\sinherits\sfrom\stdbc::statement).\n\nBut\sthe\smethod\sthat\swe\sactually\sarrive\sat\sis\ntdbc::resultset::foreach\s-\sas\sdemonstrated\sby\sthe\sprintouts:\n\nEntering\s::tdbc::connection::foreach\nClass\s==\s::tdbc::connection\nInstance\s==\s::db\nCall\s==\sdb\sforeach\srow\s{\n\s\s\s\s\s\s\s\s\s\s\s\sSELECT\sidnum,\sname\sFROM\speople\sWHERE\sname\sLIKE\s'b%'\n\s\s\s\s\s\s\s\s}\s{\n\s\s\s\s\s\s\s\s\s\s\s\slappend\sresult\s$row\n\s\s\s\s\s\s\s\s}\nEntering\s::tdbc::resultset::foreach\nClass\s==\s::tdbc::resultset\nCall\s==\s::oo::Obj9::Stmt::5\sforeach\s-as\sdicts\s--\srow\s{\n\s\s\s\s\s\s\s\s\s\s\s\slappend\sresult\s$row\n\s\s\s\s\s\s\s\s}\n\nand\sfrom\sthence\sit\sjumps\sthe\stracks\scompletely.\n\nThis\sis\sat\sleast\sa\sshorter\ssequence\sto\sgo\son;\ssorry\sthat\nI\sstill\sam\shaving\strouble\sparing\sit\sdown.\n\nI'm\salso\sbumping\sthe\spriority,\ssince\sthis\sbug\sis\sseriously\nhampering\stdbc\sdevelopment.\n\n\n
J login kennykb
J mimetype text/plain
J priority 7\sHigh
J username kennykb
K 1959637fffffffffffffffffffffffffffffffff
U kennykb
Z 09fb8c39ec5a6997d477a17d725be0fb