mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
e884c5babc
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
23 lines
659 B
Text
23 lines
659 B
Text
#
|
|
# Here we collect tests that doesn't work with the embedded server
|
|
#
|
|
|
|
-- source include/not_embedded.inc
|
|
|
|
#
|
|
# Show full process list with prepare
|
|
# 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 ' SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!=\'Daemon\' ';
|
|
--replace_column 1 number 6 time 3 localhost
|
|
execute stmt1;
|
|
deallocate prepare stmt1;
|
|
|
|
# End of 5.1 tests
|