Run the Transactd test
If the server Plugin and a client has been installed, you can run the test.
Each client contains the test program. Test will proceed after starting the MySQL/MariaDB server.
Execution of test program
Test script executes the tests in following order:
- test_tdclcpp_xx_xxm_xxx.exe A Multibyte modules test
- test_tdclcpp_xx_xxu_xxx.exe A Unicode module test(Windows only)
- test_tdclcpp_v3_xx_xxm_xxx.exe A V3 Multibyte modules test
- test_tdclcpp_v3_xx_xxu_xxx.exe A V3 Unicode module test(Windows only)
V3 test is the newly added test in Transactd Version 3.0.
Executing on Windows
Move to the client directory.
cd transactd-client-[compiler]-[platform]-[version]
run test:
TestClient.cmd
Then you will be asked the host name first, please specify the host name of the Transactd server. "localhost" will be set automatically if you do not specify anything.
Next, select the number of the compiler to test. Then tests and benchmarks will be executed continuously.
run COM test (COM client only)
TestClient_ATL.cmd
Then you will be asked the host name first, please specify the host name of the Transactd server. "localhost" will be set automatically if you do not specify anything.
Executing on Linux
Move to the client directory.
cd transactd-client-cpp-linux-x86_64-[version]
run test:
./exec_test_all.sh
Then you will be asked the host name first, please specify the host name of the Transactd server. "localhost" will be set automatically if you do not specify anything.
Details of the test program
The executable files whose name starts with test_ is test program.
Please be sure to run test with only an instance. It will fail if test runs two or more instances. If others access to test database during test runs, fail to drop database and can't release database. In such a case, reboot a server or run following command in MySQL command line client to drop a database.
mysql>drop database test;
If -- show_progress=yes
is passed, it shows progress like:
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
************
Using -- host=xxxxx
can specify host.
The test using Japanese database name, table name and field name.
To pass this test, set character-set-server
as cp932 or utf8 in my.cnf.
[mysqld]
character-set-server=utf8