22 #include <mysql/plugin.h>
24 int ndbinfo_init(
void *plugin);
25 int ndbinfo_deinit(
void *plugin);
35 static const char *null[] = { NullS };
38 ulonglong table_flags()
const {
39 return HA_REC_NOT_IN_SEQ | HA_NO_TRANSACTIONS |
40 HA_NO_BLOBS | HA_NO_AUTO_INCREMENT;
42 ulong index_flags(uint inx, uint part,
bool all_parts)
const {
49 int open(
const char *
name,
int mode, uint test_if_locked);
56 void position(
const uchar *
record);
60 enum thr_lock_type lock_type) {
64 bool low_byte_first()
const {
66 #ifdef WORDS_BIGENDIAN
77 return HA_CACHE_TBL_NOCACHE;
81 void unpack_record(uchar *dst_row);
83 bool is_open(
void)
const;
84 bool is_closed(
void)
const {
return ! is_open(); };
86 bool is_offline(
void)
const;
88 struct ha_ndbinfo_impl& m_impl;