Skip to content

Commit

Permalink
[CBRD-24676] Remove the assert in btree_get_stats_with_AR_sampling. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hyahong authored Mar 10, 2023
1 parent 2a8ece8 commit 5a6fdef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/storage/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -6696,7 +6696,6 @@ btree_get_stats_with_AR_sampling (THREAD_ENTRY * thread_p, BTREE_STATS_ENV * env
if (found)
{
key_cnt = btree_node_number_of_keys (thread_p, BTS->C_page);
assert_release (key_cnt >= 0);

#if !defined(NDEBUG)
header = btree_get_node_header (thread_p, BTS->C_page);
Expand Down

0 comments on commit 5a6fdef

Please sign in to comment.