Commit graph

1335 commits

Author SHA1 Message Date
Sergey Vojtovich
7df22ce11e BUG#39746 - Debug flag breaks struct definition
(server crash)

Altering a table with fulltext index[es] which use
pluggable fulltext parser may cause server crash
in debug builds.

The problem was that ALTER TABLE code wrongly assigned
fulltext parser name.

Also fixed that altering a table with fulltext index[es]
leave stale fulltext parser locks, which prevent
fulltext parsers from being uninstalled after
ALTER TABLE.
2008-12-17 17:24:34 +04:00
John H. Embretsen
b4781e3072 Fix (preliminary?) for Bug#41502 - MTR v2 should not load plugins during server bootstrap.
Adding --loose-skip-falcon option to the mysqld options provided by MTR (v2) during mysqld bootstrap in order to avoid plugin (in this case Falcon) initialization of static variables etc. Options --loose-skip-innodb and --loose-skip-ndbcluster were already included.

This will fix Bug#41014 (falcon_bug_39708 fails in pushbuild in 6.0-rpl: "succeeded - should have failed")
in the case of MTR v2 (which currently is available in -rpl branches only). 
MTR v1 (e.g. in main 6.0 branch) does not have this problem.

It would be more ideal to remove the --loose-skip-* options and provide a single option disabling all plugin initialization instead, or have bootstrap do this by default. Server modifications are (most likely) needed to be able to do that.
2008-12-17 09:39:01 +01:00
Bjorn Munch
60a2e4a90c Bug #31983 Running mysql-test from RPM fails for NDB
Adds $glob_basedir/sbin to search path when needed
2008-12-15 15:14:56 +01:00
Bjorn Munch
ff1161eb58 Bug #31983 Running mysql-test from RPM fails for NDB
Added $glob_basedir/sbin to search path for relevant binaries
2008-12-12 15:10:56 +01:00
Leonard Zhou
bc2095c19e BUG#27477 Remove tmp-directory on MTR start 2008-12-09 18:52:10 +08:00
Patrick Crews
33cf11b428 Bug#41258: mysql-test-run does not copy subdirectories of std_data on Windows (5.0 only)
Altered how we copy data from mysql-test/std_data on Windows to match what we are doing in 5.1 and 6.0
2008-12-05 08:21:03 -05:00
Sven Sandberg
1b228849e9 Clarified the error message printed when mtr's test cleanup check fails. 2008-11-25 17:51:02 +01:00
Magnus Svensson
aeb6b5af88 Bug#40891 test suite timeouts on valgrind host in pushbuild 2008-11-21 13:45:28 +01:00
Magnus Svensson
6dc9b2ab9f mtr - temporarily turn on verbose 2008-11-21 08:57:46 +01:00
Serge Kozlov
53bf864735 Bug#39861, added comment to mtr 2008-11-15 14:40:40 +03:00
Serge Kozlov
bf9d1b565c fix for bug#39861 2008-11-15 00:44:56 +03:00
Serge Kozlov
f51cfbbc26 Bug#39861:
1. mysqltest.cc - added flush to log file after each executed command in a testcase.
2. mtr shows 20 last lines from test case log file if timeout reached.
3. Optimizing the code by Magnus review.
4. It is partially fix bug#40150
2008-11-14 23:35:32 +03:00
Magnus Svensson
41fdb64682 Bug#40705 mtr's check-warnings fails sporadically in pushbuild
- Change the logic slightly for when and how errors from
   check-warnings and check-testcase are reported. The prevoius logic
   reporting testfailed twice and that might have caused this.
 - Also print result code returned from mysqltest when it is "unexpected"
