summaryrefslogtreecommitdiff
path: root/sql/multi_range_read.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/multi_range_read.cc')
-rw-r--r--sql/multi_range_read.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/multi_range_read.cc b/sql/multi_range_read.cc
index d9dcd354b3e..8da1700a84d 100644
--- a/sql/multi_range_read.cc
+++ b/sql/multi_range_read.cc
@@ -902,7 +902,7 @@ error:
close_second_handler();
/* Safety, not really needed but: */
strategy= NULL;
- DBUG_RETURN(1);
+ DBUG_RETURN(res);
use_default_impl:
DBUG_ASSERT(primary_file->inited == handler::INDEX);