Commit 63d78a76 authored by brian@zim.(none)'s avatar brian@zim.(none)

Removed ifdef need.

Cleaned up test to no longer need have_
parent 343e0839
--require r/have_archive.require
--disable_query_log --disable_query_log
show variables like "have_archive"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'archive';
--enable_query_log --enable_query_log
-- require r/have_blackhole.require
disable_query_log; disable_query_log;
show variables like "have_blackhole_engine"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'blackhole';
enable_query_log; enable_query_log;
-- require r/have_csv.require
disable_query_log; disable_query_log;
show variables like "have_csv"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'csv';
enable_query_log; enable_query_log;
-- require r/have_exampledb.require
disable_query_log; disable_query_log;
show variables like "have_example_engine"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'example';
enable_query_log; enable_query_log;
-- require r/have_federated_db.require
disable_query_log; disable_query_log;
show variables like "have_federated_engine"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'federated';
enable_query_log; enable_query_log;
-- require r/have_innodb.require
disable_query_log; disable_query_log;
show variables like "have_innodb"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'innodb';
enable_query_log; enable_query_log;
...@@ -9,8 +9,8 @@ disable_query_log; ...@@ -9,8 +9,8 @@ disable_query_log;
drop table if exists t1, t2; drop table if exists t1, t2;
--enable_warnings --enable_warnings
flush tables; flush tables;
--require r/have_ndb.require --require r/true.require
show variables like "have_ndbcluster"; select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
enable_query_log; enable_query_log;
# Check that server2 has NDB support # Check that server2 has NDB support
...@@ -20,8 +20,8 @@ disable_query_log; ...@@ -20,8 +20,8 @@ disable_query_log;
drop table if exists t1, t2; drop table if exists t1, t2;
--enable_warnings --enable_warnings
flush tables; flush tables;
--require r/have_ndb.require --require r/true.require
show variables like "have_ndbcluster"; select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
enable_query_log; enable_query_log;
# Set the default connection to 'server1' # Set the default connection to 'server1'
......
# Check that server is compiled and started with support for NDB # Check that server is compiled and started with support for NDB
-- require r/have_ndb.require
disable_query_log; disable_query_log;
show variables like "have_ndbcluster"; --require r/true.require
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
enable_query_log; enable_query_log;
# Check that NDB is installed and known to be working # Check that NDB is installed and known to be working
......
Variable_name Value
have_archive YES
Variable_name Value
have_blackhole_engine YES
Variable_name Value
have_csv YES
Variable_name Value
have_example_engine YES
Variable_name Value
have_federated_engine YES
Variable_name Value
have_innodb YES
Variable_name Value
have_ndbcluster YES
Variable_name Value
have_raid YES
...@@ -1624,67 +1624,34 @@ extern TYPELIB log_output_typelib; ...@@ -1624,67 +1624,34 @@ extern TYPELIB log_output_typelib;
/* optional things, have_* variables */ /* optional things, have_* variables */
#ifdef WITH_INNOBASE_STORAGE_ENGINE
extern handlerton *innobase_hton;
extern SHOW_COMP_OPTION have_innodb; extern SHOW_COMP_OPTION have_innodb;
#else
extern SHOW_COMP_OPTION have_innodb;
#endif
#ifdef WITH_EXAMPLE_STORAGE_ENGINE
extern handlerton *example_hton;
extern SHOW_COMP_OPTION have_example_db;
#else
extern SHOW_COMP_OPTION have_example_db; extern SHOW_COMP_OPTION have_example_db;
#endif
#ifdef WITH_ARCHIVE_STORAGE_ENGINE
extern handlerton *archive_hton;
extern SHOW_COMP_OPTION have_archive_db;
#else
extern SHOW_COMP_OPTION have_archive_db; extern SHOW_COMP_OPTION have_archive_db;
#endif
#ifdef WITH_CSV_STORAGE_ENGINE
extern handlerton *tina_hton;
extern SHOW_COMP_OPTION have_csv_db; extern SHOW_COMP_OPTION have_csv_db;
#else
extern SHOW_COMP_OPTION have_csv_db;
#endif
#ifdef WITH_FEDERATED_STORAGE_ENGINE
extern handlerton *federated_hton;
extern SHOW_COMP_OPTION have_federated_db; extern SHOW_COMP_OPTION have_federated_db;
#else
extern SHOW_COMP_OPTION have_federated_db;
#endif
#ifdef WITH_BLACKHOLE_STORAGE_ENGINE
extern handlerton *blackhole_hton;
extern SHOW_COMP_OPTION have_blackhole_db;
#else
extern SHOW_COMP_OPTION have_blackhole_db; extern SHOW_COMP_OPTION have_blackhole_db;
extern SHOW_COMP_OPTION have_ndbcluster;
extern SHOW_COMP_OPTION have_partition_db;
extern SHOW_COMP_OPTION have_merge_db;
#ifdef WITH_CSV_STORAGE_ENGINE
extern handlerton *tina_hton;
#endif #endif
#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE #ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
extern handlerton *ndbcluster_hton; extern handlerton *ndbcluster_hton;
extern SHOW_COMP_OPTION have_ndbcluster;
#else
extern SHOW_COMP_OPTION have_ndbcluster;
#endif #endif
#ifdef WITH_PARTITION_STORAGE_ENGINE #ifdef WITH_PARTITION_STORAGE_ENGINE
extern handlerton *partition_hton; extern handlerton *partition_hton;
extern SHOW_COMP_OPTION have_partition_db;
#else
extern SHOW_COMP_OPTION have_partition_db;
#endif #endif
#ifdef WITH_MYISAMMRG_STORAGE_ENGINE #ifdef WITH_MYISAMMRG_STORAGE_ENGINE
extern handlerton *myisammrg_hton; extern handlerton *myisammrg_hton;
extern SHOW_COMP_OPTION have_merge_db;
#else
extern SHOW_COMP_OPTION have_merge_db;
#endif #endif
extern handlerton *myisam_hton; extern handlerton *myisam_hton;
extern handlerton *heap_hton; extern handlerton *heap_hton;
extern SHOW_COMP_OPTION have_row_based_replication; extern SHOW_COMP_OPTION have_row_based_replication;
extern SHOW_COMP_OPTION have_raid, have_openssl, have_symlink, have_dlopen; extern SHOW_COMP_OPTION have_openssl, have_symlink, have_dlopen;
extern SHOW_COMP_OPTION have_query_cache; extern SHOW_COMP_OPTION have_query_cache;
extern SHOW_COMP_OPTION have_geometry, have_rtree_keys; extern SHOW_COMP_OPTION have_geometry, have_rtree_keys;
extern SHOW_COMP_OPTION have_crypt; extern SHOW_COMP_OPTION have_crypt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment