summaryrefslogtreecommitdiff
path: root/mysql-test/t/events_grant.test
diff options
context:
space:
mode:
authorandrey@whirlpool.mysql.com <>2007-05-26 16:36:38 +0200
committerandrey@whirlpool.mysql.com <>2007-05-26 16:36:38 +0200
commita0489dbf187dab4f83149a50880a3f3647fdebee (patch)
tree516cd5649117ba90cebe6af755b6e4a1bd031feb /mysql-test/t/events_grant.test
parent61276df07b1725ec7ff5f6e48704a295b4abb09d (diff)
downloadmariadb-git-a0489dbf187dab4f83149a50880a3f3647fdebee.tar.gz
Fix for
bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist"
Diffstat (limited to 'mysql-test/t/events_grant.test')
-rw-r--r--mysql-test/t/events_grant.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/mysql-test/t/events_grant.test b/mysql-test/t/events_grant.test
index 44288fc1ac6..cff2475c5aa 100644
--- a/mysql-test/t/events_grant.test
+++ b/mysql-test/t/events_grant.test
@@ -101,8 +101,14 @@ disconnect ev_con1;
connection default;
DROP USER ev_test@localhost;
DROP DATABASE events_test2;
+
+#
+# End of tests
#
-## EVENTS grants test end
-#
+
+let $wait_condition=
+ select count(*) = 0 from information_schema.processlist
+ where db='events_test' and command = 'Connect' and user=current_user();
+--source include/wait_condition.inc
DROP DATABASE events_test;