~vlad-lesin/percona-server/mysql-5.0.33-original

« back to all changes in this revision

Viewing changes to mysql-test/include/check_var_limit.inc

  • Committer: Vlad Lesin
  • Date: 2012-07-31 09:21:34 UTC
  • Revision ID: vladislav.lesin@percona.com-20120731092134-zfodx022b7992wsi
VirginĀ 5.0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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.
 
5
#
 
6
-- require r/check_var_limit.require
 
7
disable_query_log;
 
8
eval select SUBSTRING_INDEX("$LIMIT", "\\t", -1) BETWEEN $MIN_LIMIT AND $MAX_LIMIT as "limit";
 
9
enable_query_log;