diff options
author | guilhem@mysql.com <> | 2006-02-26 00:03:52 +0100 |
---|---|---|
committer | guilhem@mysql.com <> | 2006-02-26 00:03:52 +0100 |
commit | 3f3473cfb570c8994e8af59397f94a61c4d71941 (patch) | |
tree | baf4c0a4bf4df6cde36826fffb0fd4316050c38f /sql/sql_repl.cc | |
parent | eb4688330d5cddc93981276bde9cb36cae6d17ec (diff) | |
download | mariadb-git-3f3473cfb570c8994e8af59397f94a61c4d71941.tar.gz |
Fix for a segfault in my previous cset (about WL#2712 and WL#2977).
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index bf9a6078a8f..743a0a6b565 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -1576,6 +1576,8 @@ int log_loaded_block(IO_CACHE* file) if (!(block_len = (char*) file->read_end - (char*) buffer)) return 0; lf_info = (LOAD_FILE_INFO*) file->arg; + if (lf_info->thd->current_stmt_binlog_row_based) + return 0; if (lf_info->last_pos_in_file != HA_POS_ERROR && lf_info->last_pos_in_file >= file->pos_in_file) return 0; |