Skip to content
Tcl Source Code Artifact [db256c77f4]
Login

Artifact [db256c77f4]

Artifact db256c77f47038fe17038dfda4032f677d39a68a:

Ticket change [db256c77f4] - New ticket [1959637fffffffff|1959637fff] <i>Problems with caching of resolution of [my init]</i>. by kennykb on 2008-05-07 16:32:22.
D 2008-05-07T16:32:22
J assignee dkf
J cmimetype text/plain
J comment This\sproblem\shas\sproven\sdifficult\sto\sreduce\sto\sa\ssmall\stest\scase;\sthere\sis\sa\scertain\sHeisenbug\saspect\sto\sit.\n\nI\sdo\shave\sa\slarge\scase\sthat\sis\sconsistently\sfailing,\sthough,\sso\sthat's\spart\sof\sthe\sbattle.\s(And\sin\sany\scase,\sI'd\slike\sto\shave\ssome\sof\swhat\sI've\sdone\sfor\sTDBC\sto\sbe\stested\sby\ssomeone\sother\sthan\sme.)\n\nI\shave\sa\sdevelopment\ssnapshot\sof\sTDBC\slocated\sat\n\nhttp://kbk.is-a-geek.net:2301/zip/6647a04e19.zip\n\nTo\sreproduce\sthe\sproblem:\n\n(1)\sBuild\sand\sinstall\sthe\sTcl\sHEAD,\sthe\sTk\sHEAD,\s\n\s\s\s\sand\sthe\sTclOO\sHEAD.\s(Win32\sMinGW+msys\sbuild\n\s\s\s\spreferred;\sI've\snot\stested\sany\sother\stoolchain.)\n\n(2)\sConfigure\sand\smake\sthe\s'tdbc'\sproject\sin\sthe\n\s\s\s\ssupplied\sarchive.\n\n(3)\sConfigure,\smake,\sand\stest\sthe\s'tdbcodbc'\sproject.\n\s\s\s\sAll\stests\sare\sexpected\sto\spass.\n\n(4)\sChange\sthe\sstring\s'init2'\sat\sline\s460\sof\n\s\s\s\stdbcodbc/generic/tdbcodbc.c\sand\sat\sline\n\s\s\s\s195\sof\stdbcodbc/library/tdbcodbc.tcl\sto\n\s\s\s\sread\ssimply\s'init'.\n\n(5)\sMake\sand\stest\sagain.\s\sNow\sseveral\stests\sfail.\n\s\s\s\sThe\sproblem\sappears\sto\sbe\sthat\sthe\scall\sto\n\s\s\s\s[my\sinit]\sin\sthe\sconstructor\sof\n\s\s\s\stdbc::odbc::statement\sactually\sarrives\sinto\n\s\s\s\sthe\s[init]\smethod\sof\stdbc::odbc::typesStatement.\n\s\s\s\sThe\sbehaviour\sis\sstrongly\sdependent\son\n\s\s\s\scontext;\sthe\stest\scases\sin\squestion\scontinue\n\s\s\s\sto\spass\swhen\srun\sin\sisolation.\n\ndkf\sinforms\sme\sthat\she\ssuspects\sthat\soveraggressive\ncaching\s(or\sindolent\sclearing\sof\sthe\scache)\srelating\nto\s[my]\sis\sthe\sculprit,\sbut\sasked\sfor\sa\stest\scase.\nAlas,\sI've\sbeen\sat\sa\sloss\sto\sreduce\sthis\sto\sa\ssmall\none.
J foundin obsolete:\s8.6a0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter kennykb
J subsystem 35.\sTclOO\sPackage
J title Problems\swith\scaching\sof\sresolution\sof\s[my\sinit]
J type Bug
K 1959637fffffffffffffffffffffffffffffffff
U kennykb
Z bcfe431b8d531d5e599d51abce248da0