Commit 95b47473 authored by Jorgen Loland's avatar Jorgen Loland

Bug#14547952: DEBUG BUILD FAILS ASSERTION IN RECORDS_IN_RANGE()

ha_innobase::records_in_range(): Remove a debug assertion
that prohibits an open range (full table).
This assertion catches unnecessary calls to this method, 
but such calls are not harming correctness.
parent 634e094c
...@@ -6380,7 +6380,6 @@ ha_innobase::records_in_range( ...@@ -6380,7 +6380,6 @@ ha_innobase::records_in_range(
void* heap2; void* heap2;
DBUG_ENTER("records_in_range"); DBUG_ENTER("records_in_range");
DBUG_ASSERT(min_key || max_key);
ut_a(prebuilt->trx == thd_to_trx(ha_thd())); ut_a(prebuilt->trx == thd_to_trx(ha_thd()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment