summaryrefslogtreecommitdiff
path: root/mysql-test/lib
Commit message (Collapse)AuthorAgeFilesLines
* merge with mysql-5.5.30 minus few incorrect or not applicable changesetsSergei Golubchik2013-02-285-182/+26
|\
| * Reinstate install of mysql-test/lib/My/SafeProcess/Base.pm, removed by mistakeBjorn Munch2012-11-261-0/+1
| |
| * upmerge 5.1 => 5.5unknown2012-11-263-171/+11
| |\
| | * Bug #14757120 - SAFE_PROCESS.CC/SAFE_PROCESS.PL SHOULD NOT KILL MYSQLD ON ↵unknown2012-11-262-170/+11
| | | | | | | | | | | | SIGSTOP/SIGCONT
| | * Bug #13113026 INFORMATION_SCHEMA.INNODB_BUFFER_PAGE_LRUFROM 5.6 BACKPORTAnnamalai Gurusami2012-07-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting the WL#5716, "Information schema table for InnoDB buffer pool information". Backporting revisions 2876.244.113, 2876.244.102 from mysql-trunk. rb://1175 approved by Jimmy Yang.
| * | BUG #15895810 - REQUIRE ADDITIONAL INFORMATION WITH THE --RESULT-FILE OPTION ↵unknown2012-11-201-1/+11
| | | | | | | | | | | | OF MTR
| * | mtr.plunknown2012-11-041-10/+3
| | | | | | | | | | | | | | | - improve the logic that decides when ndbcluster should be enabled and the extra test suites for MySQL Cluster should be added. Should be consistent and logical now ;)
| * | Bug#14737559 BZR JOIN PLUGIN TREES INTO INTERNAL/PLUGINTor Didriksen2012-10-241-0/+1
| | | | | | | | | | | | | | | | | | Part three: Fix some search paths.
| * | Upmerge optional testsuite pathBjorn Munch2012-05-152-4/+8
| |\ \ | | |/
| | * Added some extra optional path to test suitesBjorn Munch2012-05-152-6/+8
| | |
| | * Updated/added copyright headersKent Boortz2012-02-151-1/+1
| | |\
* | | | Fixed problem with failing mysql_upgrade when proc table was not correct.Michael Widenius2013-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved out creation of performance schema tables from mysql_system_tables.sql as the performance_tables creation scripts needs a working mysql.proc to work. client/mysql_upgrade.c: Added option -V, --version debian/dist/Debian/mariadb-server-5.5.files: Added mysql_performance_tables.sql debian/dist/Ubuntu/mariadb-server-5.5.files: Added mysql_performance_tables.sql mysql-test/lib/v1/mysql-test-run.pl: Added mysql_performance_tables.sql mysql-test/mysql-test-run.pl: Added mysql_performance_tables.sql scripts/CMakeLists.txt: Moved out creation of performance schema tables from mysql_system_tables.sql as the performance_tables creation scripts needs a working mysql.proc to work scripts/mysql_install_db.sh: Added mysql_performance_tables.sql scripts/mysql_performance_tables.sql: Moved out creation of performance schema tables from mysql_system_tables.sql as the performance_tables creation scripts needs a working mysql.proc to work scripts/mysql_system_tables.sql: Move creation of performance schema tables to mysql_performance_tables.sql Added 'flush tables' to get things to work if someone deletes a table like mysql.proc before run scripts/mysql_system_tables_fix.sql: ove performance table things to mysql_performance_tables.sql storage/perfschema/pfs.cc: Fixed comment
* | | | MDEV-399 Combinations defined in the base suite cannot be skipped by overlaySergei Golubchik2012-08-011-5/+10
| | | | | | | | | | | | | | | | | | | | When appliying parent combinations to the overlay, filter them through the %skip_combinations using the overlayed filename
* | | | mdev-202 Overlays do not support nested test suites which exist in MTRSergei Golubchik2012-04-211-35/+56
| | | |
* | | | merge with mysql-5.5.21Sergei Golubchik2012-03-091-1/+1
|\ \ \ \ | |/ / /
* | | | updates after writing https://kb.askmonty.org/en/mysql-test-auxiliary-filesSergei Golubchik2012-03-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/README.suites: removed. it was turned into a manual, eventually mysql-test/include/default_mysqld.cnf: use normal environment variables instead of magic @OPT.vardir mysql-test/lib/My/ConfigFactory.pm: use normal environment variables instead of magic @OPT.vardir mysql-test/mysql-test-run.pl: initialize environment variables before parsing the first my.cnf template - it may refer to them mysql-test/suite/sphinx/my.cnf: use normal environment variables instead of magic @OPT.vardir
* | | | misc test/result fixesSergei Golubchik2012-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/include/have_xtradb.combinations: xtradb tests need this I_S table mysql-test/lib/mtr_cases.pm: fix for .deb and .rpm installations
* | | | overlay support for mysql-test-run and mysqltestSergei Golubchik2012-02-236-313/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test-run auto-disables all optional plugins. mysql-test/include/default_client.cnf: no @OPT.plugindir anymore mysql-test/include/default_mysqld.cnf: don't disable plugins manually - mtr can do it better mysql-test/suite/innodb/t/innodb_bug47167.test: mtr now uses suite-dir as an include path mysql-test/suite/innodb/t/innodb_file_format.test: mtr now uses suite-dir as an include path mysql-test/t/partition_binlog.test: this test uses partitions storage/example/mysql-test/mtr/t/source.result: update results. as mysqltest includes the correct overlayed include storage/innobase/handler/ha_innodb.cc: the assert is wrong
* | | | making more use of My::Suite objectSergei Golubchik2012-02-071-102/+92
| | | |
* | | | small cleanupSergei Golubchik2012-02-072-88/+50
| | | |
* | | | allow suite.pm to skip combinations that originate from test/include files.Sergei Golubchik2012-02-072-21/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
* | | | mtr: support for rdiff filesSergei Golubchik2012-02-061-4/+6
| | | |
* | | | per-combination result filesSergei Golubchik2012-02-061-14/+30
| | | |
* | | | per-file combinationsSergei Golubchik2012-02-064-155/+139
| | | |
* | | | cleanupSergei Golubchik2012-02-061-83/+8
| | | |
* | | | make %suites hash local to mtr_cases.pmSergei Golubchik2012-02-061-7/+8
| | | |
* | | | move --secure-file-priv from hardcoded to a template. remove redundant suite.optSergei Golubchik2012-02-061-9/+0
| | | |
* | | | remove few obscure, unused, or misused mtr featuresSergei Golubchik2012-02-061-62/+2
| | | |
* | | | remove few hard-coded checks from mtrSergei Golubchik2012-02-061-35/+0
| | | |
* | | | 5.3 mergeSergei Golubchik2012-02-211-0/+7
|\ \ \ \
| * \ \ \ Merge with MariaDB 5.2Michael Widenius2012-02-211-0/+7
| |\ \ \ \
| | * \ \ \ Merge with MariaDB 5.1 and MySQL 5.1.61Michael Widenius2012-02-201-0/+7
| | |\ \ \ \
| | | * | | | mtr runs only "big" tests, if --big-test is repeated twiceSergei Golubchik2012-01-251-0/+7
| | | | | | |
* | | | | | | More 5.5 .deb packaging fixesunknown2012-01-241-0/+1
| | | | | | |
* | | | | | | 5.3 mergeSergei Golubchik2012-01-139-44/+30
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge with 5.2.Michael Widenius2011-12-1149-80/+377
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | no_error handling for select (used by INSERT ... SELECT) still needs to be fixed, but I will do that in a separate commit
| | * | | | | Merge with 5.1Michael Widenius2011-11-302-36/+21
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | test both federated and federatedX in the federated suite.Sergei Golubchik2011-11-302-36/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/lib/My/Options.pm: My::Options::is_set() now matches both option names and values! mysql-test/lib/mtr_cases.pm: 1. don't merge --plugin-load here, it's too early 2. don't skip combinations that set --plugin-load just because the test needs another --plugin-load. Skip *only* if test's --plugin-load matches *exactly* --plugin-load of one of the combinations. 3. if skipping all combinations but one, still assign the test to the combination mysql-test/mysql-test-run.pl: 1. remove dead code - don't set variables that aren't used. 2. bugfix: allow one-letter combination names 3. in the command line, merge all --plugin-load options in one storage/federated/ha_federated.cc: bugfix: garbage character in the generated SELECT query
| | * | | | | Merge with MariaDB 5.1Michael Widenius2011-11-2448-44/+356
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge with MySQL 5.1.60Michael Widenius2011-11-231-2/+5
| | | |\ \ \ \ | | | | | |/ / | | | | |/| |
| | | | * | | backporting 11766169, fixing 13034450Bjorn Munch2011-10-031-2/+5
| | | | | | |
| | | * | | | Initail merge with MySQL 5.1 (XtraDB still needs to be merged)Michael Widenius2011-11-2148-42/+351
| | | |\ \ \ \ | | | | |/ / / | | | | | | | | | | | | | | Fixed up copyright messages.
| | * | | | | Fixes bugs found by testcase for lp:815022 and lp:726374 ↵Michael Widenius2011-08-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "ma_blockrec.c:3000: write_block_record: Assertion `cur_block[1].page_count == 0' failed with a multi-index Aria workload" The issues was: - For some tables with a lot of not packed fields, we didn't allocate enough memory in head page which caused DBUG_ASSERT's - Removed wrong DBUG_ASSERT() - Fixed a problem with underflow() where it generates a key page where all keys didn't fit. - Max key length is now limited by block_size/3 (was block_size /2). This is required for underflow() to work with packed keys. mysql-test/lib/v1/mysql-test-run.pl: Remove --alignment=8 as this doesn't work on 64 bit systems mysql-test/suite/maria/r/small_blocksize.result: Test case for Aria bug mysql-test/suite/maria/t/small_blocksize-master.opt: Test case for Aria bug mysql-test/suite/maria/t/small_blocksize.test: Test case for Aria bug storage/maria/ha_maria.cc: Fixed comment storage/maria/ma_bitmap.c: Fixed wrong variable usage in find_where_to_split_row() where we allocated too little memory for head page. We did not take into account space for head extents (long VARCHAR) when trying to split row on head page. This caused us to allocate too little space from bitmap which lead to ASSERT failures later. storage/maria/ma_blockrec.c: Made some argument const (to ensure they was not accidently changed) Removed wrong DBUG_ASSERT() storage/maria/ma_blockrec.h: Removed not used variable storage/maria/ma_delete.c: Added my_afree() in case of error More comments and DBUG_ASSERT() for underflow() storage/maria/ma_open.c: Make keyinfo->underflow_block_length smaller for packed keys. This has to be done as for long packed keys, underflow() otherwise generates a key page where all keys didn't fit. storage/maria/ma_page.c: New DBUG_ASSERT() storage/maria/ma_write.c: Fixed comment storage/maria/maria_def.h: We have to have space for at least 3 keys on a key page. (Otherwise the underflow() code doesn't work for packed keys, even when we have an underflow() for an empty key page)
* | | | | | | Fix RQG in 5.5, make mtr MTR_VERSION=1 functional.Vladislav Vaintroub2011-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by elenst
* | | | | | | new valgrind suppression for ld.soSergei Golubchik2011-12-141-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | give mysqld more time to start under valgrind
* | | | | | | 5.3->5.5 mergeSergei Golubchik2011-11-221-4/+10
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Fixed that test doesn't abort if 'var' points to a deleted directory (common ↵Michael Widenius2011-11-041-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case when using --mem) Better error message if --log-bin is used without --log-bin-index mysql-test/lib/v1/mysql-test-run.pl: Fixed that test doesn't abort if 'var' points to a deleted directory (common case when using --mem) sql/mysqld.cc: Better error message if --log-bin is used without --log-bin-index
* | | | | | | mysql-5.5.18 mergeSergei Golubchik2011-11-0345-44/+338
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | Silly mistake in gdb output: replaced print with resfile_print,Bjorn Munch2011-10-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but the latter only takes one argument, duh! Fixed by concatenating the args (replace , with .)
| * | | | | | upmerge 12726039Bjorn Munch2011-07-281-11/+35
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |