From af33202af753da93e48f30b83c959c5a587f2458 Mon Sep 17 00:00:00 2001 From: Monty Date: Fri, 11 Jun 2021 15:34:23 +0300 Subject: Added DDL_options_st *thd_ddl_options(const MYSQL_THD thd) This is used by InnoDB to detect if CREATE...SELECT is used Other things: - Changed InnoDB to use thd_ddl_options() - Removed lock checking code for create...select (Approved by Marko) --- include/mysql/plugin_encryption.h.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/mysql/plugin_encryption.h.pp') diff --git a/include/mysql/plugin_encryption.h.pp b/include/mysql/plugin_encryption.h.pp index ff436bb24c4..11cd622861c 100644 --- a/include/mysql/plugin_encryption.h.pp +++ b/include/mysql/plugin_encryption.h.pp @@ -608,6 +608,8 @@ int thd_in_lock_tables(const THD* thd); int thd_tablespace_op(const THD* thd); long long thd_test_options(const THD* thd, long long test_options); int thd_sql_command(const THD* thd); +struct DDL_options_st; +struct DDL_options_st *thd_ddl_options(const THD* thd); void thd_storage_lock_wait(THD* thd, long long value); int thd_tx_isolation(const THD* thd); int thd_tx_is_read_only(const THD* thd); -- cgit v1.2.1