mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Fixed a valgrind warning:
reverted the change done for WL 4443.
This commit is contained in:
parent
19b8f1ee88
commit
9d1f31fb4b
1 changed files with 1 additions and 1 deletions
|
@ -3985,7 +3985,7 @@ end:
|
|||
'UPDATE t SET part_key = const WHERE cond_is_prunable' so it adds
|
||||
a lock for part_key partition.
|
||||
*/
|
||||
if (!thd->lex->is_query_tables_locked() &&
|
||||
if (table->file->get_lock_type() == F_UNLCK &&
|
||||
!partition_key_modified(table, table->write_set))
|
||||
{
|
||||
bitmap_copy(&prune_param.part_info->lock_partitions,
|
||||
|
|
Loading…
Reference in a new issue