Commit 67cc7ab4 authored by Marko Mäkelä's avatar Marko Mäkelä

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 531612b3
...@@ -7611,7 +7611,6 @@ ha_innobase::records_in_range( ...@@ -7611,7 +7611,6 @@ ha_innobase::records_in_range(
mem_heap_t* heap; mem_heap_t* heap;
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