Commit a701a849 authored by unknown's avatar unknown

Use ulonglong to store row count in libmysld Protocol_text::remove_last_row()

(fix warnings).


libmysqld/lib_sql.cc:
  Use ulonglong to store row count in Protocol_text::remove_last_row()
  (fix warnings).
parent 87298f01
...@@ -848,7 +848,7 @@ void Protocol_text::remove_last_row() ...@@ -848,7 +848,7 @@ void Protocol_text::remove_last_row()
{ {
MYSQL_DATA *data= thd->cur_data; MYSQL_DATA *data= thd->cur_data;
MYSQL_ROWS **last_row_hook= &data->data; MYSQL_ROWS **last_row_hook= &data->data;
uint count= data->rows; my_ulonglong count= data->rows;
DBUG_ENTER("Protocol_text::remove_last_row"); DBUG_ENTER("Protocol_text::remove_last_row");
while (--count) while (--count)
last_row_hook= &(*last_row_hook)->next; last_row_hook= &(*last_row_hook)->next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment