#ifdef WITH_WSREP
/* in STATEMENT format, we probably have to replicate also temporary
tables, like mysql replication does
*/
if (!thd->is_current_stmt_binlog_format_row() || !(create_info.options & HA_LEX_CREATE_TMP_TABLE)) WSREP_TO_ISOLATION_BEGIN(create_table->db, create_table->table_name, NULL)
#endif /* WITH_WSREP */
/* Regular CREATE TABLE */
res= mysql_create_table(thd, create_table, &create_info, &alter_info);
The check for enforce_storage_engine is done after TOI in mysql_create_table. Hence, this check cannot be done for TOI.
As mentioned earlier,
#ifdef WITH_WSREP is_current_ stmt_binlog_ format_ row() ||
!(create_ info.options & HA_LEX_ CREATE_ TMP_TABLE) )
WSREP_TO_ ISOLATION_ BEGIN(create_ table-> db, create_ table-> table_name,
NULL) table(thd, create_table,
&create_ info, &alter_info);
/* in STATEMENT format, we probably have to replicate also temporary
tables, like mysql replication does
*/
if (!thd->
#endif /* WITH_WSREP */
/* Regular CREATE TABLE */
res= mysql_create_
The check for enforce_ storage_ engine is done after TOI in mysql_create_table. Hence, this check cannot be done for TOI.