diff options
author | monty@mysql.com <> | 2005-02-28 12:18:39 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-02-28 12:18:39 +0200 |
commit | 3839e443a4fc031c183434558bc0588639707b36 (patch) | |
tree | f466a4f954ca82d8aae5e4d3ab0a985e7fdce2f7 /sql/sql_repl.cc | |
parent | 21ca91aac6ed60571e9ccfe3af02c6bc32acd1f7 (diff) | |
parent | ab11370de686d656f34cedab2b06f35b3e84a315 (diff) | |
download | mariadb-git-3839e443a4fc031c183434558bc0588639707b36.tar.gz |
merge with 4.1
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index 3b4e822a3df..8c486566fa6 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -214,7 +214,7 @@ bool log_in_use(const char* log_name) if ((linfo = tmp->current_linfo)) { pthread_mutex_lock(&linfo->lock); - result = !memcmp(log_name, linfo->log_file_name, log_name_len); + result = !bcmp(log_name, linfo->log_file_name, log_name_len); pthread_mutex_unlock(&linfo->lock); if (result) break; |