diff options
author | aelkin@mysql.com <> | 2006-04-12 12:50:12 +0300 |
---|---|---|
committer | aelkin@mysql.com <> | 2006-04-12 12:50:12 +0300 |
commit | a219eb292e9f3fac9cd57397d314f4060ffcb809 (patch) | |
tree | c77169bed7d05ff496f6aaf92c404df68102480b /sql/sql_yacc.yy | |
parent | 62b85c13888c7555ba14761cf4a6c5b3bf80b32b (diff) | |
download | mariadb-git-a219eb292e9f3fac9cd57397d314f4060ffcb809.tar.gz |
#BUG18715 create view with replicate*ignore-table
Fixed in parser. rpl_view gained no changes but rpl_view-slave.opt.
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index ddc267eb970..e566fdf7241 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -3390,7 +3390,7 @@ alter: lex->sql_command= SQLCOM_CREATE_VIEW; lex->create_view_mode= VIEW_ALTER; /* first table in list is target VIEW name */ - lex->select_lex.add_table_to_list(thd, $6, NULL, 0); + lex->select_lex.add_table_to_list(thd, $6, NULL, TL_OPTION_UPDATING); } view_list_opt AS view_select view_check_option {} @@ -9025,7 +9025,7 @@ view_tail: LEX *lex= thd->lex; lex->sql_command= SQLCOM_CREATE_VIEW; /* first table in list is target VIEW name */ - if (!lex->select_lex.add_table_to_list(thd, $3, NULL, 0)) + if (!lex->select_lex.add_table_to_list(thd, $3, NULL, TL_OPTION_UPDATING)) YYABORT; } view_list_opt AS view_select view_check_option |