summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-03-13 14:38:12 +0100
committerunknown <jonas@perch.ndb.mysql.com>2006-03-13 14:38:12 +0100
commit0d89407a580e0dae6f523ad7669e00dca490c932 (patch)
tree728b8eba8f1603274bddb121a827a391edc74cc4 /ndb
parent72a0f506356f74281ede079288566ae15bb8c1cf (diff)
downloadmariadb-git-0d89407a580e0dae6f523ad7669e00dca490c932.tar.gz
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
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/kernel/blocks/backup/Backup.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ndb/src/kernel/blocks/backup/Backup.cpp b/ndb/src/kernel/blocks/backup/Backup.cpp
index 05ae8f3cbf3..31b8a949b28 100644
--- a/ndb/src/kernel/blocks/backup/Backup.cpp
+++ b/ndb/src/kernel/blocks/backup/Backup.cpp
@@ -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;