summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-01-31 15:04:37 +0100
committerSergei Golubchik <serg@mariadb.org>2015-01-31 21:51:45 +0100
commit863cfb3fa5153e7754279324ba7e66a4cfdac805 (patch)
treea1eac5e06bb16f03703f03d40cfb203646e49c0b /sql/sql_repl.cc
parentb050354ffb15e4e27498b169ec723da4d8aa8da6 (diff)
downloadmariadb-git-863cfb3fa5153e7754279324ba7e66a4cfdac805.tar.gz
small cleanup, remove a useless function
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 6bc8d7e6c45..b44bd943f89 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -2655,7 +2655,7 @@ static int send_one_binlog_file(binlog_send_info *info,
LOG_INFO* linfo,
my_off_t start_pos)
{
- assert_LOCK_log_owner(false); // we don't have LOCK_log
+ mysql_mutex_assert_not_owner(mysql_bin_log.get_log_lock());
/* seek to the requested position, to start the requested dump */
if (start_pos != BIN_LOG_HEADER_SIZE)