18 #include "Ndbcntr.hpp"
20 #define arrayLength(x) sizeof(x)/sizeof(x[0])
27 DictTabInfo::ExtUnsigned, 1,
31 DictTabInfo::ExtBigunsigned, 1,
37 Ndbcntr::g_sysTable_SYSTAB_0 = {
39 arrayLength(column_SYSTAB_0), column_SYSTAB_0,
40 DictTabInfo::SystemTable,
41 DictTabInfo::HashMapPartition,
48 column_NDBEVENTS_0[] = {
50 DictTabInfo::ExtBinary, MAX_TAB_NAME_SIZE,
54 DictTabInfo::ExtUnsigned, 1,
58 DictTabInfo::ExtUnsigned, 1,
62 DictTabInfo::ExtUnsigned, 1,
66 DictTabInfo::ExtBinary, MAX_TAB_NAME_SIZE,
69 { 5,
"ATTRIBUTE_MASK",
70 DictTabInfo::ExtUnsigned, MAXNROFATTRIBUTESINWORDS_OLD,
74 DictTabInfo::ExtUnsigned, 1,
78 DictTabInfo::ExtUnsigned, 1,
81 { 8,
"ATTRIBUTE_MASK2",
82 DictTabInfo::ExtLongvarbinary, MAX_ATTRIBUTES_IN_TABLE_NDB_EVENTS_0 / 8,
88 Ndbcntr::g_sysTable_NDBEVENTS_0 = {
89 "sys/def/NDB$EVENTS_0",
90 arrayLength(column_NDBEVENTS_0), column_NDBEVENTS_0,
91 DictTabInfo::SystemTable,
92 DictTabInfo::HashMapPartition,
99 Ndbcntr::g_sysTableList[] = {
100 &g_sysTable_SYSTAB_0,
101 &g_sysTable_NDBEVENTS_0
107 Ndbcntr::g_sysTableCount = arrayLength(Ndbcntr::g_sysTableList);