From: Date: October 16 2006 3:33am Subject: bk commit into 5.1 tree (gni:1.2290) BUG#19146 List-Archive: http://lists.mysql.com/commits/13711 X-Bug: 19146 Message-Id: <200610160133.k9G1XqFa024819@dev3-127> Below is the list of changes that have just been committed into a local 5.1 repository of root. When root does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2006-10-16 09:31:50+08:00, gni@dev3-127.(none) +1 -0 BUG #19146 If Backup parameters incorrectly set, the data nodes can't start. storage/ndb/src/kernel/blocks/backup/Backup.cpp@stripped, 2006-10-16 09:31:49+08:00, gni@dev3-127.(none) +2 -0 If backup parameter values don't satisfy with predefined relationship, system will exit and give some messages in error log. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: gni # Host: dev3-127.(none) # Root: /mnt/mysql/home/ngb/mysql-5.1/mysql-5.1-bug19146 --- 1.52/storage/ndb/src/kernel/blocks/backup/Backup.cpp 2006-10-16 09:32:53 +08:00 +++ 1.53/storage/ndb/src/kernel/blocks/backup/Backup.cpp 2006-10-16 09:32:53 +08:00 @@ -2567,6 +2567,8 @@ maxInsert[i]); if(msg != 0) { jam(); + if ( ptr.p->ctlFilePtr == RNIL ) + progError(__LINE__,NDBD_EXIT_INVALID_CONFIG ,"Probably Backup parameters configuration error, Please consult the manual"); defineBackupRef(signal, ptr, DefineBackupRef::FailedToSetupFsBuffers); return; }//if