Commit e918ea54 authored by peterg@mysql.com's avatar peterg@mysql.com

Modify PeterG's internals documentation per Monty. Added

more detailed explanation of record header and column 
storage.
parent e6fe7d1b
......@@ -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)
......
......@@ -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:
@*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment