From a3b4f575b966ff91035fd8104eadd4df366574c1 Mon Sep 17 00:00:00 2001 From: Monty Date: Sun, 22 Oct 2017 20:06:01 +0300 Subject: Reset table->record[1] early for sequences to fix comparision of innodb row Added also suppression of openssl warnings from valgrind --- sql/sql_sequence.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sql/sql_sequence.cc') diff --git a/sql/sql_sequence.cc b/sql/sql_sequence.cc index c454d6267d4..ec40dc5a507 100644 --- a/sql/sql_sequence.cc +++ b/sql/sql_sequence.cc @@ -594,12 +594,6 @@ int sequence_definition::write(TABLE *table, bool all_fields) else table->rpl_write_set= &table->s->all_set; - /* - The following is needed to fix comparison of rows in - ha_update_first_row() for InnoDB - */ - memcpy(table->record[1],table->s->default_values, table->s->reclength); - /* Update table */ save_write_set= table->write_set; save_read_set= table->read_set; -- cgit v1.2.1