Commit 961486e5 authored by Marko Mäkelä's avatar Marko Mäkelä

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

ha_innodb::records_in_range(): Remove a debug assertion
that prohibits an open range (full table).

The patch by Jorgen Loland only removed the assertion from the
built-in InnoDB, not from the InnoDB Plugin.
parent 816a8b53
...@@ -7438,7 +7438,6 @@ ha_innobase::records_in_range( ...@@ -7438,7 +7438,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