List:Internals« Previous MessageNext Message »
From:monty Date:September 13 2005 9:52am
Subject:bk commit into 5.0 tree (monty:1.1946)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of monty. When monty 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.1946 05/09/13 12:52:48 monty@stripped +1 -0
  Merge bk-internal.mysql.com:/home/bk/mysql-5.0
  into  mysql.com:/my/mysql-5.0

  sql/sql_parse.cc
    1.475 05/09/13 12:52:42 monty@stripped +0 -0
    Auto merged

# 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:	monty
# Host:	hasky.mysql.fi
# Root:	/my/mysql-5.0/RESYNC

--- 1.474/sql/sql_parse.cc	2005-09-13 12:39:52 +03:00
+++ 1.475/sql/sql_parse.cc	2005-09-13 12:52:42 +03:00
@@ -6056,7 +6056,10 @@
   /* check that used name is unique */
   if (lock_type != TL_IGNORE)
   {
-    for (TABLE_LIST *tables=(TABLE_LIST*) table_list.first ;
+    TABLE_LIST *first_table= (TABLE_LIST*) table_list.first;
+    if (lex->sql_command == SQLCOM_CREATE_VIEW)
+      first_table= first_table ? first_table->next_local : NULL;
+    for (TABLE_LIST *tables= first_table ;
 	 tables ;
 	 tables=tables->next_local)
     {
Thread
bk commit into 5.0 tree (monty:1.1946)monty13 Sep