Skip to content
Snippets Groups Projects
Commit 36b57377 authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

pgsql: Reset prepared statement numbering upon cache invalidation.

parent f156a682
No related branches found
No related tags found
No related merge requests found
...@@ -1908,6 +1908,7 @@ private inline void throwdelayederror(object parent) { ...@@ -1908,6 +1908,7 @@ private inline void throwdelayederror(object parent) {
} }
if(forcecache!=1 && .pgsql_util.createprefix->match(q)) { if(forcecache!=1 && .pgsql_util.createprefix->match(q)) {
invalidatecache=1; // Flush cache on CREATE invalidatecache=1; // Flush cache on CREATE
pstmtcount=0; // Reset prepared statementnos
tp=UNDEFINED; tp=UNDEFINED;
} else } else
_prepareds[q]=tp=([]); _prepareds[q]=tp=([]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment