List:Commits« Previous MessageNext Message »
From:ingo Date:August 2 2006 4:39pm
Subject:bk commit into 5.1 tree (ingo:1.2277) BUG#18775
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of istruewing. When istruewing 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, 2006-08-02 18:39:21+02:00, ingo@stripped +1 -0
  Bug#18775 - Temporary table from alter table visible to other threads
  Reverting part of the patch. NDB has unencoded names in their
  data dictionary.

  sql/sql_table.cc@stripped, 2006-08-02 18:39:18+02:00, ingo@stripped +1 -5
    Bug#18775 - Temporary table from alter table visible to other threads
    Reverting part of the patch. NDB has unencoded names in their
    data dictionary.

# 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:	ingo
# Host:	chilla.local
# Root:	/home/mydev/mysql-5.1-bug18775

--- 1.361/sql/sql_table.cc	2006-08-02 18:39:28 +02:00
+++ 1.362/sql/sql_table.cc	2006-08-02 18:39:28 +02:00
@@ -3435,13 +3435,9 @@ bool mysql_create_table_internal(THD *th
   */
   if (!(create_info->options & HA_LEX_CREATE_TMP_TABLE))
   {
-    char dbbuff[FN_REFLEN];
-    char tbbuff[FN_REFLEN];
     bool create_if_not_exists =
       create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS;
-    VOID(tablename_to_filename(db, dbbuff, sizeof(dbbuff)));
-    VOID(tablename_to_filename(table_name, tbbuff, sizeof(tbbuff)));
-    if (ha_table_exists_in_engine(thd, dbbuff, tbbuff))
+    if (ha_table_exists_in_engine(thd, db, table_name))
     {
       DBUG_PRINT("info", ("Table with same name already existed in handler"));
 
Thread
bk commit into 5.1 tree (ingo:1.2277) BUG#18775ingo2 Aug