Skip to content

Commit

Permalink
Fixed PgSQL commands counter size
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Sep 27, 2024
1 parent 1fde42d commit beaee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PgSQL_Query_Processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ SQLite3_result* PgSQL_Query_Processor::get_stats_commands_counters() {
result->add_column_definition(SQLITE_TEXT, "cnt_5s");
result->add_column_definition(SQLITE_TEXT, "cnt_10s");
result->add_column_definition(SQLITE_TEXT, "cnt_INFs");
for (int i = 0; i < MYSQL_COM_QUERY__UNINITIALIZED; i++) {
for (int i = 0; i < PGSQL_QUERY__UNINITIALIZED; i++) {
char** pta = commands_counters[i]->get_row();
result->add_row(pta);
commands_counters[i]->free_row(pta);
Expand Down

0 comments on commit beaee7f

Please sign in to comment.