1
0
mirror of https://github.com/fumiama/fumidb.git synced 2026-06-11 13:40:31 +08:00
This commit is contained in:
源文雨
2022-05-03 21:33:00 +08:00
parent d17f36b255
commit fae3641fab
4 changed files with 8 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ void* create_table(int fd, char* buf, const char* name, uint16_t row_len, ...) {
va_end(list);
len += (int)row_len*(8+1) + 8*foreign_cnt;
if(len > PAGESZ-2) {
if(len > PAGESZ) {
errno = EFBIG;
return NULL;
}