summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot4.local>2007-10-01 17:31:46 +0200
committerunknown <guilhem@gbichot4.local>2007-10-01 17:31:46 +0200
commit69c18ca5767158aa44913375947d5177670541b9 (patch)
tree9c64fad2fd1b6dba58522146971b46ef220e2531 /sql
parent301a31fddfd5f08e3e38915a9c74517116028301 (diff)
parente71e5893ee1b8cf0328234667123d42727d9bf01 (diff)
downloadmariadb-git-69c18ca5767158aa44913375947d5177670541b9.tar.gz
ma_recovery.c:
SCCS merged storage/maria/ma_recovery.c: SCCS merged
Diffstat (limited to 'sql')
-rw-r--r--sql/opt_range.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 3ee7e8ee813..fbb1a2be487 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -2130,9 +2130,6 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
quick=0;
needed_reg.clear_all();
quick_keys.clear_all();
- if ((specialflag & SPECIAL_SAFE_MODE) && ! force_quick_range ||
- !limit)
- DBUG_RETURN(0); /* purecov: inspected */
if (keys_to_use.is_clear_all())
DBUG_RETURN(0);
records= head->file->stats.records;