summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2008-04-19 20:51:23 +0400
committerunknown <kostja@bodhi.(none)>2008-04-19 20:51:23 +0400
commit4c05e7e347c2eba2837aba867806ff2147818aa9 (patch)
tree49b893dd77b6cbca00203e3896c942c64336f6a6 /libmysqld
parent87ece3533c2819bb0fbce56b8ad0982124f1a68e (diff)
downloadmariadb-git-4c05e7e347c2eba2837aba867806ff2147818aa9.tar.gz
Fix compilation warnings (embedded library, Windows build)
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index ec9356ce98d..fde52c8c27e 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -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;