InnoDB Plugin
1.0
|
Functions | |
UNIV_INLINE int | fts_write_object_id (ib_id_t id, char *str, bool hex_format)) |
UNIV_INLINE ibool | fts_read_object_id (ib_id_t *id, const char *str) |
UNIV_INLINE int | fts_trx_table_cmp (const void *p1, const void *p2) |
UNIV_INLINE int | fts_trx_table_id_cmp (const void *p1, const void *p2) |
Full text search internal header file
Created 2011/11/12 Sunny Bains
Read the table id from the string generated by fts_write_object_id().
id | out: a table id |
str | in: buffer to read from |
UNIV_INLINE int fts_trx_table_cmp | ( | const void * | p1, |
const void * | p2 | ||
) |
Compare two fts_trx_table_t instances.
p1 | in: id1 |
p2 | in: id2 |
UNIV_INLINE int fts_trx_table_id_cmp | ( | const void * | p1, |
const void * | p2 | ||
) |
Compare a table id with a fts_trx_table_t table id.
p1 | in: id1 |
p2 | in: id2 |
UNIV_INLINE int fts_write_object_id | ( | ib_id_t | id, |
char * | str, | ||
bool | hex_format | ||
) |
Write the table id to the given buffer (including final NUL). Buffer must be at least FTS_AUX_MIN_TABLE_ID_LENGTH bytes long.
id | in: a table/index id |
str | in: buffer to write the id to |