mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 00:35:32 +02:00
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
This commit is contained in:
parent
c14f989ff8
commit
562fe48731
2 changed files with 8 additions and 1 deletions
|
|
@ -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:
|
||||
@*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue