Added $(ROOT_PATH)/test.inc where test parameters can be added. For example, MaxScale port numbers, usernames, passwords. The file can be included in every */test/makefile so that all test directories can use same parameters if necessary.
Moved checking test results to rwsplit.sh so that tests can use easily different criterias to evaluate test success.
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
SET autocommit = 1;
|
||||
SELECT @@server_id INTO @a;
|
||||
START TRANSACTION;
|
||||
SELECT @@server_id INTO @b;
|
||||
COMMIT;
|
||||
SELECT (@a-@b) INTO @c;
|
||||
SELECT @a, @b, @c;
|
||||
SET autocommit = 0;
|
||||
SELECT @@in_transaction INTO @a;
|
||||
SELECT @a;
|
Reference in New Issue
Block a user