summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2012-08-30 21:49:24 +0300
committerMarko Mäkelä <marko.makela@oracle.com>2012-08-30 21:49:24 +0300
commit961486e524066b29a0641edb89e36b7499dea1fc (patch)
treefe58d09ad589b2e4f8adbcc456f1f422242e7de8
parent816a8b5384922da68e043e9209b7173b8986788c (diff)
downloadmariadb-git-961486e524066b29a0641edb89e36b7499dea1fc.tar.gz
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.
-rw-r--r--storage/innodb_plugin/handler/ha_innodb.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/innodb_plugin/handler/ha_innodb.cc b/storage/innodb_plugin/handler/ha_innodb.cc
index fef49d23624..884e6513fb1 100644
--- a/storage/innodb_plugin/handler/ha_innodb.cc
+++ b/storage/innodb_plugin/handler/ha_innodb.cc
@@ -7438,7 +7438,6 @@ ha_innobase::records_in_range(
mem_heap_t* heap;
DBUG_ENTER("records_in_range");
- DBUG_ASSERT(min_key || max_key);
ut_a(prebuilt->trx == thd_to_trx(ha_thd()));