summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.cc
diff options
context:
space:
mode:
authorunknown <mkindahl@dl145h.mysql.com>2008-03-14 17:52:57 +0100
committerunknown <mkindahl@dl145h.mysql.com>2008-03-14 17:52:57 +0100
commit4597814717f4ae503923ad5ea7aacae3a95b6435 (patch)
treef8cb2728c2c96378568cfbdfd66490343f7d36db /sql/rpl_rli.cc
parent62dee6f7180b777de65159ab9a3159390b28dd27 (diff)
downloadmariadb-git-4597814717f4ae503923ad5ea7aacae3a95b6435.tar.gz
Post-merge fixes.
mysql-test/extra/rpl_tests/rpl_loaddata.test: Removing SHOW MASTER STATUS that does not seem to make sense. mysql-test/extra/rpl_tests/rpl_log.test: Correcting test case to sync slave with master. mysql-test/suite/binlog/r/binlog_unsafe.result: Result change. mysql-test/suite/binlog/t/binlog_unsafe.test: Removing unsafe variable from list of safe variables. mysql-test/suite/rpl/r/rpl_loaddata.result: Result change. mysql-test/suite/rpl/r/rpl_skip_error.result: Result change. mysql-test/suite/rpl/t/rpl_skip_error.test: Correcting bad manual+automatic merge. Test is now only relevant for statement- based replication. sql/rpl_rli.cc: Correcting automerge undoing previous change of return value. Relay_log_info::wait_for_pos() should return -2 when not initialized to work correctly.
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r--sql/rpl_rli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index 03f790b934f..bd8246b066f 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -615,7 +615,7 @@ int Relay_log_info::wait_for_pos(THD* thd, String* log_name,
DBUG_ENTER("Relay_log_info::wait_for_pos");
if (!inited)
- DBUG_RETURN(-1);
+ DBUG_RETURN(-2);
DBUG_PRINT("enter",("log_name: '%s' log_pos: %lu timeout: %lu",
log_name->c_ptr(), (ulong) log_pos, (ulong) timeout));