List:Commits« Previous MessageNext Message »
From:antony Date:May 31 2006 8:27am
Subject:bk commit into 5.1 tree (acurtis:1.2177) BUG#19939
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of antony. When antony 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.2177 06/05/31 01:26:46 acurtis@stripped +1 -0
  Bug#19939
    Fix "AUTHORS" and "CONTRIBUTERS" as non-reserved keywords

  sql/sql_yacc.yy
    1.480 06/05/31 01:26:39 acurtis@stripped +4 -3
    Bug#19939
      fixup parser

# 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:	acurtis
# Host:	localhost.(none)
# Root:	/home/antony/work2/p3-bug19939.1

--- 1.479/sql/sql_yacc.yy	2006-05-23 11:25:03 -07:00
+++ 1.480/sql/sql_yacc.yy	2006-05-31 01:26:39 -07:00
@@ -8185,8 +8185,8 @@ show_param:
 	| opt_storage ENGINES_SYM
 	  {
 	    LEX *lex=Lex;
-	    lex->sql_command= SQLCOM_SHOW_STORAGE_ENGINES;
-            lex->orig_sql_command= SQLCOM_SHOW_AUTHORS;
+	    lex->sql_command= SQLCOM_SELECT;
+            lex->orig_sql_command= SQLCOM_SHOW_STORAGE_ENGINES;
             if (prepare_schema_table(YYTHD, lex, 0, SCH_ENGINES))
               YYABORT;
 	  }
@@ -9290,7 +9290,6 @@ user:
 keyword:
 	keyword_sp		{}
 	| ASCII_SYM		{}
-	| AUTHORS_SYM		{}
 	| BACKUP_SYM		{}
 	| BEGIN_SYM		{}
 	| BYTE_SYM		{}
@@ -9348,6 +9347,7 @@ keyword_sp:
 	| ALGORITHM_SYM		{}
 	| ANY_SYM		{}
 	| AT_SYM                {}
+	| AUTHORS_SYM		{}
 	| AUTO_INC		{}
 	| AUTOEXTEND_SIZE_SYM   {}
 	| AVG_ROW_LENGTH	{}
@@ -9373,6 +9373,7 @@ keyword_sp:
 	| COMPRESSED_SYM	{}
 	| CONCURRENT		{}
 	| CONSISTENT_SYM	{}
+	| CONTRIBUTORS_SYM	{}
 	| CUBE_SYM		{}
 	| DATA_SYM		{}
 	| DATAFILE_SYM          {}
Thread
bk commit into 5.1 tree (acurtis:1.2177) BUG#19939antony31 May