mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
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:
parent
72a0f50635
commit
0d89407a58
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue