Skip to content

Commit f8a6c97

Browse files
committed
Represent the limit as 2^20
1 parent e20c309 commit f8a6c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jrd/val.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class VaryingString : public pool_alloc_rpt<SCHAR, type_str>
4949
UCHAR str_data[2]; // one byte for ALLOC and one for the NULL
5050
};
5151

52-
const ULONG MAX_RECORD_SIZE = 1000000; // just to protect from misuse
52+
const ULONG MAX_RECORD_SIZE = 1048576; // 1 MB -- just to protect from possible misuse
5353

5454
namespace Jrd {
5555

0 commit comments

Comments
 (0)