We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c67f8f commit 4d7bc30Copy full SHA for 4d7bc30
source/query.cpp
@@ -60,8 +60,6 @@ bool bad_result(PGresult* result) {
60
status == PGRES_FATAL_ERROR;
61
}
62
63
-static bool reseted = false;
64
-
65
void async_postgres::process_queries(GLua::ILuaInterface* lua,
66
Connection* state) {
67
if (state->queries.empty()) {
@@ -86,12 +84,6 @@ void async_postgres::process_queries(GLua::ILuaInterface* lua,
86
84
query.flushed = PQflush(state->conn.get()) == 0;
87
85
88
89
- if (query.flushed && !reseted) {
90
- reset(lua, state, {});
91
- reseted = true;
92
- return;
93
- }
94
95
if (!poll_query(state->conn.get(), query)) {
96
query_failed(lua, state->conn.get(), query);
97
state->queries.pop();
0 commit comments