bug#14028 -

ndb crash if trigger record get to big, fix incorrect max size of trigger record


ndb/src/kernel/blocks/backup/Backup.cpp:
  Increase size of max trigger record
This commit is contained in:
unknown 2006-03-13 14:38:12 +01:00
parent 72a0f50635
commit 0d89407a58

View file

@ -2424,8 +2424,7 @@ Backup::execDEFINE_BACKUP_REQ(Signal* signal)
};
const Uint32 maxInsert[] = {
2048, // Temporarily to solve TR515
//25, // 100 bytes
2048, // 4k
4096, // 4k
16*3000, // Max 16 tuples
};
Uint32 minWrite[] = {
@ -3231,7 +3230,7 @@ Backup::execSTART_BACKUP_REQ(Signal* signal)
trigPtr.p->tab_ptr_i = tabPtr.i;
trigPtr.p->logEntry = 0;
trigPtr.p->event = j;
trigPtr.p->maxRecordSize = 2048;
trigPtr.p->maxRecordSize = 4096;
trigPtr.p->operation =
&ptr.p->files.getPtr(ptr.p->logFilePtr)->operation;
trigPtr.p->operation->noOfBytes = 0;