diff options
author | unknown <monty@narttu.mysql.fi> | 2003-08-22 04:07:40 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-08-22 04:07:40 +0300 |
commit | 64393d7e24fe90f5badf3f25f25cc5a24f34b70e (patch) | |
tree | 69f51d9d40e937b7da442d9523c0a0a66d5ba847 /mysql-test/include | |
parent | 7b9018920bde4eebd52d272f198c4aec53bdf581 (diff) | |
download | mariadb-git-64393d7e24fe90f5badf3f25f25cc5a24f34b70e.tar.gz |
Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files.
client/mysqltest.c:
Fix that LET can be used with queries that return multiple columns
libmysql/errmsg.c:
Extend socket name to 100 characters in error messages
libmysql/libmysql.c:
Reset some variables to make ensure that we can call mysql_server_init()/mysql_server_end() many times
mysql-test/mysql-test-run.sh:
Set open-files-limit to 1024
mysql-test/r/loaddata.result:
Add test case for LOAD DATA bug report (was not a bug)
mysql-test/r/query_cache.result:
Move test with many tables to separate test
mysql-test/r/select_safe.result:
Make test repeatable
mysql-test/t/loaddata.test:
Add test case for LOAD DATA bug report (was not a bug)
mysql-test/t/query_cache.test:
Move test with many tables to separate test
mysql-test/t/select_safe.test:
Make test repeatable
sql/field.cc:
Portability fix for gcc 3.3
sql/mysqld.cc:
Store in open_files_limit the true number of files we can open (if system supports it)
sql/sql_load.cc:
Safety fix
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/check_var_limit.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/include/check_var_limit.inc b/mysql-test/include/check_var_limit.inc new file mode 100644 index 00000000000..5f26e2b99a9 --- /dev/null +++ b/mysql-test/include/check_var_limit.inc @@ -0,0 +1,9 @@ +# +# Check that second part of $LIMIT is between $MIN_LIMIT and $MAX_LIMIT +# This is useful to check that a variable from SHOW_VARIABLES is within +# certain limits. Check query_cache_merge.test for an example of using this. +# +-- require r/check_var_limit.require +disable_query_log; +eval select SUBSTRING_INDEX($LIMIT, "\t", 2) BETWEEN $MIN_LIMIT AND $MAX_LIMIT as "limit"; +enable_query_log; |