List:Internals« Previous MessageNext Message »
From:ahristov Date:July 13 2005 5:11pm
Subject:bk commit into 5.0 tree (andrey:1.1919)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of andrey. When andrey 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
  1.1919 05/07/13 17:11:06 andrey@lmy004. +1 -0
  fix #11183 - error not reset during mysq_stmt_reset()

  libmysql/libmysql.c
    1.223 05/07/13 17:11:00 andrey@lmy004. +6 -0
    fix #11183

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	andrey
# Host:	lmy004.
# Root:	/home/andrey/mysql-5.0

--- 1.222/libmysql/libmysql.c	2005-07-12 10:58:14 +02:00
+++ 1.223/libmysql/libmysql.c	2005-07-13 17:11:00 +02:00
@@ -4929,6 +4929,12 @@
         param->long_data_used= 0;
     }
     stmt->read_row_func= stmt_read_row_no_data;
+    if (stmt->last_errno)
+    {
+      stmt->last_errno= 0;
+      stmt->last_error[0]= '\0';
+      strmov(stmt->sqlstate, not_error_sqlstate);
+    }
     if (mysql)
     {
       if ((int) stmt->state > (int) MYSQL_STMT_PREPARE_DONE)
Thread
bk commit into 5.0 tree (andrey:1.1919)ahristov13 Jul