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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user