diff options
author | Monty <monty@mariadb.org> | 2021-06-11 15:34:23 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2021-06-14 17:03:19 +0300 |
commit | af33202af753da93e48f30b83c959c5a587f2458 (patch) | |
tree | c07af0078f547d4d493a1a8ed4192c3608d91b35 /include/mysql/plugin_audit.h.pp | |
parent | 4ea1c48abe3087a38a6260c8e21084de5e1a105b (diff) | |
download | mariadb-git-af33202af753da93e48f30b83c959c5a587f2458.tar.gz |
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)
Diffstat (limited to 'include/mysql/plugin_audit.h.pp')
-rw-r--r-- | include/mysql/plugin_audit.h.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp index 07fe16ea92f..2e0cdff4b50 100644 --- a/include/mysql/plugin_audit.h.pp +++ b/include/mysql/plugin_audit.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); |