List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:June 13 2005 9:24pm
Subject:Re: Header of dynamic rows
View as plain text  
Hi!

On Jun 13, Hagen H?pfner wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dear list,
> 
> can somebody tell me some details about the header of variable lengths
> rows? The internals-documentation helps a little bit but is not enough
> ;-) Thats what I believe to know so far:
> 
> (1) The first byte is a flag for the type of the row ... deleted=0x00,
> "normal"=0x03, "splitted_first_part"=0x05 "splitted_second_part"=0x09
> ... Where are the flags documented in the source code?
> 
> (2) I did not find out where the second byte is used for. In my
> examples it is always 0x00.

No real documentation, unfortunately.
But check mi_dynrec.c, the last function: _mi_get_block_info().
And note return values.

Regards,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, Senior Software Developer
/_/  /_/\_, /___/\___\_\___/  Osnabrueck, Germany
       <___/  www.mysql.com
Thread
Header of dynamic rowsHagen Höpfner13 Jun
  • Re: Header of dynamic rowsSergei Golubchik13 Jun
    • Re: Header of dynamic rowsHagen Höpfner13 Jun
      • Re: Header of dynamic rowsSergei Golubchik13 Jun