From: jonas Date: January 23 2006 8:31am Subject: bk commit into 5.1 tree (jonas:1.2075) BUG#13556 List-Archive: http://lists.mysql.com/commits/1483 X-Bug: 13556 Message-Id: <20060123083108.390A72A6F26@perch.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.1 repository of jonas. When jonas 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.2075 06/01/23 09:31:03 jonas@stripped +1 -0 bug#13556 - (ndb) - incorrect parsing in tablespace code end_ptr to my_strtoll10 is in/out parameter sql/sql_yacc.yy 1.441 06/01/23 09:31:00 jonas@stripped +1 -1 init end_ptr as it's an in/out parameter, not only out # 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: jonas # Host: perch.ndb.mysql.com # Root: /home/jonas/src/mysql-5.1-new --- 1.440/sql/sql_yacc.yy 2006-01-19 10:20:27 +01:00 +++ 1.441/sql/sql_yacc.yy 2006-01-23 09:31:00 +01:00 @@ -3215,9 +3215,9 @@ ulonglong number, test_number; uint text_shift_number= 0; longlong prefix_number; - char *end_ptr; char *start_ptr= $1.str; uint str_len= strlen(start_ptr); + char *end_ptr= start_ptr + str_len; int error; prefix_number= my_strtoll10(start_ptr, &end_ptr, &error); if ((start_ptr + str_len - 1) == end_ptr)