1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/mysql-test/include
Luis Soares d8bd11e5b1 BUG#47639: The rpl_binlog_corruption test fails on Windows
The test case rpl_binlog_corruption fails on windows because when
adding a line to the binary log index file it gets terminated
with a CR+LF (which btw, is the normal case in windows, but not on
Unixes - LF). This causes mismatch between the relay log names,
causing mysqld to report that it cannot find the log file.

We fix this by creating the instrumented index file through
mysql, ie, using SELECT ... INTO DUMPFILE ..., as opposed on
relying on ultimatly OS commands like: -- echo "..." >
index. These changes go into the file and make the procedure
platform independent:

  include/setup_fake_relay_log.inc

Side note: when using SELECT ... INTO DUMPFILE ..., one needs to
check if mysqld is running with secure_file_priv. If it is, we do
it in two steps: 1. create the file on the allowed location;
2. move it to the datadir. If it is not, then we just create the
file directly on the datadir (so previous step 2. is not needed).
2010-02-02 15:16:47 +00:00
..
2003-08-28 06:08:17 +03:00
2008-11-24 16:56:48 -05:00
2008-03-17 14:26:00 +03:00
2005-07-06 17:16:22 +05:00
2007-12-12 18:19:24 +01:00
2007-06-28 21:34:54 +04:00
2007-06-28 21:34:54 +04:00
2007-06-28 21:34:54 +04:00
2008-08-04 07:04:47 +02:00
2006-01-12 19:51:02 +01:00
2007-06-28 21:34:54 +04:00
2009-06-15 17:36:51 +03:00
2009-12-10 11:44:19 +08:00
2008-12-02 11:05:56 +01:00
2008-05-08 20:13:39 +02:00
2007-12-12 18:19:24 +01:00
2007-02-19 15:31:55 +03:00
2009-03-15 18:39:48 -04:00
2007-09-05 18:02:46 +02:00
2007-12-12 18:19:24 +01:00
2007-12-12 18:19:24 +01:00
2007-04-10 18:01:29 +03:00
2006-01-12 19:51:02 +01:00
2004-12-13 21:00:43 +01:00
2008-09-20 17:00:05 +03:00
2006-08-16 19:29:49 +02:00
2009-08-12 13:31:56 +08:00
2007-06-21 21:58:59 +02:00
2008-01-14 15:38:02 +08:00
2008-01-14 15:38:02 +08:00
2008-01-14 15:38:02 +08:00
2006-11-20 22:42:06 +02:00
2006-12-11 11:44:03 -05:00
2007-12-12 18:19:24 +01:00
2007-06-21 21:58:59 +02:00
2007-06-21 21:58:59 +02:00
2008-06-25 16:59:38 +02:00
2009-04-04 01:33:13 +04:00
2008-12-02 11:05:56 +01:00