Magnus Svensson
5b8771ea3a
WL4189 Active state perl fixes
2008-10-08 20:25:28 +02:00
Magnus Svensson
870699c9f7
WL#4189 Only kill process that hasn't yet finished at end of mtr.pl. Improve debug printout
2008-10-06 19:52:26 +02:00
Magnus Svensson
ab5c044e4d
WL4189 Add Handles.pm and use it from My::File::Path to show open handles. Rewrite rmtree to use File::Find so we can get better debug printouts when something fails
2008-10-06 19:51:33 +02:00
Magnus Svensson
c84dfbbd6a
Improve gdb coredump
2008-10-06 10:49:12 +02:00
Andrei Elkin
4310d57305
Bug #36968 rpl_temporary_errors.test produces warning in pushbuild
...
backporting a part of the bug patch to 5.1.29 tree which uses an older version of mtr.
2008-10-02 10:46:14 +03:00
Magnus Svensson
13e6758df0
Memoize functions that converts between different paths, a given input string will always return the same output. This save a lot of calls to cygpath for example
2008-09-22 19:15:55 +03:00
Magnus Svensson
c955eb6b68
Print 'cygpath -m' command if it fails
2008-09-22 18:44:35 +03:00
Magnus Svensson
773fbd9543
Bug #37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust
2008-09-22 12:03:00 +03:00
Magnus Svensson
9e06353040
Use --batch when invoking gdb, to make sure it will exit in case of an error in the command files.
2008-09-20 17:10:22 +03:00
Magnus Svensson
02eee93f3a
Versional testing support
2008-09-20 16:51:31 +03:00
Magnus Svensson
67580cd220
Make sure the direcory where the test socket is to be created exists
2008-09-20 15:21:29 +03:00
Magnus Svensson
4174c68595
WL#4189 Wrap the check for socket path length in eval
2008-09-15 16:27:12 +02:00
Magnus Svensson
b928473b71
WL#4350 Fix --record and no .result file
2008-09-11 22:05:44 +02:00
Magnus Svensson
1d8583f5a2
Bug#38817 please make mtr analyze crashes better
2008-09-06 08:57:05 +02:00
Magnus Svensson
189ac2c7d4
Bug#35482 mysql-test-run have_innodb does not detect external server has Innodb support
2008-09-05 18:28:20 +02:00
Magnus Svensson
9dbcf1b26f
WL#4350 Options in my.cnf style config file should not start with --
2008-09-05 15:31:09 +02:00
Magnus Svensson
7f954bd287
Fix misspelled variable in mtr.pl
2008-09-05 14:06:22 +02:00
Magnus Svensson
c3e7b68995
Fix gcov in mtr.pl
2008-09-05 11:32:33 +02:00
Mattias Jonsson
f84bf0077d
manual merge of bug#37402
2008-08-12 12:26:23 +02:00
Mattias Jonsson
854e230707
merge into an updated 5.1-bugteam tree
2008-08-11 16:15:39 +02:00
Magnus Svensson
788362de81
Debug printouts
2008-08-11 10:41:23 +02:00
Magnus Svensson
c431b23bae
Fixup mtr_unique. Remove usage of ps and grep. Make it a module. Move _process_alive to Platform.pm. Rename opt_baseport to baseport, it's not an option
2008-08-10 19:46:43 +02:00
Magnus Svensson
66b42a13f2
Make events_restart more stable by waiting for the server to be stopped before starting it again
2008-08-09 11:16:12 +02:00
Magnus Svensson
ed8bc526ae
Merge
2008-08-04 22:25:45 +02:00
Magnus Svensson
afbbe64aae
Patch for combinations file using different --default-storage-engine= directives
2008-08-04 21:56:20 +02:00
Magnus Svensson
39ad2dc05a
Bug #38181 Please print more debug info when tests fail
2008-08-04 21:54:44 +02:00
Magnus Svensson
53e17da331
Bug #33810 mysql-test-run can't find testcase if it is in a non-default testsuite
2008-08-01 16:08:51 +02:00
Magnus Svensson
05386f9033
Remove debug printout
2008-07-24 22:22:47 +02:00
Magnus Svensson
ee3b5acc62
Check that the default-storage-engine used by test is a supported engine
2008-07-24 22:20:35 +02:00
Mattias Jonsson
295fc5834a
Bug#37402: Mysql cant read partitioned table with capital letter in the name
...
Problem was that ha_partition had HA_FILE_BASED flag set
(since it uses a .par file), but after open it uses the first partitions
flags, which results in different case handling for create and for
open.
Solution was to change the underlying partition name so it was consistent.
(Only happens when lower_case_table_names = 2, i.e. Mac OS X and storage
engines without HA_FILE_BASED, like InnoDB and Memory.)
(Recommit after adding rename of check_lowercase_names to
get_canonical_filename, and moved it from handler.h to mysql_priv.h)
NOTE: if a mixed case name for a partitioned table was created when
lower_case_table_name = 2 it should be renamed or dropped before using
the updated version (See bug#37402 for more info)
2008-07-11 01:14:13 +02:00
Mattias Jonsson
da29c528d3
Bug#35161: --myisam-recover does not work for partitioned MyISAM tables
...
Problem was that auto_repair, is_crashed and check_and_repair was not
implemented in ha_partition.
Solution, implemented them as loop over all partitions for is_crashed and
check_and_repair, and using the first partition for auto_repair.
(Recommit after fixing review comments)
2008-07-07 17:54:42 +02:00
Magnus Svensson
079fa90b8d
Turn off timestamping
2008-06-19 11:20:45 +02:00
Magnus Svensson
101b4f2e7b
Merge parallel mtr
2008-06-19 10:10:37 +02:00
Magnus Svensson
ce4b99857b
Instruct mysql_upgrade what tmpdir to use
2008-06-19 10:07:55 +02:00
Magnus Svensson
cafa042a29
Merge
2008-06-18 16:09:53 +02:00
Georgi Kodinov
bd4c6d9b8c
Bug#37069: Make federated disabled by default
...
The federated storage engine is now disabled by default.
mysql-test-run.pl is updated to enable it whenever it's required and available.
2008-05-30 13:21:45 +03:00
msvensson@pilot.(none)
10348f0f38
(temporarily)Turn on timestamp by default
2008-05-20 11:48:52 +02:00
msvensson@pilot.(none)
f36d0dae30
Merge bk-internal:/home/bk/mysql-5.1-maint2
...
into pilot.(none):/data/msvensson/mysql/mysql-5.1-maint2
2008-05-09 12:36:32 +02:00
msvensson@pilot.(none)
447916b9e6
Make printout of $name nicer
...
Remove debug printouts
2008-05-09 11:50:36 +02:00
msvensson@shellback.(none)
c45e9ff746
Generate a unique tmpdir for each server to avoid that they delete each others
...
temporary files at start up - see 'mysql_rm_tmp_tables'
2008-05-06 17:11:09 +02:00
msvensson@pilot.mysql.com
39e11a1ddb
Add printouts
2008-05-05 22:55:47 +02:00
msvensson@pilot.mysql.com
9d6d039cf1
Tune reporting
2008-05-04 23:22:41 +02:00
msvensson@pilot.mysql.com
fb88bd04a6
Set "timediff" to off by default
2008-05-04 21:43:49 +02:00
msvensson@pilot.mysql.com
ec03ad0591
Move opt_timer to mtr_report.pm
2008-05-04 21:40:40 +02:00
msvensson@pilot.mysql.com
b9a810dd25
Correctly calculate failed tests
2008-05-04 21:21:11 +02:00
msvensson@pilot.(none)
6cef6279c2
Always set bogomips unless already set
...
Return undef only in case kstat works
Cpus reported once, but with 'cpu_count' set to the actual number
2008-05-04 16:35:16 +02:00
msvensson@pilot.(none)
e088f111e9
Use SysInfo.pm to find a suitable value for number of workers when
...
--parallel hasn't been specified
Add lib/My/SysInfo.pm
2008-05-04 13:31:40 +02:00
msvensson@pilot.mysql.com
8c97dc80ca
Print tests that has been run but shouldn't and vice versa
...
Use opt_start_timeout also for ndb
Remove the .result files generated by 'check_testcase'
2008-05-02 12:11:04 +02:00
msvensson@pilot.mysql.com
4f9409c835
Move code that saves datadirs to test server
...
Remove mtr_report_test_failed
2008-04-27 23:35:38 +02:00
msvensson@pilot.mysql.com
b18a64979a
Run all check-warning and check-testcase in parallel, this also give the
...
oportunity to check if any other process fails during this.
Add possiblitiy to store "user_data" in a Safeprocess
Add function to get pid from a SafeProcess
2008-04-27 21:31:32 +02:00