diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 76e78c7e9b8..65acecc0b87 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -5824,6 +5824,11 @@ check_quick_select(PARAM *param,uint idx,SEL_ARG *tree) param->is_ror_scan is cleared if the function detects that the key scan is not a Rowid-Ordered Retrieval scan ( see comments for is_key_scan_ror function for description of which key scans are ROR scans) + + RETURN + #records E(#records) for given subtree + HA_POS_ERROR if subtree cannot be used for record retrieval + */ static ha_rows