Skip to content
Permalink
Browse files
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.
  • Loading branch information
dr-m committed Nov 10, 2017
1 parent 9618c04 commit fa00fed
Showing 1 changed file with 1 addition and 0 deletions.
@@ -594,6 +594,7 @@ rec_get_offsets_func(
ut_ad(is_user_rec || n == 1);
ut_ad(!is_user_rec || leaf || index->is_dummy
|| dict_index_is_ibuf(index)
|| n == n_fields /* dict_stats_analyze_index_level() */
|| n
== dict_index_get_n_unique_in_tree_nonleaf(index) + 1);
ut_ad(!is_user_rec || !leaf || index->is_dummy

0 comments on commit fa00fed

Please sign in to comment.