mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fix compilation warnings (embedded library, Windows build)
This commit is contained in:
parent
87ece3533c
commit
4c05e7e347
1 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ static int emb_stmt_execute(MYSQL_STMT *stmt)
|
|||
my_bool res;
|
||||
|
||||
int4store(header, stmt->stmt_id);
|
||||
header[4]= stmt->flags;
|
||||
header[4]= (uchar) stmt->flags;
|
||||
thd= (THD*)stmt->mysql->thd;
|
||||
thd->client_param_count= stmt->param_count;
|
||||
thd->client_params= stmt->params;
|
||||
|
@ -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…
Reference in a new issue