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:1901:
foreach(_prepareds;string ind;tp) { int oldhits=tp.hits; totalhits-=oldhits-(tp.hits=oldhits>>1); if(oldhits<=1) { closestatement(plugbuffer,tp.preparedname); m_delete(_prepareds,ind); } } if(forcecache!=1 && .pgsql_util.createprefix->match(q)) { invalidatecache=1; // Flush cache on CREATE
+
pstmtcount=0; // Reset prepared statementnos
tp=UNDEFINED; } else _prepareds[q]=tp=([]); } if(invalidatecache) { invalidatecache=0; foreach(_prepareds;;mapping np) { closestatement(plugbuffer,np.preparedname); m_delete(np,"preparedname"); }