List:Commits« Previous MessageNext Message »
From:Martin Skold Date:September 20 2007 9:29am
Subject:bk commit into 5.1 tree (mskold:1.2638)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of marty. When marty 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-09-20 11:29:38+02:00, mskold@stripped +1 -0
  OFFLINE keyword in CREATE [ONLINE|OFFLINE] was lost (ignored): moved argument reading after reset

  sql/sql_yacc.yy@stripped, 2007-09-20 11:28:51+02:00, mskold@stripped +1 -1
    OFFLINE keyword in CREATE [ONLINE|OFFLINE] was lost (ignored): moved argument reading after reset

diff -Nrup a/sql/sql_yacc.yy b/sql/sql_yacc.yy
--- a/sql/sql_yacc.yy	2007-08-23 15:22:02 +02:00
+++ b/sql/sql_yacc.yy	2007-09-20 11:28:51 +02:00
@@ -1610,13 +1610,13 @@ create:
 	  {
 	    LEX *lex=Lex;
 	    lex->sql_command= SQLCOM_CREATE_INDEX;
-            lex->alter_info.build_method= $2;
 	    if (!lex->current_select->add_table_to_list(lex->thd, $8,
 							NULL,
 							TL_OPTION_UPDATING))
 	      MYSQL_YYABORT;
             lex->alter_info.reset();
             lex->alter_info.flags= ALTER_ADD_INDEX;
+            lex->alter_info.build_method= $2;
 	    lex->col_list.empty();
 	    lex->change=NullS;
 	  }
Thread
bk commit into 5.1 tree (mskold:1.2638)Martin Skold20 Sep