summaryrefslogtreecommitdiff
path: root/mysql-test/suite/engines
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that storage/funcs tests works with AriaMonty2019-05-11107-15401/+15412
| | | | Problem was that SHOW CREATE didn't remove PAGE_CHECKSUM=1
* Merge 10.3 into 10.4Marko Mäkelä2018-12-186-128/+128
|\
| * Merge 10.2 into 10.3Marko Mäkelä2018-12-186-128/+128
| |\
* | | MDEV-15253: Default optimizer setting changes for MariaDB 10.4Varun Gupta2018-12-094-0/+29
|/ / | | | | | | | | use_stat_tables= PREFERABLY optimizer_use_condition_selectivity= 4
* | Merge 10.2 into 10.3Marko Mäkelä2018-11-192-0/+117
|\ \ | |/
| * Merge branch '10.1' into 10.2Oleksandr Byelkin2018-11-152-0/+117
| |\
| | * Merge branch '10.0' into 10.1Oleksandr Byelkin2018-11-152-0/+117
| | |\
| | | * Merge branch '5.5' into 10.0Oleksandr Byelkin2018-11-152-0/+117
| | | |\
| | | | * MDEV-17724 Wrong result for BETWEEN 0 AND 18446744073709551615Alexander Barkov2018-11-152-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix for "MDEV-17698 MEMORY engine performance regression" previously fixed this problem. - Adding the test for MDEV-17724 - Re-recording wrong results for tests: * engines/iuds/r/insert_number * engines/iuds/r/update_delete_number which started to fail since MDEV-17698
* | | | | Move mysql-test-run/extra/rpl_tests to suite/rpl/includeMichael Widenius2018-03-294-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Renamed suite/rpl/include/rpl_sync.inc to rpl_sync_test.inc to remove clash with include/rpl_sync.inc
* | | | | Merge branch '10.2' into 10.3Sergei Golubchik2018-03-282-1/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2018-03-212-1/+2
| |\ \ \ \ | | |/ / /
* | | | | MDEV-12874 UPDATE statements with the same source and targetSergei Golubchik2017-10-044-18/+0
| | | | | | | | | | | | | | | | | | | | update engine tests
* | | | | Merge branch '10.2' into bb-10.2-extSergei Golubchik2017-09-231-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Sergei Golubchik2017-09-221-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | But without f4f48e06215..f8a800bec81 - fixes for MDEV-12672 and related issues. 10.2 specific fix follows...
| | * | | Merge branch '10.0' into 10.1Sergei Golubchik2017-09-211-1/+1
| | |\ \ \ | | | |/ /
| | | * | include/master-slave.inc must always be included lastSergei Golubchik2017-09-201-1/+1
| | | | |
| | * | | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2017-01-161-1/+0
| | |\ \ \ | | | |/ /
| | | * | Merge remote-tracking branch 'origin/5.5' into 10.0vicentiu2017-01-061-1/+0
| | | |\ \ | | | | |/
| | | | * Follow-up for 02d153c7b9 (str2decimal: don't return a negative zero)Elena Stepanova2016-12-111-1/+0
| | | | |
| | | | * Merge remote-tracking branch 'mysql/5.5' into 5.5Sergei Golubchik2015-10-081-0/+0
| | | | |\
| | | | | * Merge branch 'mysql-5.1' into mysql-5.5Sreeharsha Ramanavarapu2015-07-101-0/+0
| | | | | |\
| | | | | | * Bug #20238729: ILLEGALLY CRAFTED UTF8 SELECT PROVIDES NOSreeharsha Ramanavarapu2015-07-101-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WARNINGS Backporting to 5.1 and 5.5
| | | | | * | Bug#16274455: CAN NOT ACESS PARTITIONED TABLES WHENMattias Jonsson2013-02-144-156/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOWNGRADED FROM 5.6.11 TO 5.6.10 Problem was new syntax not accepted by previous version. Fixed by adding version comment of /*!50531 around the new syntax. Like this in the .frm file: 'PARTITION BY KEY /*!50611 ALGORITHM = 2 */ () PARTITIONS 3' and also changing the output from SHOW CREATE TABLE to: CREATE TABLE t1 (a INT) /*!50100 PARTITION BY KEY */ /*!50611 ALGORITHM = 1 */ /*!50100 () PARTITIONS 3 */ It will always add the ALGORITHM into the .frm for KEY [sub]partitioned tables, but for SHOW CREATE TABLE it will only add it in case it is the non default ALGORITHM = 1. Also notice that for 5.5, it will say /*!50531 instead of /*!50611, which will make upgrade from 5.5 > 5.5.31 to 5.6 < 5.6.11 fail! If one downgrades an fixed version to the same major version (5.5 or 5.6) the bug 14521864 will be visible again, but unless the .frm is updated, it will work again when upgrading again. Also fixed so that the .frm does not get updated version if a single partition check passes.
| | | | | * | post-push test result update for bug#14521864.Mattias Jonsson2013-02-044-156/+156
| | | | | | |
| | | | | * | BUG#12359942 - REPLICATION TEST FROM ENGINE SUITE RPL_ROW_UNTIL TIMES OUTShivji Kumar Jha2012-12-091-2/+1
| | | | | |\ \ | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch to fix post push falures in pb2 bzr merge 5.1->5.5 BUG#15872504 - REMOVE MYSQL-TEST/INCLUDE/GET_BINLOG_DUMP_THREAD_ID.INC bzr merge 5.1->5.6
| | | | | * | BUG#12359942 - REPLICATION TEST FROM ENGINE SUITE RPL_ROW_UNTIL TIMES OUTShivji Kumar Jha2012-12-053-270/+153
| | | | | |\ \ | | | | | | |/ | | | | | | | bzr merge 5.1->5.5
| | | | | | * BUG#12359942 - REPLICATION TEST FROM ENGINE SUITE RPL_ROW_UNTIL TIMES OUTShivji Kumar Jha2012-11-303-261/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | === Problem === The test is dependent on binlog positions and checks to see if the command 'START SLAVE' functions correctly with the 'UNTIL' clause added to it. The 'UNTIL' clause is added to specify that the slave should start and run until the SQL thread reaches a given point in the master binary log or in the slave relay log. The test uses hard coded values for MASTER_LOG_POS and RELAY_LOG_POS, instead of extracting it using query_get_value() function. There is a test 'rpl.rpl_row_until' which does the similar thing but uses query_get_value() function to set the values of MASTER_LOG_POS/ RELAY_LOG_POS. To be precise, rpl.rpl_row_until is a modified version of engines/func.rpl_row_until.test. The use of hard coded values may lead the slave to stop at a position which may differ from the expected position in the binlog file, an example being the failure of engines/funcs.rpl_row_until in mysql-5.1 given as: "query 'select * from t2' failed. Table 'test.t2' doesn't exist". In this case, the slave actually ran a couple of extra commands as a result of which the slave first deleted the table and then ran a select query on table, leading to the above mentioned failure. === Fix === 1) Fixed the code for failure seen in rpl.rpl_row_until. This test was also failing although the symptoms of failure were different. 2) Copied the contents from rpl.rpl_row_until into into engines/funcs.rpl.rpl_row_until. 3) Updated engines/funcs.rpl_row_until.result accordingly.
| | | | | * | manual merge (WL6219)Gleb Shchepa2012-06-293-0/+24
| | | | | |\ \ | | | | | | |/
| | | | | | * Backport of the deprecation warning from WL#6219: "Deprecate and remove ↵Gleb Shchepa2012-06-293-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | YEAR(2) type" Print the warning(note): YEAR(x) is deprecated and will be removed in a future release. Please use YEAR(4) instead on "CREATE TABLE ... YEAR(x)" or "ALTER TABLE MODIFY ... YEAR(x)", where x != 4
| | | | | * | Merging from 5.1Alexander Barkov2012-02-022-0/+4
| | | | | |\ \ | | | | | | |/
| | | | | | * Postfix for Bug#11752408.Alexander Barkov2012-02-022-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recording correct test results. modified: mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result
| | | | | * | merge 5.1 -> 5.5Vinay Fisrekar2011-10-1232-11/+96
| | | | | |\ \ | | | | | | |/ | | | | | | | adjust/modify tests as they were failing if system time zone is set differently.
| | | | | | * bug#11766457 - adjusting/modifying the the tests as tests were failing if ↵Vinay Fisrekar2011-10-1232-11/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | system time zone is set differently.
| | | | | * | merge from mysql-5.1 -> mysql-5.5Vinay Fisrekar2011-03-011-2/+2
| | | | | |\ \ | | | | | | |/
| | | | | | * Bug#11766165 - 59211: SELECT RETURNS DIFFERENT VALUE FOR MIN(YEAR) FUNCTIONVinay Fisrekar2011-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | Result File Correction For Bug Fix
| | | | | * | bzr merger from mysql-5.1 to mysql-5.5Vinay Fisrekar2011-02-072-1/+1
| | | | | |\ \ | | | | | | |/ | | | | | | | Bug#59955 - engines/funcs/ps_string_not_null test needs better cleanup
| | | | | | * Bug#59955 - engines/funcs/ps_string_not_null test needs better cleanupVinay Fisrekar2011-02-072-1/+1
| | | | | | | | | | | | | | | | | | | | | Correcting clean up command at the start of test.
| | | | | | * Modifications in mysql-5.1 engines test suite.Nirbhay Choubey2011-01-0533-159/+731
| | | | | | |
| | | | | * | Modifications in mysql-5.5 engines test suite.Nirbhay Choubey2011-01-0557-217/+1530
| | | | | | |
| | | | | * | Manual merge2010-05-2634-1496/+195
| | | | | |\ \ | | | | | | |/
| | | | | | * Bug #49741 test files contain explicit references to bin/relay-log positions2010-05-2434-1445/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the test cases reference to binlog position and these position numbers are written into result explicitly. It is difficult to maintain if log event format changes. There are a couple of cases explicit position number appears, we handle them in different ways A. 'CHANGE MASTER ...' with MASTER_LOG_POS or/and RELAY_LOG_POS options Use --replace_result to mask them. B. 'SHOW BINLOG EVENT ...' Replaced by show_binlog_events.inc or wait_for_binlog_event.inc. show_binlog_events.inc file's function is enhanced by given $binlog_file and $binlog_limit. C. 'SHOW SLAVE STATUS', 'show_slave_status.inc' and 'show_slave_status2.inc' For the test cases just care a few items in the result of 'SHOW SLAVE STATUS', only the items related to each test case are showed. 'show_slave_status.inc' is rebuild, only the given items in $status_items will be showed. 'check_slave_is_running.inc' and 'check_slave_no_error.inc' and 'check_slave_param.inc' are auxiliary files helping to show running status and error information easily.
| | | | | * | Manual merge of mysql-5.1-bugteam to mysql-trunk-merge.Alexey Kopytov2010-05-091-6/+6
| | | | | |\ \ | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Text conflict in mysql-test/r/grant.result Text conflict in mysql-test/t/grant.test Text conflict in mysys/mf_loadpath.c Text conflict in sql/slave.cc Text conflict in sql/sql_priv.h
| | | | | | * Updates to README file of the 'engines' test suitesOmer BarNir2010-05-041-6/+6
| | | | | | |
| | | | | * | Manual merge from mysql-trunk.Alexander Nozdrin2010-05-0784-4376/+4204
| | | | | |\ \ | | | | | | |/ | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: - mysql-test/suite/engines/funcs/t/disabled.def - mysql-test/suite/engines/iuds/t/disabled.def - mysql-test/suite/engines/iuds/t/insert_number.test
| | | | | | * Changes to result files in the engine suite - missed from previous commitOmer BarNir2010-05-042-110/+62
| | | | | | |
| | | | | | * Updates to test and result files in the 'engine' suites following changes in 5.5Omer BarNir2010-05-0484-4263/+4147
| | | | | | |
| | | | | * | Correction to the disabled.def file in engines/iuds that got overwritten by Omer BarNir2010-04-071-7/+1
| | | | | | | | | | | | | | | | | | | | | mistake in previous push
| | | | | * | Updates to test files in the 'engines' suite following changes in 5.1.46Omer BarNir2010-04-066-6/+24
| | | | | |/
| | | | | * Test suites for engine testing, moved from test-extra so will be availableOmer BarNir2010-03-17914-0/+937101
| | | | | | | | | | | | | | | | | | | | for general use.