From: Date: October 28 2005 1:13am Subject: bk commit into 5.0 tree (tim:1.1947) BUG#14358 List-Archive: http://lists.mysql.com/internals/31588 X-Bug: 14358 Message-Id: <200510272313.j9RNDedb094200@siva.hindu.god> 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"))) {