List:Commits« Previous MessageNext Message »
From:konstantin Date:January 17 2007 1:46pm
Subject:bk commit into 4.1 tree (kostja:1.2600) BUG#4968
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of kostja. When kostja 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@stripped, 2007-01-17 15:46:30+03:00, kostja@stripped +1 -0
  Fix a failure of lowercase_tables2 test on powermacg5, introduced
  by the patch for Bug#4968

  sql/sql_parse.cc@stripped, 2007-01-17 15:46:28+03:00, kostja@stripped +1 -1
    Fix lowercase_tables2 test failure on powermacg5: table_case_name()
    function needed create_info.alias if lowercase_table_names=2, which
    was not set for the stack copy of HA_CREATE_INFO. Move the
    update of create_info.alias from create_table_precheck to 
    mysql_execute_command, so that it is done on the right object.

# 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:	kostja
# Host:	bodhi.local
# Root:	/opt/local/work/mysql-4.1-runtime

--- 1.492/sql/sql_parse.cc	2007-01-15 23:25:14 +03:00
+++ 1.493/sql/sql_parse.cc	2007-01-17 15:46:28 +03:00
@@ -2500,6 +2500,7 @@
     if ((res= create_table_precheck(thd, tables, create_table)))
       goto unsent_create_error;
 
+    create_info.alias= create_table->alias;
 #ifndef HAVE_READLINK
     create_info.data_file_name= create_info.index_file_name= NULL;
 #else
@@ -5800,7 +5801,6 @@
 
   want_priv= ((lex->create_info.options & HA_LEX_CREATE_TMP_TABLE) ?
               CREATE_TMP_ACL : CREATE_ACL);
-  lex->create_info.alias= create_table->alias;
   if (check_access(thd, want_priv, create_table->db,
 		   &create_table->grant.privilege, 0, 0) ||
       check_merge_table_access(thd, create_table->db,
Thread
bk commit into 4.1 tree (kostja:1.2600) BUG#4968konstantin17 Jan