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
Michael Widenius db7edfed17 MDEV-7563 Support CHECK constraint as in (or close to) SQL Standard
MDEV-10134 Add full support for DEFAULT

- Added support for using tables with MySQL 5.7 virtual fields,
  including MySQL 5.7 syntax
- Better error messages also for old cases
- CREATE ... SELECT now also updates timestamp columns
- Blob can now have default values
- Added new system variable "check_constraint_checks", to turn of
  CHECK constraint checking if needed.
- Removed some engine independent tests in suite vcol to only test myisam
- Moved some tests from 'include' to 't'. Should some day be done for all tests.
- FRM version increased to 11 if one uses virtual fields or constraints
- Changed to use a bitmap to check if a field has got a value, instead of
  setting HAS_EXPLICIT_VALUE bit in field flags
- Expressions can now be up to 65K in total
- Ensure we are not refering to uninitialized fields when handling virtual fields or defaults
- Changed check_vcol_func_processor() to return a bitmap of used types
- Had to change some functions that calculated cached value in fix_fields to do
  this in val() or getdate() instead.
- store_now_in_TIME() now takes a THD argument
- fill_record() now updates default values
- Add a lookahead for NOT NULL, to be able to handle DEFAULT 1+1 NOT NULL
- Automatically generate a name for constraints that doesn't have a name
- Added support for ALTER TABLE DROP CONSTRAINT
- Ensure that partition functions register virtual fields used. This fixes
  some bugs when using virtual fields in a partitioning function
2016-06-30 11:43:02 +02:00
..
2016-04-05 18:00:04 +03: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.