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.h | |
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.h')
-rw-r--r-- | include/mysql/plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index 738ffc6c53f..d3301a36e82 100644 --- a/include/mysql/plugin.h +++ b/include/mysql/plugin.h @@ -660,6 +660,8 @@ int thd_in_lock_tables(const MYSQL_THD thd); int thd_tablespace_op(const MYSQL_THD thd); long long thd_test_options(const MYSQL_THD thd, long long test_options); int thd_sql_command(const MYSQL_THD thd); +struct DDL_options_st; +struct DDL_options_st *thd_ddl_options(const MYSQL_THD thd); void thd_storage_lock_wait(MYSQL_THD thd, long long value); int thd_tx_isolation(const MYSQL_THD thd); int thd_tx_is_read_only(const MYSQL_THD thd); |