mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
MDEV-14100 Assertion `!is_user_rec || leaf || ...
rec_get_offsets_func(): Relax a bogus debug assertion. It would fail when we are operating on a copied prefix of a node pointer record.
This commit is contained in:
parent
9618c04e3f
commit
fa00fedaac
1 changed files with 1 additions and 0 deletions
|
@ -594,6 +594,7 @@ rec_get_offsets_func(
|
||||||
ut_ad(is_user_rec || n == 1);
|
ut_ad(is_user_rec || n == 1);
|
||||||
ut_ad(!is_user_rec || leaf || index->is_dummy
|
ut_ad(!is_user_rec || leaf || index->is_dummy
|
||||||
|| dict_index_is_ibuf(index)
|
|| dict_index_is_ibuf(index)
|
||||||
|
|| n == n_fields /* dict_stats_analyze_index_level() */
|
||||||
|| n
|
|| n
|
||||||
== dict_index_get_n_unique_in_tree_nonleaf(index) + 1);
|
== dict_index_get_n_unique_in_tree_nonleaf(index) + 1);
|
||||||
ut_ad(!is_user_rec || !leaf || index->is_dummy
|
ut_ad(!is_user_rec || !leaf || index->is_dummy
|
||||||
|
|
Loading…
Add table
Reference in a new issue