diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-06-06 11:56:29 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-06-06 11:56:29 +0300 |
commit | 75096c84b44875b5d226a734fffb08578bc21e96 (patch) | |
tree | cb0f4fd7f36a98acf2be2fa51988b334d8e97870 /mysql-test/suite/json/t/json_table_mysql.test | |
parent | aa45850687409ba857eb3a0eb19e7ccc28dc02f7 (diff) | |
download | mariadb-git-75096c84b44875b5d226a734fffb08578bc21e96.tar.gz |
MDEV-28525 Some conditions around btr_latch_mode could be eliminated
The types btr_latch_mode and mtr_memo_type_t are partly derived from
rw_lock_type_t. Despite that, some code for converting between them
is using conditions instead of bitwise arithmetics.
Let us define btr_latch_mode in such a way that more conversions to
rw_lock_type_t are possible by bitwise and.
Some SPATIAL INDEX code that assumed !(BTR_MODIFY_TREE & BTR_MODIFY_LEAF)
was adjusted.
Diffstat (limited to 'mysql-test/suite/json/t/json_table_mysql.test')
0 files changed, 0 insertions, 0 deletions