2
# Check that second part of $LIMIT is between $MIN_LIMIT and $MAX_LIMIT
3
# This is useful to check that a variable from SHOW_VARIABLES is within
4
# certain limits. Check query_cache_merge.test for an example of using this.
6
-- require r/check_var_limit.require
8
eval select SUBSTRING_INDEX("$LIMIT", "\\t", -1) BETWEEN $MIN_LIMIT AND $MAX_LIMIT as "limit";