summaryrefslogtreecommitdiff
path: root/mysql-test/t/ps_grant.test
diff options
context:
space:
mode:
authormleich@mysql.com <>2005-05-12 17:49:34 +0200
committermleich@mysql.com <>2005-05-12 17:49:34 +0200
commit1494f0ab6815075840728839dad528a37082def6 (patch)
treec7b166c3ef7d71915bb746f50f74730f7bb140d8 /mysql-test/t/ps_grant.test
parentc82c07dc036fee73bc1b46c1f880c015d261ccdb (diff)
downloadmariadb-git-1494f0ab6815075840728839dad528a37082def6.tar.gz
If the system is under high load 'show full processlist' might report the
process of the predecessing test case instead of the current test case. Shifting the command to the end of the current test case should avoid this problem.
Diffstat (limited to 'mysql-test/t/ps_grant.test')
-rw-r--r--mysql-test/t/ps_grant.test9
1 files changed, 5 insertions, 4 deletions
diff --git a/mysql-test/t/ps_grant.test b/mysql-test/t/ps_grant.test
index 06613072824..d6448dd152a 100644
--- a/mysql-test/t/ps_grant.test
+++ b/mysql-test/t/ps_grant.test
@@ -1,10 +1,6 @@
# Can't test grants with embedded server
-- source include/not_embedded.inc
-# Tested here simply so it is not tested with embedded server
-prepare stmt4 from ' show full processlist ';
---replace_column 1 number 6 time 3 localhost
-execute stmt4;
let $type= 'MYISAM' ;
@@ -116,4 +112,9 @@ show grants for second_user@localhost ;
drop database mysqltest;
+# Tested here simply so it is not tested with embedded server
+prepare stmt4 from ' show full processlist ';
+--replace_column 1 number 6 time 3 localhost
+execute stmt4;
+