19 #ifndef DBDICT_SCHEMA_FILE_HPP
20 #define DBDICT_SCHEMA_FILE_HPP
22 #include <ndb_types.h>
23 #include <ndb_version.h>
26 #define NDB_SF_MAGIC "NDBSCHMA"
29 #define NDB_SF_PAGE_SIZE_IN_WORDS_LOG2 10
30 #define NDB_SF_PAGE_SIZE_IN_WORDS (1 << NDB_SF_PAGE_SIZE_IN_WORDS_LOG2)
31 #define NDB_SF_PAGE_SIZE (NDB_SF_PAGE_SIZE_IN_WORDS << 2)
34 #define NDB_SF_PAGE_ENTRIES 127
37 #define NDB_SF_MAX_PAGES 160
40 #define NDB_SF_VERSION_5_0_6 MAKE_VERSION(5, 0, 6)
51 Uint32 NoOfTableEntries;
58 TABLE_ADD_COMMITTED = 2,
59 DROP_TABLE_STARTED = 3,
60 DROP_TABLE_COMMITTED = 4,
61 ALTER_TABLE_COMMITTED = 5,
62 TEMPORARY_TABLE_COMMITTED = 6
91 Uint32 m_tableVersion;
111 return memcmp(
this, &o,
sizeof(*
this))== 0;
118 Uint32 m_tableVersion;