Next: , Previous: , Up: Table Methods   [Contents][Index]


5.3.2 blonde_init_record

extern int blonde_init_record
    (void **, void *, unsigned, struct blonde_record_type *);

The function creates an in-memory table according the $3 bits and $4 setup values for the $2 database and associates it with the on disk homonym table if one exists. The new table object address is stored at $1.

See struct blonde_record_type.

The function will fail if the existent on disk table defines a fixed size for the key associated data and the BLONDE_RECORD_FIXED_MASK bits is not set.

The function reads the root b-tree node of the on disk table.