List:Commits« Previous MessageNext Message »
From:monty Date:December 25 2005 2:35pm
Subject:bk commit into 5.1 tree (monty:1.1991)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of monty. When monty 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.1991 05/12/25 16:35:15 monty@stripped +1 -0
  Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
  into  mysql.com:/home/my/mysql-5.1

  client/mysqlslap.c
    1.6 05/12/25 16:35:09 monty@stripped +0 -0
    Auto merged

# 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:	monty
# Host:	mishka.mysql.com
# Root:	/home/my/mysql-5.1/RESYNC

--- 1.5/client/mysqlslap.c	2005-12-25 12:03:44 +02:00
+++ 1.6/client/mysqlslap.c	2005-12-25 16:35:09 +02:00
@@ -1023,7 +1023,7 @@
     case 0:
       /* child */
       DBUG_PRINT("info", ("fork returned 0, calling task(\"%s\"), pid %d gid %d",
-                          script, pid, getgid()));
+                          stmts->string, pid, getgid()));
       if (verbose >= 2)
         fprintf(stderr,
                 "%s: fork returned 0, calling task pid %d gid %d\n",
@@ -1071,7 +1071,7 @@
   MYSQL_ROW row;
 
   DBUG_ENTER("run_task");
-  DBUG_PRINT("info", ("task script \"%s\"", script));
+  DBUG_PRINT("info", ("task script \"%s\"", qstmt->string));
 
   mysql_init(&mysql);
 
@@ -1156,9 +1156,10 @@
       {
         if (mysql_real_query(&mysql, ptr->string, ptr->length))
         {
-          DBUG_PRINT("info", ("iteration %d with INSERT statement %s", script));
+          DBUG_PRINT("info", ("iteration %d with INSERT statement %s", ptr->string));
           fprintf(stderr,"%s: Cannot insert into table using sql:%.*s: ERROR: %s\n",
-                  my_progname, (uint)ptr->length, ptr->string, mysql_error(&mysql));
+                  my_progname, (uint)ptr->length, ptr->string,
+                  mysql_error(&mysql));
           exit(1);
         }
       }
Thread
bk commit into 5.1 tree (monty:1.1991)monty25 Dec