diff options
author | unknown <peterg@mysql.com> | 2003-04-23 11:43:30 -0700 |
---|---|---|
committer | unknown <peterg@mysql.com> | 2003-04-23 11:43:30 -0700 |
commit | 562fe48731960b0bfb30f43687a5196c7b0bb208 (patch) | |
tree | e39fb8c2b594620388b4ca9b2e8f73180091306e /Docs | |
parent | c14f989ff83e27d0c28964cf1a97e5e58a53c4ff (diff) | |
download | mariadb-git-562fe48731960b0bfb30f43687a5196c7b0bb208.tar.gz |
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
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/internals.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Docs/internals.texi b/Docs/internals.texi index 686ecd27fda..b5a7244695f 100644 --- a/Docs/internals.texi +++ b/Docs/internals.texi @@ -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: @* |