####################################################### By JBM 2006-02-16 So that the code is not repeated ## in test cases and can be reused. #######################################################--exec$NDB_MGM--no-defaults--ndb-connectstring="localhost:$NDBCLUSTER_PORT"-e"start backup">>$NDB_TOOLS_OUTPUT# there is no neat way to find the backupid, this is a hack to find it...--exec$NDB_TOOLS_DIR/ndb_select_all--ndb-connectstring="localhost:$NDBCLUSTER_PORT"-dsys--delimiter=','SYSTAB_0|grep520093696>var/tmp.datCREATETEMPORARYTABLEIFNOTEXISTStest.backup_info(idINT,backup_idINT)ENGINE=HEAP;DELETEFROMtest.backup_info;LOADDATAINFILE'../../var/tmp.dat'INTOTABLEtest.backup_infoFIELDSTERMINATEDBY',';--replace_column1<the_backup_id>SELECT@the_backup_id:=backup_idFROMtest.backup_info;letthe_backup_id=`select @the_backup_id`;DROPTABLEtest.backup_info;