Modify PeterG's internals documentation per Monty. Added

more detailed explanation of record header and column 
storage.
This commit is contained in:
peterg@mysql.com 2003-04-23 11:43:30 -07:00
commit e918ea5488
2 changed files with 8 additions and 1 deletions

View file

@ -67,6 +67,7 @@ paul@teton.kitebird.com
pem@mysql.com
peter@linux.local
peter@mysql.com
peterg@mysql.com
pgulutzan@linux.local
ram@mysql.r18.ru
ram@ram.(none)

View file

@ -1994,7 +1994,7 @@ When you say:
@*
MySQL creates files named Table1.MYD ("MySQL Data"), Table1.MYI
("MySQL Index"), and Table1.FRM ("Format"). These files will be in the
("MySQL Index"), and Table1.frm ("Format"). These files will be in the
directory: @*
/<datadir>/<database>/
@*
@ -2030,6 +2030,12 @@ The minimal record header is a set of flags:
@end table
@*
The length of the record header is thus:@*
(1 + number of NULL columns + 7) / 8 bytes@*
After the header, all columns are stored in
the order that they were created, which is the
same order that you would get from SHOW COLUMNS.
Here's an example. Suppose you say:
@*