mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
add warnings for INNODB,BDB,ISAM being unavailable if switch to use is supplied, i.e. --bdb,--isam,--innodb
This commit is contained in:
@ -6105,6 +6105,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
have_berkeley_db= SHOW_OPTION_YES;
|
have_berkeley_db= SHOW_OPTION_YES;
|
||||||
else
|
else
|
||||||
have_berkeley_db= SHOW_OPTION_DISABLED;
|
have_berkeley_db= SHOW_OPTION_DISABLED;
|
||||||
|
#else
|
||||||
|
push_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||||
|
0,"this binary does not contain DBD storage engine");
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case OPT_ISAM:
|
case OPT_ISAM:
|
||||||
@ -6113,6 +6116,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
have_isam= SHOW_OPTION_YES;
|
have_isam= SHOW_OPTION_YES;
|
||||||
else
|
else
|
||||||
have_isam= SHOW_OPTION_DISABLED;
|
have_isam= SHOW_OPTION_DISABLED;
|
||||||
|
#else
|
||||||
|
push_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||||
|
0,"this binary does not contain ISAM storage engine");
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case OPT_NDBCLUSTER:
|
case OPT_NDBCLUSTER:
|
||||||
@ -6123,7 +6129,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
have_ndbcluster= SHOW_OPTION_DISABLED;
|
have_ndbcluster= SHOW_OPTION_DISABLED;
|
||||||
#else
|
#else
|
||||||
push_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
push_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||||
0,"this binary does not contain ndbcluster storage engine");
|
0,"this binary does not contain NDBCLUSTER storage engine");
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case OPT_INNODB:
|
case OPT_INNODB:
|
||||||
@ -6132,6 +6138,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
have_innodb= SHOW_OPTION_YES;
|
have_innodb= SHOW_OPTION_YES;
|
||||||
else
|
else
|
||||||
have_innodb= SHOW_OPTION_DISABLED;
|
have_innodb= SHOW_OPTION_DISABLED;
|
||||||
|
#else
|
||||||
|
push_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||||
|
0,"this binary does not contain INNODB storage engine");
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case OPT_INNODB_DATA_FILE_PATH:
|
case OPT_INNODB_DATA_FILE_PATH:
|
||||||
|
Reference in New Issue
Block a user