Browse Source

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).
pull/374/head
unknown 18 years ago
parent
commit
a701a84998
  1. 2
      libmysqld/lib_sql.cc

2
libmysqld/lib_sql.cc

@ -848,7 +848,7 @@ void Protocol_text::remove_last_row()
{
MYSQL_DATA *data= thd->cur_data;
MYSQL_ROWS **last_row_hook= &data->data;
uint count= data->rows;
my_ulonglong count= data->rows;
DBUG_ENTER("Protocol_text::remove_last_row");
while (--count)
last_row_hook= &(*last_row_hook)->next;

Loading…
Cancel
Save