diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-02-18 21:43:19 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-03-21 11:43:19 +0100 |
commit | e69c6e81a89c4b284cc9c34af66403a1153cd492 (patch) | |
tree | 19f4a4677aa317049169f156f3125a389a48e668 /sql/rpl_record.cc | |
parent | 96a7e74ed350063d47b2b625cbfbad1e65706da2 (diff) | |
download | mariadb-git-e69c6e81a89c4b284cc9c34af66403a1153cd492.tar.gz |
MDEV-9560 Mariadb 10.1 Crashes when replicating from 10.0
don't crash in debug builds. issue an error message on corrupt event
Diffstat (limited to 'sql/rpl_record.cc')
-rw-r--r-- | sql/rpl_record.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/rpl_record.cc b/sql/rpl_record.cc index f0308308fea..183248ad1b8 100644 --- a/sql/rpl_record.cc +++ b/sql/rpl_record.cc @@ -185,7 +185,7 @@ pack_row(TABLE *table, MY_BITMAP const* cols, @retval HA_ERR_GENERIC A generic, internal, error caused the unpacking to fail. - @retval ER_SLAVE_CORRUPT_EVENT + @retval HA_ERR_CORRUPT_EVENT Found error when trying to unpack fields. */ #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) @@ -322,7 +322,7 @@ unpack_row(rpl_group_info *rgi, "Could not read field '%s' of table '%s.%s'", f->field_name, table->s->db.str, table->s->table_name.str); - DBUG_RETURN(ER_SLAVE_CORRUPT_EVENT); + DBUG_RETURN(HA_ERR_CORRUPT_EVENT); } } |