diff --git a/src/pika_server.cc b/src/pika_server.cc index 7614e9924f..fb82849854 100644 --- a/src/pika_server.cc +++ b/src/pika_server.cc @@ -1688,9 +1688,10 @@ void PikaServer::RWUnlock() { } void PikaServer::UpdateQueryNumAndExecCountTable(const std::string& command) { + std::string cmd(command); statistic_data_.statistic_lock.WriteLock(); statistic_data_.thread_querynum++; - statistic_data_.exec_count_table[command]++; + statistic_data_.exec_count_table[slash::StringToUpper(cmd)]++; statistic_data_.statistic_lock.WriteUnlock(); } diff --git a/third/slash b/third/slash index 915ef5de35..57823f23d5 160000 --- a/third/slash +++ b/third/slash @@ -1 +1 @@ -Subproject commit 915ef5de3543596cfaef4966559e555081137cf4 +Subproject commit 57823f23d5adfe2de469329d9b7df14851988f3d