summaryrefslogtreecommitdiff
path: root/mysql-test/t/not_embedded_server.test
diff options
context:
space:
mode:
authorunknown <stewart@willster.(none)>2006-08-15 19:10:10 +0800
committerunknown <stewart@willster.(none)>2006-08-15 19:10:10 +0800
commite884c5babc31968a4176315c393eb09914ee3653 (patch)
tree9a6bacf0b760670de7d57f8169329b6486ec546b /mysql-test/t/not_embedded_server.test
parent6633a291671150cd1840790b3226b0d970a14aac (diff)
downloadmariadb-git-e884c5babc31968a4176315c393eb09914ee3653.tar.gz
BUG#21650 not_embedded_server fails --with-ndbcluster
make test ignore NDB injector thread mysql-test/r/not_embedded_server.result: Use INFORMATION_SCHEMA for getting PROCESSLIST so we can exclude the NDB Binlog Injector thread as it may/may not be running depending on if --with-ndbcluster is specified to mysql-test-run mysql-test/t/not_embedded_server.test: Use INFORMATION_SCHEMA for getting PROCESSLIST so we can exclude the NDB Binlog Injector thread as it may/may not be running depending on if --with-ndbcluster is specified to mysql-test-run
Diffstat (limited to 'mysql-test/t/not_embedded_server.test')
-rw-r--r--mysql-test/t/not_embedded_server.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/mysql-test/t/not_embedded_server.test b/mysql-test/t/not_embedded_server.test
index 83ec03d6706..5beee5967a3 100644
--- a/mysql-test/t/not_embedded_server.test
+++ b/mysql-test/t/not_embedded_server.test
@@ -9,10 +9,15 @@
# To not show other connections, this must be the first test and we must
# have a server restart before this one
#
+# We don't have any 4.1 tests as we use I_S to query the PROCESSLIST to
+# exclude system threads that may/may not be active in the server
+# (namely the ndb injector thread)
+#
+# End of 4.1 tests
-prepare stmt1 from ' show full processlist ';
+prepare stmt1 from ' SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!=\'Daemon\' ';
--replace_column 1 number 6 time 3 localhost
execute stmt1;
deallocate prepare stmt1;
-# End of 4.1 tests
+# End of 5.1 tests