## Check if cluster is available by selecting from is.engines# if an error about no such table occurs bail out#disable_result_log;disable_query_log;--error0,1109select@have_ndb:=count(*)frominformation_schema.engineswhereengine='ndbcluster'andsupportin('YES','DEFAULT','ENABLED');if($mysql_errno){# For backward compatibility, implement old fashioned way# to check here ie. use SHOW VARIABLES LIKE "have_ndb"dieCannotdetermineifserversupportsndbwithoutis.enginestable;}if(!`select @have_ndb`){skipNeedndbengine;}enable_query_log;enable_result_log;--letNDB_BACKUPS=$NDB_BACKUP_DIR/BACKUP/BACKUP