From 8164bd24a611ee2682ff0ba922fd0da526f75f14 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Tue, 21 May 2019 14:22:49 +0400 Subject: MDEV-19535 sql_mode=ORACLE: 'SELECT INTO @var FOR UPDATE' does not lock the table --- sql/sql_lex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_lex.h') diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 7a56ce55297..b205207f64d 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -4452,6 +4452,7 @@ public: LEX_CSTRING *alias); bool parsed_create_view(SELECT_LEX_UNIT *unit, int check); bool select_finalize(st_select_lex_unit *expr); + bool select_finalize(st_select_lex_unit *expr, Lex_select_lock l); void relink_hack(st_select_lex *select_lex); bool stmt_install_plugin(const DDL_options_st &opt, -- cgit v1.2.1