summaryrefslogtreecommitdiff
path: root/mysql-test/t/events_grant.test
diff options
context:
space:
mode:
authorunknown <andrey@whirlpool.mysql.com>2007-05-26 16:36:38 +0200
committerunknown <andrey@whirlpool.mysql.com>2007-05-26 16:36:38 +0200
commit624d65c5918dcaf5ca9288a9c77a927643b1d4df (patch)
tree516cd5649117ba90cebe6af755b6e4a1bd031feb /mysql-test/t/events_grant.test
parent1f5f609ae82fe5cd3e7cfe3cf6f24055d431bbc7 (diff)
downloadmariadb-git-624d65c5918dcaf5ca9288a9c77a927643b1d4df.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" mysql-test/r/events_bugs.result: uppercase mysql-test/t/events.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_bugs.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_grant.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_logs_tests.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_scheduling.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_stress.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_time_zone.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_trans.test: wait at the end of the script for event which haven't finished their execution. This should solve bug#26338 events_bugs.test fail on Debian and bug#28285 Test "events_bugs" has instable results of "select /*1*/ ... from processlist" mysql-test/t/events_trans_notembedded.test: wait at the end of the script for event which haven't finished their execution. This should solve 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;