[Commits] 7a2dae8: Fixed a problem with LOAD DATA.
revision-id: 7a2dae86f4595ed10cb72c34329e3c9be50f5504 (mariadb-10.3.5-115-g7a2dae8) parent(s): 2d82e5ccdc934c0d8530147984b410f3f63cbf1d author: Igor Babaev committer: Igor Babaev timestamp: 2018-04-08 11:23:53 -0700 message: Fixed a problem with LOAD DATA. --- sql/sql_yacc.yy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 7fb0ee7..20b0a01 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -14794,8 +14794,9 @@ load: $2 == FILETYPE_CSV ? "LOAD DATA" : "LOAD XML"); MYSQL_YYABORT; } - if (Lex->main_select_push()) + if (lex->main_select_push()) MYSQL_YYABORT; + mysql_init_select(lex); } load_data_lock opt_local INFILE TEXT_STRING_filesystem {
participants (1)
-
IgorBabaev