summaryrefslogtreecommitdiff
path: root/myisam/myisamdef.h
diff options
context:
space:
mode:
authorunknown <monty@tramp.mysql.fi>2001-10-29 10:49:35 +0200
committerunknown <monty@tramp.mysql.fi>2001-10-29 10:49:35 +0200
commitb3a974963dee53187668e9f467310069b4a67fcc (patch)
treefc5532fe3c9a3bc29a1e71b5db41e1b702f4980a /myisam/myisamdef.h
parent440de598ee325364b89468c8bd66925956b0e66f (diff)
downloadmariadb-git-b3a974963dee53187668e9f467310069b4a67fcc.tar.gz
Fixed error message when opening a not-MyISAM file.
Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword. Extended MyISAM to handle records > 16M. Docs/manual.texi: Updated state of different modules. Rewrote description of 'perror' and 'Packet too large'. myisam/mi_dynrec.c: Extended MyISAM to handle records > 16M myisam/mi_open.c: Fix error message when opening a not-MyISAM file. myisam/myisamdef.h: Extended MyISAM to handle records > 16M mysql-test/r/alter_table.result: Added test for CHANGE col ... AFTER mysql-test/t/alter_table.test: Added test for CHANGE col ... AFTER sql/sql_table.cc: Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword. sql/sql_yacc.yy: Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'myisam/myisamdef.h')
-rw-r--r--myisam/myisamdef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/myisamdef.h b/myisam/myisamdef.h
index 33837dfda00..ea77d700234 100644
--- a/myisam/myisamdef.h
+++ b/myisam/myisamdef.h
@@ -356,7 +356,8 @@ struct st_myisam_info {
#define MI_DYN_MAX_BLOCK_LENGTH ((1L << 24)-4L)
#define MI_DYN_MAX_ROW_LENGTH (MI_DYN_MAX_BLOCK_LENGTH - MI_SPLIT_LENGTH)
#define MI_DYN_ALIGN_SIZE 4 /* Align blocks on this */
-#define MI_MAX_DYN_HEADER_BYTE 12 /* max header byte for dynamic rows */
+#define MI_MAX_DYN_HEADER_BYTE 13 /* max header byte for dynamic rows */
+#define MI_MAX_BLOCK_LENGTH (((ulong) 1 << 24)-1)
#define MEMMAP_EXTRA_MARGIN 7 /* Write this as a suffix for file */