summaryrefslogtreecommitdiff
path: root/plugin/query_response_time/query_response_time.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/query_response_time/query_response_time.cc')
-rw-r--r--plugin/query_response_time/query_response_time.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/query_response_time/query_response_time.cc b/plugin/query_response_time/query_response_time.cc
index 10b9391d9da..5d6119d20ef 100644
--- a/plugin/query_response_time/query_response_time.cc
+++ b/plugin/query_response_time/query_response_time.cc
@@ -221,7 +221,7 @@ public:
print_time(total, sizeof(total), TOTAL_STRING_FORMAT, this->total(i));
}
fields[0]->store(time,strlen(time),system_charset_info);
- fields[1]->store(this->count(i));
+ fields[1]->store((longlong)this->count(i),true);
fields[2]->store(total,strlen(total),system_charset_info);
if (schema_table_store_record(thd, table))
{