1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00
Files
mariadb/storage/tokudb/mysql-test
Alexander Barkov 3ceb4a54a1 MDEV-16325 CREATE..SELECT..UNION creates a wrong field type for old varchar
- Adding Type_handler::traditional_merge_field_type()
- Removing real_type_to_type(), field_merge_type()
- Making Type_handler_var_string to merge as VARCHAR
- Additionally, fixing Field_string::print() to add the "/*old*/"
  comment into the data type for the old VARCHAR.
  This is similar to what MDEV-8267 earlier did for old DECIMAL.
- Adding tests
2018-05-30 15:22:58 +04:00
..
2017-08-03 11:48:44 +03:00
2018-02-15 10:22:03 +02:00
2018-01-23 19:20:10 +02:00

The MySQL tests for TokuDB are divided into common tests and tests specific to a
particular MySQL distribution.

The tests that are common for all MySQL distributions can be found in the
svn:tokudb/mysql/tests/mysql-test directory.

The tests that are specific to a particular distribution can be found in that
distribution's mysql-test directory.  For example, tests that are specific to
MySQL 5.5.21 are found in the svn:tokudb/mysql.com/mysql-5.5.21/mysql-test directory.

When we run tests on a particular MySQL distribution, we run the union of the common
tests and the tests that are in that distributions mysql-test directory.  The union
is formed by overlaying the common tests with the distribution specific tests.  

Here is an example.  There are a bunch of alter table tests in that should be common
to all MySQL distributions.  These tests are in the 
svn:tokudb/mysql/tests/mysql-test/suite/tokudb.alter_table directory.
However, the ai_di.test has behaviour that is different on MySQL 5.5 than previous 
MySQL distributions.  There is another version of this test in the MySQL 5.5.21 source
directory.  This version replaces the common test since it has the same test name.

It is easy to disable a test.  Just add the test name to the "disabled.def" file in the
test directory.

We use the run.mysql.tests.bash script from the mysql/scripts directory to run the tests.