List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:October 23 2006 5:42am
Subject:bk commit into 5.1 tree (aelkin:1.2321)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of elkin. When elkin 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-10-23 08:42:15+03:00, aelkin@stripped +2 -0
  Merge aelkin@stripped:/home/bk/mysql-5.1
  into  dsl-hkigw8-febefb00-148.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/bug22027_create_select_exists
  MERGE: 1.2273.75.7

  mysql-test/r/binlog_row_mix_innodb_myisam.result@stripped, 2006-10-23 08:42:03+03:00, aelkin@stripped +18 -0
    MERGE: 1.12.1.1

  sql/sql_show.cc@stripped, 2006-10-23 08:39:39+03:00, aelkin@stripped +0 -0
    Auto merged
    MERGE: 1.362.1.1

# 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:	aelkin
# Host:	dsl-hkigw8-febefb00-148.dhcp.inet.fi
# Root:	/home/elkin/MySQL/TEAM/FIXES/5.1/bug22027_create_select_exists/RESYNC

--- 1.367/sql/sql_show.cc	2006-10-23 08:42:21 +03:00
+++ 1.368/sql/sql_show.cc	2006-10-23 08:42:21 +03:00
@@ -1058,6 +1058,9 @@ int store_create_info(THD *thd, TABLE_LI
     packet->append(STRING_WITH_LEN("CREATE TEMPORARY TABLE "));
   else
     packet->append(STRING_WITH_LEN("CREATE TABLE "));
+  if (create_info_arg &&
+      (create_info_arg->options & HA_LEX_CREATE_IF_NOT_EXISTS))
+    packet->append(STRING_WITH_LEN("IF NOT EXISTS "));
   if (table_list->schema_table)
     alias= table_list->schema_table->table_name;
   else
Thread
bk commit into 5.1 tree (aelkin:1.2321)Andrei Elkin23 Oct