List:Internals« Previous MessageNext Message »
From:tim Date:October 27 2005 11:13pm
Subject:bk commit into 5.0 tree (tim:1.1947) BUG#14358
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tim. When tim 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.1947 05/10/28 12:13:34 tim@stripped +1 -0
  BUG#14358: in mysql.cc, don't neglect to strip delimiter off lines < 9 characters long.

  client/mysql.cc
    1.188 05/10/28 12:13:11 tim@stripped +5 -4
    BUG#14358: don't neglect to strip delimiter off lines < 9 characters long.

# 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:	tim
# Host:	siva.hindu.god
# Root:	/usr/home/tim/m/50/a

--- 1.187/client/mysql.cc	2005-10-21 10:23:29 +13:00
+++ 1.188/client/mysql.cc	2005-10-28 12:13:11 +13:00
@@ -1133,10 +1133,11 @@
       parsing the row and calling find_command()
     */
     if (strstr(name, "\\g") || (strstr(name, delimiter) &&
-                                strlen(name) >= 9 &&
-                                my_strnncoll(charset_info,(uchar*) name,
-                                             9,
-                                             (const uchar*) "delimiter", 9)))
+                                !(strlen(name) >= 9 &&
+                                  !my_strnncoll(charset_info,
+                                                (uchar*) name, 9,
+                                                (const uchar*) "delimiter",
+                                                9))))
       DBUG_RETURN((COMMANDS *) 0);
     if ((end=strcont(name," \t")))
     {
Thread
bk commit into 5.0 tree (tim:1.1947) BUG#14358tim28 Oct