backported a change from 5.1

This commit is contained in:
Georgi Kodinov 2009-05-15 16:13:54 +03:00
parent ebdb0b91db
commit df41cc207e

View File

@ -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