diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-09-20 16:53:20 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-09-20 16:53:20 +0300 |
commit | 44fd2c4b24b35cdb5f573395fe07800d05b7c8b6 (patch) | |
tree | 13c130d521c7c1dea3bc9b8b26d9057a1c268668 /storage/innobase/lock | |
parent | 5d9d379329abcbb661ed6c027efbb9fd763958c6 (diff) | |
parent | 0792aff161132fb953510555fe45544991dec95d (diff) | |
download | mariadb-git-44fd2c4b24b35cdb5f573395fe07800d05b7c8b6.tar.gz |
Merge 10.5 into 10.6
Diffstat (limited to 'storage/innobase/lock')
-rw-r--r-- | storage/innobase/lock/lock0prdt.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/lock/lock0prdt.cc b/storage/innobase/lock/lock0prdt.cc index 5a12d97411f..2975659138d 100644 --- a/storage/innobase/lock/lock0prdt.cc +++ b/storage/innobase/lock/lock0prdt.cc @@ -799,6 +799,9 @@ lock_place_prdt_page_lock( ut_ad(index->is_spatial()); ut_ad(!dict_index_is_online_ddl(index)); + if (index->table->is_temporary()) { + return DB_SUCCESS; + } /* Another transaction cannot have an implicit lock on the record, because when we come here, we already have modified the clustered |