File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12854,6 +12854,7 @@ create_table_info_t::create_option_data_directory_is_valid()
12854
12854
}
12855
12855
12856
12856
12857
+ #ifdef MYSQL_TABLESPACES
12857
12858
#define IDENT_NAME_OK 0
12858
12859
static int check_tablespace_name(const char *name)
12859
12860
{
@@ -13046,6 +13047,7 @@ create_table_info_t::create_option_tablespace_is_valid()
13046
13047
13047
13048
return(true);
13048
13049
}
13050
+ #endif
13049
13051
13050
13052
#ifdef MYSQL_COMPRESSION
13051
13053
/** Validate the COPMRESSION option.
@@ -13136,13 +13138,15 @@ create_table_info_t::create_options_are_invalid()
13136
13138
ut_ad(m_thd != NULL);
13137
13139
ut_ad(m_create_info != NULL);
13138
13140
13141
+ #ifdef MYSQL_TABLESPACES
13139
13142
/* The TABLESPACE designation on a CREATE TABLE is not subject to
13140
13143
non-strict-mode. If it is incorrect or is incompatible with other
13141
13144
options, then we will return an error. Make sure the tablespace exists
13142
13145
and is compatible with this table */
13143
13146
if (!create_option_tablespace_is_valid()) {
13144
13147
return("TABLESPACE");
13145
13148
}
13149
+ #endif
13146
13150
13147
13151
/* If innodb_strict_mode is not set don't do any more validation.
13148
13152
Also, if this table is being put into a shared general tablespace
You can’t perform that action at this time.
0 commit comments