D 2019-12-04T18:52:26.851 J foundin 1.1.1 J icomment Executing\s"tdbc::mysql::connection\screate"\swill\seventually\sthrow\s"Too\smany\sconnections",\sif\sI\sexecuted\sit\stoo\soften\sbefore.\r\nThe\sgeneral\sworkflow\sis:\r\n-----------------\r\ntdbc::mysql::connection\screate\r\n#\sA\ssingle\sSELECT-statement\r\n$db_handle\sclose\r\n-----------------\r\nThis\sworkflow\sis\srun\svery\soften\sand\saround\srun\s157\sthe\smentioned\serro\sis\sthrown.\r\n\r\nA\scomparison\sof\sthe\sfile\s"tdbcmysql.c"\swith\sversion\s1.1.0\sshows\sthat\sthe\sDEFINES\sto\sdecrement\sthe\sref-counters\swere\schanged\sfrom\ssomething\slike\s"if\s(--bla->refCount\s<=\s0)"\sto\s"if\s(bla->refCount--\s<=\s1)".\sI\sguess\sit\smeans\sthe\ssame\sthing\sbut\sis\sjust\swritten\sdifferently.\sNevertheless\sthe\s2\sDEFINES\s"DecrConnectionRefCount"\sand\s"DecrResultSetRefCount"\sseem\sto\sbe\swrong.\sThe\sfirst\shas\sa\s"01"\sinstead\sof\sjust\s"1"\sand\sthe\slatter\sstill\shas\s"0"\sbut\sthe\s"--"\salready\sbehind\sthe\svariable.\sWhen\schanging\sboth\sthese\scases\sto\s"1"\sit\sseems\sto\swork\sagain. J login anonymous J mimetype text/plain J private_contact cae74a404afa0285f9c1d047b630d74528f5a937 J severity Severe J status Open J title open\sconnections\saren't\sclosed\sproperly J type Code_Defect K 38b421299fb6f4d8ce41ff7b128ed4f93ceb7476 U anonymous Z a2376b189e94f8ba951f580fd4c44755