My Project
|
Functions for discover of frm file from handler. More...
Functions | |
int | readfrm (const char *name, uchar **frmdata, size_t *len) |
int | writefrm (const char *name, const uchar *frmdata, size_t len) |
Functions for discover of frm file from handler.
int readfrm | ( | const char * | name, |
uchar ** | frmdata, | ||
size_t * | len | ||
) |
Read the contents of a .frm file.
frmdata and len are set to 0 on error.
name | path to table-file "db/name" |
frmdata | frm data |
len | length of the read frmdata |
0 | ok |
1 | Could not open file |
2 | Could not stat file |
3 | Could not allocate data for read. Could not read file |