summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorSujatha Sivakumar <sujatha.sivakumar@oracle.com>2013-03-28 14:18:51 +0530
committerSujatha Sivakumar <sujatha.sivakumar@oracle.com>2013-03-28 14:18:51 +0530
commit5c6611b5462ddd35c47b7c2c2b65e1edc090fd8d (patch)
tree924361342b42d301d8cdc1a60c902782b44c7961 /sql/sql_repl.cc
parent61bb634be69ff2e4904f6ca5d81771f92f6ca1c5 (diff)
parentc78c1fe52dbc1034a143c5114ddf43c1d33c9d3b (diff)
downloadmariadb-git-5c6611b5462ddd35c47b7c2c2b65e1edc090fd8d.tar.gz
Merge from mysql-5.1 to mysql-5.5
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 0eb6142090c..0ccabfe74e7 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -2004,6 +2004,8 @@ bool show_binlogs(THD* thd)
if (protocol->write())
goto err;
}
+ if(index_file->error == -1)
+ goto err;
mysql_bin_log.unlock_index();
my_eof(thd);
DBUG_RETURN(FALSE);