2008-11-14 13:19:37 +01:00
Magnus Svensson
acf0a1c32c WL#4189 Temporarily set parallel=1 by default 2008-11-14 10:22:44 +01:00
Magnus Svensson
d2773d34f5 WL#4189 Add full backward compatibility to mysql-test-run.pl
- Add copy of mtr v1 and make it possible to run it using MTR_VERSION=1
2008-11-14 09:45:32 +01:00
Magnus Svensson
5fd1c9768a WL#4189 Use only one worker for --record 2008-11-10 16:10:49 +01:00
Magnus Svensson
4b739dcf45 Bug#40193 mtr --record is currently broken in 5.1-rpl and 6.0-rpl 2008-11-10 14:53:53 +01:00
Magnus Svensson
6a58dc5180 WL#4189 removed unused variables 2008-11-10 14:53:21 +01:00
Magnus Svensson
3fb892bf79 WL#4189 - fix for running from bin dist 2008-11-07 16:22:53 +01:00
Chad MILLER
60b8b18f08 Symlink master sock if it is moved elsewhere for path-length reasons. 2008-11-03 13:10:59 -05:00
Magnus Svensson
b7967587e6 WL#4189 Set parallel to 1 if running under vmware on windows 2008-10-11 17:30:26 +02:00
Magnus Svensson
ac24a79290 BUG#39008 Additional fix after review, remove files that could potentially be set to path outside datadir 2008-10-10 16:19:04 +02:00
Magnus Svensson
2359d44c61 Merge 2008-10-08 22:30:56 +02:00
Magnus Svensson
22a893895c WL#4189 add verbose also when starting check testcase 2008-10-06 19:34:00 +02:00
Vladislav Vaintroub
08aaf07de5 merge fix for 38629 from 5.0 2008-10-02 17:56:29 +02:00
Vladislav Vaintroub
22a0112f8d Bug #38629
mysql-test-run.pl --start-and-exit starts but does not exit
Instead, it hangs with ActiveState perl. The error is
believed to be a bug in ActiveState implementation.
Workaround is using POSIX::_exit, as described here
http://www.perlmonks.org/?node_id=334610

Thanks to Philip Stoev for the idea of the patch.
2008-10-02 16:29:41 +02:00
Magnus Svensson
8764738aef Print tests that has not been run 2008-09-22 18:52:19 +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
623a10868b WL#4189 fix small scheduler loop problem causing report that not all tests were run 2008-09-22 10:02:45 +03:00
Magnus Svensson
bffebb9cbc Change typo . -> , 2008-09-20 17:00:05 +03:00
Magnus Svensson
02eee93f3a Versional testing support 2008-09-20 16:51:31 +03:00
Magnus Svensson
2f5e98264a WL4189 Cap the autodetected parallelism value to 8 2008-09-15 17:09:27 +02:00
Magnus Svensson
588efe1216 WL#4189 Create a tempdir if tmpdir path becomes too long 2008-09-15 17:05:14 +02:00
Magnus Svensson
7e0869b9f1 WL#4189 mtr, hang if worker fails before connected to server 2008-09-15 12:15:08 +02:00
Magnus Svensson
88a9c6f5a4 WL#4189 mtr --embedded from binary distribution 2008-09-15 12:13:47 +02:00
Magnus Svensson
b928473b71 WL#4350 Fix --record and no .result file 2008-09-11 22:05:44 +02:00
Magnus Svensson
6e47698f21 WL#4350 Improve error message 2008-09-11 18:30:30 +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
d266e9d553 Bug#32052 Small inconsistency with the big_test and ndb_extra test options 2008-09-05 17:37:55 +02:00
Magnus Svensson
b0750d6843 Bug #39071 mtr's check-testcase reports extra failures for correct test cases 2008-09-05 16:22:02 +02:00
Magnus Svensson
8a08ec32af Merge 2008-09-05 16:06:54 +02:00
Magnus Svensson
40db2c21e4 Bug #39213 Could not find reason for skipping test 2008-09-05 16:06:08 +02:00
Magnus Svensson
5834ef2c4a WL#4350
- fix scheduler bug
2008-09-05 15:09:29 +02:00
Magnus Svensson
d616caa6bc Bug#39008 perl warning in mtr: 'use of uninitialized value in concatenation' in mtr:3995 2008-09-05 14:40:07 +02:00
Magnus Svensson
8fb38c6b78 Make mysql-test-run.pl executable by user 2008-09-05 14:23:52 +02:00
Magnus Svensson
913ec830b3 WL#4350
- Rearrange spawn worker code
2008-09-05 14:09:39 +02:00
Magnus Svensson
c3e7b68995 Fix gcov in mtr.pl 2008-09-05 11:32:33 +02:00
Magnus Svensson
6a4af260cc Bug#36616 rpl tests without 'source include/have_log_bin.inc' fail starting server 2008-08-29 14:46:22 +02:00
Magnus Svensson
a846ab811e Bug#33337, silently convert --gdb(etc.) to --client-gdb in embedded mode 2008-08-29 12:33:02 +02:00