pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql.pike:1680:
{ foreach(prepareds;string ind;tp) { int oldhits=tp->hits; totalhits-=oldhits-(tp->hits=oldhits>>1); if(oldhits<=1) { plugbuf+=closestatement(tp); m_delete(prepareds,ind); } } } if(forcecache!=1 && createprefix->match(q)) // Flush cache on CREATE
-
invalidatecache=1;
+
invalidatecache=1
,tp=UNDEFINED
;
else prepareds[q]=tp=([]); } if(invalidatecache) { invalidatecache=0; foreach(prepareds;;mapping np) { plugbuf+=closestatement(np); m_delete(np,"preparedname"); } }