summaryrefslogtreecommitdiff
path: root/sql/sql_profile.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-05-15 16:13:54 +0300
committerGeorgi Kodinov <joro@sun.com>2009-05-15 16:13:54 +0300
commitdf41cc207e7633d0184d481eeeeba0b52623049c (patch)
treecf98fa82c611b76cad126701a3243b8f1e5584d3 /sql/sql_profile.cc
parentebdb0b91dbcbbc9c313bd0e896403609ec50c54f (diff)
downloadmariadb-git-df41cc207e7633d0184d481eeeeba0b52623049c.tar.gz
backported a change from 5.1
Diffstat (limited to 'sql/sql_profile.cc')
-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