1# Check that ndb is compiled for debugging
2# to all for using debugging commands in ndb_mgm
3disable_query_log;
4--exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" --verbose=0 -e "help" > $MYSQLTEST_VARDIR/tmp/help_debug.txt
5create table help_debug(help varchar(256));
6-- eval load data local infile '$MYSQLTEST_VARDIR/tmp/help_debug.txt' into table help_debug;
7-- require r/have_ndb_debug.require
8select count(*) as have_ndb_debug from help_debug where help like "%debug compiled%";
9-- eval drop table help_debug;
10enable_query_log;
11