Skip to content

Commit bc6f95a

Browse files
committed
Removed previous_default_client_encoding variable
1 parent 71e4fc6 commit bc6f95a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/Admin_FlushVariables.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -737,9 +737,7 @@ void ProxySQL_Admin::flush_pgsql_variables___database_to_runtime(SQLite3DB* db,
737737
return;
738738
}
739739
else {
740-
GloPTH->wrlock();
741-
const char* previous_default_client_encoding = GloPTH->get_variable_string((char*)"default_client_encoding");
742-
assert(previous_default_client_encoding);
740+
GloPTH->wrlock();
743741
for (std::vector<SQLite3_row*>::iterator it = resultset->rows.begin(); it != resultset->rows.end(); ++it) {
744742
SQLite3_row* r = *it;
745743
const char* value = r->fields[1];

0 commit comments

Comments
 (0)