summaryrefslogtreecommitdiff
path: root/mysql-test/include/mysqlhotcopy.inc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bb-10.4-all-builders' into bb-10.5-all-buildersLena Startseva2022-09-261-2/+2
|\
| * MDEV-27691: make working view-protocolLena Startseva2022-09-231-2/+2
| | | | | | | | | | | | | | | | Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
* | Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driverbb-10.5-MDEV-18565Pali2019-07-191-2/+2
|/ | | | | Perl DBD::MariaDB driver is available CPAN and is already used in production environment.
* Galera MTR tests: Make the mysqlhotcopy tests pass on Ubuntu 16.04Sachin Setiya2017-04-061-1/+1
| | | | Signed-off-by: Sachin Setiya <sachin.setiya@mariadb.com>
* for mysql-test: fix mysqlhotcopy script to return a predictable exit codeSergei Golubchik2014-09-161-1/+1
|
* 5.5-mergeSergei Golubchik2011-07-021-1/+15
|\
| * Fix for Bug#59837 - mysqlhotcopy fails with wrong error (11) on specific ↵John H. Embretsen2011-02-081-1/+1
| | | | | | | | | | | | | | | | platforms: Test failed on a certain Linux platform in automated environment. It turns out that this platform has an old version of Perl modules DBI and DBD::mysql installed, as well as the OS itself being relatively old. Allowing error code 11 to be returned from mysqlhotcopy on expected error seems harmless and will make the test pass also with older libraries.
| * Fix for Bug#56817 - mysqlhotcopy tests fail when DBI and DBD-mysql perl ↵John H. Embretsen2011-01-291-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modules are not found Third updated patch - this version also includes copyright notice in added Perl script. This patch implements a check for such modules at runtime. If modules are not found or unable to load, the test is skipped with the following message: [ skipped ] Test needs Perl modules DBI and DBD::mysql Checks are done via a helper Perl script which looks for the module in a runtime environment that is as similar to that of the mysqlhotcopy script as possible (thus not intended for Windows environments at this time). The helper script tells mysql-test about the result by writing information to a temporary file that is later read by mysql-test. See comments in added files (have_dbi_dbd-mysql.inc and checkDBI_DBD-mysql.pl) for details. The patch also removes the mysqlhotcopy tests from the list of disabled tests.
| * Bug#56895 part 1 of 2: Backport of revid ↵John H. Embretsen2011-01-141-1/+1
| | | | | | | | | | | | | | holyfoot@mysql.com-20100823084827-js10vjuil88je35r from mysql-5.5. The purpose is to make MTR logic for mysqlhotcopy the same in 5.1 as in 5.5, making it easier to maintain and fix bugs such as 56817.
* | merge.Sergei Golubchik2010-11-251-0/+2
|\ \ | | | | | | | | | | | | | | | checkpoint. does not compile.
| * | mysqltest now gives error messages with error code for my_delete, my_rename, ↵Michael Widenius2010-09-151-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | my_copy etc. Fixed crashing bug when doing ALTER TABLE RENAME with transactional tables. client/mysqltest.cc: Added errno to error message for system calls (delete, rename etc) Write error message for failures of system calls mysql-test/include/cleanup_fake_relay_log.inc: Disable warnings for remove_file mysql-test/include/diff_tables.inc: Disable warnings for remove_file mysql-test/include/maria_empty_logs.inc: Disable warnings for remove_file mysql-test/include/maria_make_snapshot.inc: Disable warnings for remove_file mysql-test/include/maria_make_snapshot_for_feeding_recovery.inc: Disable warnings for remove_file mysql-test/include/mysqlhotcopy.inc: Disable warnings for remove_file mysql-test/include/ndb_backup.inc: Disable warnings for remove_file mysql-test/include/ndb_backup_print.inc: Disable warnings for remove_file mysql-test/r/alter_table_trans.result: Test of crashing ALTER TABLE RENAME bug mysql-test/t/alter_table_trans.test: Test of crashing ALTER TABLE RENAME bug mysql-test/t/mysqltest.test: Disable warnings for remove_file and move_file mysys/my_copy.c: Fixed wrong error message sql/sql_table.cc: Fixed crashing bug when doing ALTER TABLE RENAME with transactional tables.
| * Patch for bug#52913: Inserted check if mysqlhotcopy script is existing as ↵Horst.Hunger2010-06-041-0/+5
| | | | | | | | requested by review. DIsabled the test until bug#54129 will befixed.
| * Patch for bug#52913 including all review results and changes of date format.Horst.Hunger2010-06-031-0/+116
|
* mysqlhotcopy tests fixed.Alexey Botchkov2010-08-231-1/+1
| | | | | | | | | | | | The include/mysqlhotcopy.inc had an error in the 'if' condition, so it failed if the mysqlhotcopy tool was found. per-file comments: mysql-test/include/mysqlhotcopy.inc test should proceed exactly if the mysqlhotcopy was set. mysql-test/mysql-test-run.pl don't set the MYSQL_HOTCOPY variable if no mysqlhotcopy was found.
* merge of patch for bug#52913 from 5.1-bugteam to trunk-bugfixing. Changed ↵Horst.Hunger2010-06-041-0/+5
| | | | $basedir to $bindir in mysql-test-run.pl.
* Patch for trunk after merge from 5.1-bugteam of bug52913.Horst.Hunger2010-06-031-0/+116