1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Reset table->record[1] early for sequences to fix comparision of innodb row

Added also suppression of openssl warnings from valgrind
This commit is contained in:
Monty
2017-10-22 20:06:01 +03:00
parent 7204f66c6a
commit a3b4f575b9
4 changed files with 38 additions and 7 deletions

View File

@ -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;