summaryrefslogtreecommitdiff
path: root/sql/sql_profile.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-05-15 16:11:27 +0300
committerGeorgi Kodinov <joro@sun.com>2009-05-15 16:11:27 +0300
commit793bf595367ce43eef9d054f3107f848326e6e95 (patch)
tree70a0700b7c07b9230e807211223ea9e2e7f71a90 /sql/sql_profile.cc
parent812d2559b5e91201d02d3bb635b340cc2baccadb (diff)
downloadmariadb-git-793bf595367ce43eef9d054f3107f848326e6e95.tar.gz
fixed a win32 compile error
Diffstat (limited to 'sql/sql_profile.cc')
-rw-r--r--sql/sql_profile.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc
index 551a103da10..8dde9fbf871 100644
--- a/sql/sql_profile.cc
+++ b/sql/sql_profile.cc
@@ -552,8 +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((ulonglong) query->profiling_query_id);
- table->field[1]->store((ulonglong) seq); /* the step in the sequence */
+ table->field[0]->store((longlong) query->profiling_query_id, TRUE);
+ /* the step in the sequence */
+ table->field[1]->store((longlong) 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