Commit graph

53286 commits

Author SHA1 Message Date
msvensson@pilot.mysql.com
bc4874b79c Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-25 18:40:49 +01:00
msvensson@pilot.mysql.com
dfa3be4944 Bug#34761 Mysql-test-run.pl script hangs on Windows 2008-03-25 16:29:32 +01:00
msvensson@pilot.mysql.com
69a755d6a0 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-03-25 16:28:02 +01:00
msvensson@pilot.mysql.com
06c73d7d1c Bug#34761 Mysql-test-run.pl script hangs on Windows 2008-03-25 16:27:23 +01:00
msvensson@pilot.mysql.com
3748684396 Merge bk-internal:/home/bk/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-03-25 16:02:06 +01:00
msvensson@pilot.mysql.com
cd23635d9e Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-mvt
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-25 09:26:00 +01:00
msvensson@pilot.mysql.com
9201ff3c36 Find mysqld binary from it's basedir 2008-03-25 09:19:03 +01:00
msvensson@pilot.mysql.com
932ca861e4 Bug#34654 RESET SLAVE and STOP SLAVE/START SLAVE does not clear Last_XYZ_Errno 2008-03-14 21:06:01 +01:00
msvensson@pilot.mysql.com
1752b140c3 Bug #34654 RESET SLAVE and STOP SLAVE/START SLAVE does not clear Last_XYZ_Errno 2008-03-14 21:02:52 +01:00
msvensson@pilot.mysql.com
d8a6ff5d60 Only use safe_kill if SAFE_WINPID is defined 2008-03-14 19:15:01 +01:00
mkindahl@dl145h.mysql.com
f48aa05fd0 Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
2008-03-14 18:18:14 +01:00
msvensson@pilot.mysql.com
9cc1698fea Add missing DROP TABLE 2008-03-14 17:59:03 +01:00
mkindahl@dl145h.mysql.com
c5fefc688c Post-merge fixes. 2008-03-14 17:52:57 +01:00
msvensson@pilot.mysql.com
b933ae23e3 Mask columns 35 and 36 since Last_IO_errno is not reset du to
bug#34654
2008-03-14 15:42:27 +01:00
msvensson@pilot.mysql.com
ddbdbb1bc8 Revert extra debug printouts 2008-03-14 15:25:11 +01:00
msvensson@pilot.mysql.com
1e39c3cc70 kickstart the fake cygwin process in case safe_kill fails
Loop twice over process to shutdown, first handle thise that has been
shutdown and then continue with the ones that have been killed
2008-03-14 14:01:12 +01:00
msvensson@pilot.mysql.com
eaf8435cc3 Turn off vernose for windows 2008-03-14 13:59:43 +01:00
msvensson@pilot.mysql.com
60dcedb7c2 Add additional printouts
Fix formatting
2008-03-14 13:34:39 +01:00
msvensson@pilot.mysql.com
0e7e96fc0b Add std_data/ndb_backupXX to list of dirs to copy 2008-03-14 13:29:41 +01:00
msvensson@pilot.mysql.com
0d1d46c7e2 Find ndb binaries
Verbose SafeProcess.pm
2008-03-13 17:16:42 +01:00
msvensson@pilot.mysql.com
c74678e227 New Makefile.am for mysql-test makes it pass also "make distcheck" and "make install" 2008-03-13 17:07:11 +01:00
mkindahl@dl145h.mysql.com
b5ebc67855 Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
2008-03-12 13:07:35 +01:00
msvensson@pilot.mysql.com
af585cf4d8 Also copy [mysqld] section to [embedded] 2008-03-12 12:35:30 +01:00
msvensson@pilot.mysql.com
4458b5faa0 Add extra checks of Last_errno in SHOW SLAVE STATUS for extra
diagnostics
2008-03-12 12:20:40 +01:00
msvensson@pilot.mysql.com
08a901091c Repair any table in mysql database as part of cleaning up from previous runs 2008-03-12 12:19:36 +01:00
msvensson@pilot.mysql.com
0dba42cf7c Improve process kill on windows 2008-03-12 11:32:18 +01:00
msvensson@pilot.mysql.com
4dd397e457 Show which servers have been started for --start-and-exit and --start-dirty 2008-03-12 10:34:24 +01:00
sven@riska.(none)
38b406cec8 Removed pushbuild errors.
Problem: rpl_variables_stm.test used a character set and a collation which
are not included on all platforms.
Fix: replace the character set and collation by ones that are included on
all platforms. (rpl_variables_stm does not rely on which character set is
used, the only important aspect is the fact that it changes.)
2008-03-11 18:43:29 +01:00
msvensson@pilot.mysql.com
9d142ff0a8 Temporarily turn on verbose on windows 2008-03-11 08:20:44 +01:00
msvensson@pilot.mysql.com
a4b15aa3fa Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-10 16:42:04 +01:00
msvensson@pilot.mysql.com
de8654e0f4 Mark test that includes "ndb_master-slave.inc" as ndb_test 2008-03-10 16:40:19 +01:00
msvensson@pilot.mysql.com
6967aa18e5 Cleanup with/skip/supported-ndbcluster 2008-03-10 16:38:28 +01:00
msvensson@pilot.mysql.com
20b3c15590 Improve error message dir -> croak 2008-03-10 16:37:37 +01:00
sven@riska.(none)
f0a9d75a6c Problem: sporadic pushbuild errors in rpl_ndb_basic.
The reason is that we are using a sleep to wait for slave to reach the
slave_transaction_retries limit.
Fix: wait for the slave to stop instead. This is what we want to do, since
the slave stops when the limit is reached.
2008-03-10 16:24:12 +01:00
msvensson@pilot.mysql.com
5dbb4c96eb Ignore all common signals
Just retry OpenEvent a couple of times with a "yield" in between
2008-03-10 16:00:39 +01:00
sven@riska.(none)
afde9893b1 Problem: Pushbuild errors because sql_mode is unsafe but test thinks it is
safe.
Fix: Move sql_mode: from the section of the test where safe variables are
tested, to the section where unsafe variables are tested.
2008-03-10 15:26:21 +01:00
msvensson@pilot.mysql.com
afefb65cea Print args in case requirement fails 2008-03-10 14:09:59 +01:00
msvensson@pilot.mysql.com
115cb41beb Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-10 12:55:25 +01:00
msvensson@pilot.mysql.com
34605cc110 Add retry logic for OpenEvent to avoid problems when the
process to kill hasn't yet created the event
2008-03-10 12:54:46 +01:00
msvensson@pilot.mysql.com
3b7c6573d6 Don't run federated tests for embedded 2008-03-10 12:54:15 +01:00
msvensson@pilot.mysql.com
743b8d0f0e Look for sourced file relative to test first 2008-03-10 12:53:35 +01:00
aelkin/andrei@mysql1000.(none)
8a4c652199 Bug #26622 MASTER_POS_WAIT does not work as documented
Affected tests fixing. After the fix for st_relay_log_info::wait_for_pos() that
handles widely used select('master-bin.xxxx',pos) invoked by mysqltest
there appeared to be four tests that either tried synchronizing when
the slave was stopped or used incorrect synchronization method like
to call `sync_with_master' from the current connection being to the
master itself.

Fixed with correcting the current connection or/and using the correct
synchronization macro when possible.
2008-03-07 21:14:28 +02:00
sven@riska.(none)
81b1d712bf BUG#31168: @@hostname does not replicate
Problem: in mixed and statement mode, a query that refers to a
system variable will use the slave's value when replayed on
slave. So if the value of a system variable is inserted into a
table, the slave will differ from the master.
Fix: mark statements that refer to a system variable as "unsafe",
meaning they will be replicated by row in mixed mode and produce a warning
in statement mode. There are some exceptions: some variables are actually
replicated. Those should *not* be marked as unsafe.
BUG#34732: mysqlbinlog does not print default values for auto_increment variables
Problem: mysqlbinlog does not print default values for some variables,
including auto_increment_increment and others. So if a client executing
the output of mysqlbinlog has different default values, replication will
be wrong.
Fix: Always print default values for all variables that are replicated.
I need to fix the two bugs at the same time, because the test cases would
fail if I only fixed one of them.
2008-03-07 13:59:36 +01:00
aelkin/andrei@mysql1000.(none)
9c2ef8377f Bug #28780 report_host is not available through SELECT @@report_host
merging and post-make-test changes.
2008-03-07 14:39:37 +02:00
aelkin/andrei@mysql1000.(none)
93737d3f7a Merge mysql1000.(none):/home/andrei/MySQL/FIXES/5.1/bug22234-Extra_Slave_Col_Slave_should_stop_on_Error_Field
into  mysql1000.(none):/home/andrei/MySQL/MERGE/5.1
2008-03-06 20:35:59 +02:00
aelkin/andrei@mysql1000.(none)
65bb7d3e2d Merge mysql1000.(none):/home/andrei/MySQL/FIXES/5.1/bug28780_report_host_no_show
into  mysql1000.(none):/home/andrei/MySQL/MERGE/5.1
2008-03-06 20:33:29 +02:00
aelkin/andrei@mysql1000.(none)
7d0a83ce1e Bug #22234 Extra Slave Col: Slave should stop on Error Field d of table
There was a failure in that show slave status displayed a wrong message
when slave stopped at processing a row event inserting to a default-less
column.

The problem seem to have ceased after recent fixes in rbr code.
However, the test was not updated to carry testing of the case commented-out.

Uncommenting and editing the test.
Notice, Bug#23907 is most probably a duplicate of this one.
2008-03-06 20:32:47 +02:00
msvensson@pilot.mysql.com
c7f2d6ef6c Use retry=3 as default 2008-03-06 17:55:16 +01:00
aelkin/andrei@mysql1000.(none)
122fefc593 Bug#26622 MASTER_POS_WAIT does not work as documented
MASTER_POS_WAIT return values are different than expected when the server is not a slave. 
It returns -1 instead of NULL.

Fixed with correcting  st_relay_log_info::wait_for_pos() to return the proper
value in the case of rli info is not inited.
2008-03-06 14:49:21 +02:00
msvensson@pilot.mysql.com
c7af2433b9 Improve error messages 2008-03-06 10:19:41 +01:00