/I:Berkeley DB Reference Guide: Access Methods[P4

Berkeley DB Reference Guide: Access Methods



@

Record delimiters (re_delim, DB_DELIMITER)



>The Recno access method can be used to store both variable andAfixed-length data items. By default, the data items are expectedto be variable length.

LWhen reading variable length records from a backingJsource file to store in the database, a delimiter character may be seteas part of the db_open call to open the database, specificallymby setting the re_delim element of the DB_INFO structure.=Because there is no out-of-band value for this character, the[DB_DELIMITER flag must also be set.

CIf an application is reading variable length records from a backingvsource file to store in the database and the DB_DELIMITER flagGis not set, a newline character (i.e., 0x0a in the ASCII character set)is used as the delimiter.

GAHÿÿ