summaryrefslogtreecommitdiff
path: root/mysql-test/include/mtr_check.sql
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2008-04-09 14:38:42 +0200
committerunknown <msvensson@shellback.(none)>2008-04-09 14:38:42 +0200
commit5242048883ea02ffaa1cf6ea541644caea3bf58e (patch)
tree15b7792e27a122a1c28905f84cf00f7c75ee82e1 /mysql-test/include/mtr_check.sql
parentfc0de68e0099e7a36fadd54131d45a67eccbd1e1 (diff)
downloadmariadb-git-5242048883ea02ffaa1cf6ea541644caea3bf58e.tar.gz
Fix return code from check-warnings to indicate if test failed or not.
No more string matching mysql-test/include/check-warnings.test: Check return value from check_warnings and call skip if ok mysql-test/include/mtr_check.sql: Improve readability mysql-test/include/mtr_warnings.sql: Add out parameter for result. Increase the max_allowed_packet variable so the load_file works even if the server is started with low such value
Diffstat (limited to 'mysql-test/include/mtr_check.sql')
-rw-r--r--mysql-test/include/mtr_check.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/mtr_check.sql b/mysql-test/include/mtr_check.sql
index 9dd8a065da2..65a1471e485 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -19,7 +19,7 @@ BEGIN
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA;
-- The test database should not contain any tables
- SELECT table_name FROM INFORMATION_SCHEMA.TABLES
+ SELECT table_name AS tables_in_test FROM INFORMATION_SCHEMA.TABLES
WHERE table_schema='test';
-- Show "mysql" database, tables and columns