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

pgsql: Use sql_result instead of Result.

parent c2f04922
No related branches found
No related tags found
No related merge requests found
...@@ -501,7 +501,7 @@ protected void destroy() { ...@@ -501,7 +501,7 @@ protected void destroy() {
resync(); resync();
} }
private .pgsql_util.Result textquery(string q) { private .pgsql_util.sql_result textquery(string q) {
return big_query(q, (["_text":1])); return big_query(q, (["_text":1]));
} }
...@@ -514,7 +514,7 @@ private void reset_dbsession() { ...@@ -514,7 +514,7 @@ private void reset_dbsession() {
mixed err = catch { mixed err = catch {
proxy.statementsinflight->wait_till_drained(); proxy.statementsinflight->wait_till_drained();
error(1); error(1);
.pgsql_util.Result res .pgsql_util.sql_result res
= textquery("ROLLBACK;RESET ALL;CLOSE ALL;DISCARD TEMP"); = textquery("ROLLBACK;RESET ALL;CLOSE ALL;DISCARD TEMP");
while (res->fetch_row()); while (res->fetch_row());
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment