mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
9b45c8ed9e
Cleaned up test to no longer need have_ BitKeeper/deleted/.del-have_archive.require: Delete: mysql-test/r/have_archive.require BitKeeper/deleted/.del-have_blackhole.require: Delete: mysql-test/r/have_blackhole.require BitKeeper/deleted/.del-have_csv.require: Delete: mysql-test/r/have_csv.require BitKeeper/deleted/.del-have_exampledb.require: Delete: mysql-test/r/have_exampledb.require BitKeeper/deleted/.del-have_federated_db.require: Delete: mysql-test/r/have_federated_db.require BitKeeper/deleted/.del-have_innodb.require: Delete: mysql-test/r/have_innodb.require BitKeeper/deleted/.del-have_ndb.require: Delete: mysql-test/r/have_ndb.require BitKeeper/deleted/.del-have_raid.require: Delete: mysql-test/r/have_raid.require mysql-test/include/have_archive.inc: Rewrite of test to use new syntax mysql-test/include/have_blackhole.inc: Test rewritten to use new syntax mysql-test/include/have_csv.inc: Test rewrite mysql-test/include/have_exampledb.inc: Test rewrite mysql-test/include/have_federated_db.inc: Test rewrite mysql-test/include/have_innodb.inc: Test rewrite mysql-test/include/have_multi_ndb.inc: Test rewrite mysql-test/include/have_ndb.inc: Test rewrite sql/mysql_priv.h: Removed unneeded ifdef
28 lines
840 B
PHP
28 lines
840 B
PHP
# Setup connections to both MySQL Servers connected to the cluster
|
|
connect (server1,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
|
connect (server2,127.0.0.1,root,,test,$MASTER_MYPORT1,);
|
|
|
|
# Check that server1 has NDB support
|
|
connection server1;
|
|
disable_query_log;
|
|
--disable_warnings
|
|
drop table if exists t1, t2;
|
|
--enable_warnings
|
|
flush tables;
|
|
--require r/true.require
|
|
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
|
|
enable_query_log;
|
|
|
|
# Check that server2 has NDB support
|
|
connection server2;
|
|
disable_query_log;
|
|
--disable_warnings
|
|
drop table if exists t1, t2;
|
|
--enable_warnings
|
|
flush tables;
|
|
--require r/true.require
|
|
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
|
|
enable_query_log;
|
|
|
|
# Set the default connection to 'server1'
|
|
connection server1;
|