mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Use ulonglong to store row count in libmysld Protocol_text::remove_last_row()
(fix warnings).
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user