diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-09-15 11:00:35 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-09-15 11:00:35 -0600 |
commit | ff1216a5a9c453b5c131f08687a99105dc1a391a (patch) | |
tree | 993dd4ef4b73bf6fb7507f208aa766bc528400e9 /sql/sql_yacc.yy | |
parent | 965a0b81783877e961c56263ef1481789d61c883 (diff) | |
parent | e0c72def5308aaa8138b3b12de82cc48147f9adb (diff) | |
download | mariadb-git-ff1216a5a9c453b5c131f08687a99105dc1a391a.tar.gz |
merge of conflicts
sql/ha_myisam.h:
Auto merged
sql/handler.h:
Auto merged
sql/lex.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 883b610d856..5e6863178b9 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -264,6 +264,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize); %token UDF_RETURNS_SYM %token UDF_SONAME_SYM %token UDF_SYM +%token UNION_SYM %token UNIQUE_SYM %token USAGE %token USE_SYM @@ -716,6 +717,18 @@ create_table_option: | RAID_TYPE EQ raid_types { Lex->create_info.raid_type= $3; Lex->create_info.used_fields|= HA_CREATE_USED_RAID;} | RAID_CHUNKS EQ ULONG_NUM { Lex->create_info.raid_chunks= $3; Lex->create_info.used_fields|= HA_CREATE_USED_RAID;} | RAID_CHUNKSIZE EQ ULONG_NUM { Lex->create_info.raid_chunksize= $3*RAID_BLOCK_SIZE; Lex->create_info.used_fields|= HA_CREATE_USED_RAID;} + | UNION_SYM EQ '(' table_list ')' + { + /* Move the union list to the merge_list */ + LEX *lex=Lex; + TABLE_LIST *table_list= (TABLE_LIST*) lex->table_list.first; + lex->create_info.merge_list= lex->table_list; + lex->create_info.merge_list.elements--; + lex->create_info.merge_list.first= (byte*) (table_list->next); + lex->table_list.elements=1; + lex->table_list.next= (byte**) &(table_list->next); + table_list->next=0; + } table_types: ISAM_SYM { $$= DB_TYPE_ISAM; } |