summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_profile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc
index 8dde9fbf871..f87f92471a3 100644
--- a/sql/sql_profile.cc
+++ b/sql/sql_profile.cc
@@ -552,9 +552,9 @@ int PROFILING::fill_statistics_info(THD *thd, TABLE_LIST *tables, Item *cond)
The order of these fields is set by the query_profile_statistics_info
array.
*/
- table->field[0]->store((longlong) query->profiling_query_id, TRUE);
+ table->field[0]->store((ulonglong) query->profiling_query_id, TRUE);
/* the step in the sequence */
- table->field[1]->store((longlong) seq, TRUE);
+ table->field[1]->store((ulonglong) seq, TRUE);
/*
This entry, n, has a point in time, T(n), and a status phrase, S(n).
The status phrase S(n) describes the period of time that begins at