1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +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

@@ -6066,7 +6066,7 @@ int handler::update_first_row(uchar *new_data)
/*
We have to do the memcmp as otherwise we may get error 169 from InnoDB
*/
if (memcmp(table->record[0], table->record[1], table->s->reclength))
if (memcmp(new_data, table->record[1], table->s->reclength))
error= update_row(table->record[1], new_data);
}
end_error= ha_rnd_end();