Commit graph

55165 commits

Author SHA1 Message Date
Magnus Svensson
dd1c48c380 Merge 2008-10-09 00:04:48 +02:00
Magnus Svensson
9ee8d5e2f7 WL#4189 Add Handles.pm to Makefile.am 2008-10-09 00:03:56 +02:00
Magnus Svensson
cc08b5cd85 Merge 2008-10-08 22:43:37 +02:00
Magnus Svensson
2359d44c61 Merge 2008-10-08 22:30:56 +02:00
Magnus Svensson
846c8e03f8 WL#4189 Add smoke target 2008-10-08 22:29:15 +02:00
Magnus Svensson
956c109c0f BUG#38559 Annoying cygwin problem fixed by resolving pid->winpid before kill instead of just after fork 2008-10-08 22:06:10 +02:00
Magnus Svensson
c2858e8b5b WL#4189 NO need to retry OpenEvent if the process does not exist anymore 2008-10-08 22:02:32 +02:00
Magnus Svensson
b6d6062d8d Merge 2008-10-08 22:00:57 +02:00
Magnus Svensson
5b8771ea3a WL4189 Active state perl fixes 2008-10-08 20:25:28 +02:00
Mats Kindahl
7a6cac5fc0 Fixing some missing table drops. 2008-10-07 14:22:28 +02:00
Mats Kindahl
c8574b77d7 Post-merge fixes. 2008-10-07 10:25:12 +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
22a893895c WL#4189 add verbose also when starting check testcase 2008-10-06 19:34:00 +02:00
Mats Kindahl
b3b8274e08 Merging in 5.1-rpl 2008-10-06 14:21:44 +02:00
Magnus Svensson
c84dfbbd6a Improve gdb coredump 2008-10-06 10:49:12 +02:00
Mats Kindahl
2974607a4b Merging 5.1 main into 5.1-rpl. 2008-10-06 10:27:36 +02:00
Sven Sandberg
4bb00b74ad BUG#39102: valgrind build does not compile in realpath, which make DATA/INDEX DIR fail
Disable the test case on valgrind. This is a backport to 5.1-rpl of
something that already exists in 5.1 main.
2008-10-04 13:06:15 +02:00
He Zhenxing
b0a35c7a6d Auto Merge 2008-09-29 13:36:42 +08:00
He Zhenxing
0d2025e1d4 BUG#38734 rpl_server_id2 sync_with_master failed
Rotate event is automatically generated and written when rotating binary
log or relay log. Rotate events for relay logs are usually ignored by slave
SQL thread becuase they have the same server id as that of the slave.
However, if --replicate-same-server-id is enabled, rotate event
for relay log would be treated as if it's a rotate event from master, and
would be executed by slave to update the rli->group_master_log_name and
rli->group_master_log_pos to a wrong value and cause the MASTER_POS_WAIT
function to fail and return NULL.

This patch fixed this problem by setting a flag bit (LOG_EVENT_RELAY_LOG_F)
in the event to tell the SQL thread to ignore these Rotate events generated
for relay logs.

This patch also added another binlog event flag bit (LOG_EVENT_ARTIFICIAL_F)
to distinquish faked events, the method used before this was by checking if
log_pos was zero.
2008-09-28 15:34:25 +08: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
8764738aef Print tests that has not been run 2008-09-22 18:52:19 +03:00
Magnus Svensson
c955eb6b68 Print 'cygpath -m' command if it fails 2008-09-22 18:44:35 +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
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
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
67580cd220 Make sure the direcory where the test socket is to be created exists 2008-09-20 15:21:29 +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
4174c68595 WL#4189 Wrap the check for socket path length in eval 2008-09-15 16:27:12 +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
d3659a3ee6 Merge 2008-09-11 18:43:56 +02:00
Magnus Svensson
e444c66c0a Merge 2008-09-11 18:40:15 +02:00
Magnus Svensson
6e47698f21 WL#4350 Improve error message 2008-09-11 18:30:30 +02:00
Horst Hunger
48868b2d0e Fix for bug#38349: concurrent_insert_func must not with embedded server. 2008-09-10 16:11:08 +02:00
Horst Hunger
a5e248d402 Final fix for bug#38349: Did the changes due to the 2 reviews.
- Updated slow_query_log_file_basic and general_log_file basis instead of the func version as
the func version run good but the basic versions fail.
- Sent innodb.test to dev@innodb.com.
- variables.test has differences probably due to a bug in mtr or in the SET statement (see bug#39369).
- general_log_file_basic.test and slow_query_log_file_bsaic.test have differences, which might be 
produced by the new mtr (see bug#38124).
2008-09-10 12:50:39 +02:00
Georgi Kodinov
772cdf0000 merged 5.0-bugteam to 5.1-bugteam 2008-09-10 12:55:38 +03:00
Georgi Kodinov
7f1734eb22 merged 5.1.29-rc into 5.1-bugteam 2008-09-10 12:44:21 +03:00
Georgi Kodinov
674d57be85 merged 5.0-5.1.29-rc -> 5.0-bugteam 2008-09-10 12:40:58 +03:00
Evgeny Potemkin
969ea5ed32 Merge 2008-09-10 12:44:38 +04:00
Ramil Kalimullin
237b86818c Merge 2008-09-09 21:24:33 +05:00
Ramil Kalimullin
12b953578c Merge 2008-09-09 20:52:38 +05:00
Martin Hansson
06e4f25fdc Bug#35600: Auto merged. 2008-09-09 17:30:36 +02:00
Ramil Kalimullin
707e676c58 Fix for bug#37526: asymertic operator <=> in trigger
Problem: <=> operator may return wrong results 
comparing NULL and a DATE/DATETIME/TIME value.

Fix: properly check NULLs.
2008-09-09 20:05:27 +05:00
Mats Kindahl
1aee4d9e3b Merging with 5.1-5.1.29-rc 2008-09-09 14:46:18 +02:00
Martin Hansson
0abc0eade2 Bug#35600: Security breach via view, I_S table and prepared
statement/stored procedure

View privileges are properly checked after the fix for bug no 
36086, so the method TABLE_LIST::get_db_name() must be used 
instead of field TABLE_LIST::db, as this only works for tables.
Bug appears when accessing views in prepared statements.
2008-09-09 12:49:08 +02:00
Mats Kindahl
69a8281c41 Bug #39106:
SUPER is not required to change binlog format for session

A user without SUPER privileges can change the value of the
session variable BINLOG_FORMAT, causing problems for a DBA.

This changeset requires a user to have SUPER privileges to
change the value of the session variable BINLOG_FORMAT, and
not only the global variable BINLOG_FORMAT.
2008-09-09 12:19:31 +02:00