mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
041dec8fc6
- Updated after review client/mysqltest.c: Remove the mysterious 1024, sed when calculating max_length for bind columns Change affected_rows variables to use ulonglong A little more fiddling with warnings in ps mode needed Add temporary workaround for bug#15518 Use ulong instead of "unsigned long" Print verbose_msg when failure to create view or sp Updated cheks for "zero size result file" and "no queries executed but result file found" The test must produce some output mysql-test/include/have_multi_ndb.inc: Use --require <result_file> instead of @r <result_file> mysql-test/r/mysqltest.result: Update resulfiles mysql-test/t/init_file.test: Add "echo" command so that test produces output. mysql-test/t/mysql_client_test.test: Add "echo" command so that test produces output. mysql-test/t/mysqltest.test: Added new test case for "zero size resul file" Added new test case for "no output" Make sure all generated sql files are put in var/tmp dir mysql-test/r/init_file.result: New BitKeeper file ``mysql-test/r/init_file.result'' mysql-test/r/mysql_client_test.result: New BitKeeper file ``mysql-test/r/mysql_client_test.result''
28 lines
730 B
PHP
28 lines
730 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/have_ndb.require
|
|
show variables like "have_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/have_ndb.require
|
|
show variables like "have_ndbcluster";
|
|
enable_query_log;
|
|
|
|
# Set the default connection to 'server1'
|
|
connection server1;
|