From: Date: July 9 2004 5:39pm Subject: bk commit into 4.1 tree (vva:1.2023) List-Archive: http://lists.mysql.com/internals/15186 Message-Id: <200407091539.i69Fdrv15559@eagle.mysql.r18.ru> Below is the list of changes that have just been committed into a local 4.1 repository of vva. When vva 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://www.mysql.com/doc/I/n/Installing_source_tree.html ChangeSet 1.2023 04/07/09 20:39:50 vva@stripped +1 -0 added an optimization in mysql_create_db (sql_db.cc) as after effect of fix for Bug #4378 '"create database IF NOT EXISTS thing" returns an error' (avoided an unpack_dirname and changed strcat into strmake) sql/sql_db.cc 1.113 04/07/09 20:39:48 vva@stripped +2 -2 added an optimization in mysql_create_db (avoided an unpack_dirname and changed strcat into strmake) # 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: vva # Host: eagle.mysql.r18.ru # Root: /home/vva/work/BUG_4378/mysql-4.1 --- 1.112/sql/sql_db.cc Thu Jul 8 21:25:14 2004 +++ 1.113/sql/sql_db.cc Fri Jul 9 20:39:48 2004 @@ -213,8 +213,8 @@ } } - unpack_dirname(path, path); - strcat(path,MY_DB_OPT_FILE); + path[path_len-1]= FN_LIBCHAR; + strmake(path+path_len, MY_DB_OPT_FILE, sizeof(path)-path_len-1); if (write_db_opt(thd, path, create_info)) { /*