List:Commits« Previous MessageNext Message »
From:reggie Date:August 5 2006 9:15pm
Subject:bk commit into 5.0 tree (rburnett:1.2228)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of rburnett. When rburnett 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, 2006-08-05 23:15:23+02:00, rburnett@stripped +1 -0
  mysql_client_test.c:
    Moving call that processes select results out of the assert

  tests/mysql_client_test.c@stripped, 2006-08-05 23:15:07+02:00, rburnett@stripped +3 -1
    Moving call that processes select results out of the assert

# 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:	rburnett
# Host:	production.mysql.com
# Root:	/usersnfs/rburnett/mysql-5.0-kt

--- 1.195/tests/mysql_client_test.c	2006-08-05 23:15:28 +02:00
+++ 1.196/tests/mysql_client_test.c	2006-08-05 23:15:28 +02:00
@@ -11226,6 +11226,7 @@
 
   for (i= 0; i < 3; i++)
   {
+    int rowcount= 0;
     my_val= i;
 
     rc= mysql_stmt_execute(insert_stmt);
@@ -11233,7 +11234,8 @@
 
     rc= mysql_stmt_execute(select_stmt);
     check_execute(select_stmt, rc);
-    assert(i + 1 == (int) my_process_stmt_result(select_stmt));
+    rowcount= (int)my_process_stmt_result(select_stmt);
+    assert((i+1) == rowcount);
   }
   mysql_stmt_close(insert_stmt);
   mysql_stmt_close(select_stmt);
Thread
bk commit into 5.0 tree (rburnett:1.2228)reggie5 Aug