List:Commits« Previous MessageNext Message »
From:konstantin Date:April 19 2008 4:51pm
Subject:bk commit into 5.1 tree (kostja:1.2566)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of kostja.  When kostja does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-19 20:51:23+04:00, kostja@bodhi.(none) +1 -0
  Fix compilation warnings (embedded library, Windows build)

  libmysqld/lib_sql.cc@stripped, 2008-04-19 20:51:21+04:00, kostja@bodhi.(none) +2 -2
    Fix compilation warnings (embedded library, Windows build)

diff -Nrup a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
--- a/libmysqld/lib_sql.cc	2008-03-12 11:13:18 +03:00
+++ b/libmysqld/lib_sql.cc	2008-04-19 20:51:21 +04:00
@@ -285,7 +285,7 @@ static int emb_stmt_execute(MYSQL_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;
Thread
bk commit into 5.1 tree (kostja:1.2566)konstantin19 Apr