Commit 8531f14b authored by unknown's avatar unknown

Merge mysql.com:/home/emurphy/src/mysql/bk-clean/tmp_merge

into  mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.1-merge


sql/sql_yacc.yy:
  Auto merged
parents e3819022 68f7928f
#
# BUG18715 create view with replicate*ignore-table
# The option is needed to force slave executes tables_ok
# which must return OK in conditions of this tests (no table foo is used)
--replicate-ignore-table=test.foo
...@@ -4740,7 +4740,7 @@ alter: ...@@ -4740,7 +4740,7 @@ alter:
lex->sql_command= SQLCOM_CREATE_VIEW; lex->sql_command= SQLCOM_CREATE_VIEW;
lex->create_view_mode= VIEW_ALTER; lex->create_view_mode= VIEW_ALTER;
/* first table in list is target VIEW name */ /* 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 view_list_opt AS view_select view_check_option
{} {}
...@@ -10843,7 +10843,7 @@ view_tail: ...@@ -10843,7 +10843,7 @@ view_tail:
LEX *lex= thd->lex; LEX *lex= thd->lex;
lex->sql_command= SQLCOM_CREATE_VIEW; lex->sql_command= SQLCOM_CREATE_VIEW;
/* first table in list is target VIEW name */ /* 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; YYABORT;
} }
view_list_opt AS view_select view_check_option view_list_opt AS view_select view_check_option
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment