Commit bd8bb28f authored by unknown's avatar unknown

Modify PeterG's internals documentation per Monty. Added

more detailed explanation of record header and column 
storage.


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent a4c6d597
...@@ -67,6 +67,7 @@ paul@teton.kitebird.com ...@@ -67,6 +67,7 @@ paul@teton.kitebird.com
pem@mysql.com pem@mysql.com
peter@linux.local peter@linux.local
peter@mysql.com peter@mysql.com
peterg@mysql.com
pgulutzan@linux.local pgulutzan@linux.local
ram@mysql.r18.ru ram@mysql.r18.ru
ram@ram.(none) ram@ram.(none)
......
...@@ -1994,7 +1994,7 @@ When you say: ...@@ -1994,7 +1994,7 @@ When you say:
@* @*
MySQL creates files named Table1.MYD ("MySQL Data"), Table1.MYI 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: @* directory: @*
/<datadir>/<database>/ /<datadir>/<database>/
@* @*
...@@ -2030,6 +2030,12 @@ The minimal record header is a set of flags: ...@@ -2030,6 +2030,12 @@ The minimal record header is a set of flags:
@end table @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: 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