diff options
author | Monty <monty@mariadb.org> | 2017-10-22 20:06:01 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-10-22 20:23:09 +0300 |
commit | a3b4f575b966ff91035fd8104eadd4df366574c1 (patch) | |
tree | ca324de18392b7106b8590c4303633482b0e4058 /sql/sql_sequence.cc | |
parent | 7204f66c6a008c02c923b0f431372f9ea75d6f06 (diff) | |
download | mariadb-git-a3b4f575b966ff91035fd8104eadd4df366574c1.tar.gz |
Reset table->record[1] early for sequences to fix comparision of innodb row
Added also suppression of openssl warnings from valgrind
Diffstat (limited to 'sql/sql_sequence.cc')
-rw-r--r-- | sql/sql_sequence.cc | 6 |
1 files changed, 0 insertions, 6 deletions
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; |