00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #pragma once
00026 #ifndef __SYSTAB_ENABLED_H__
00027 #define __SYSTAB_ENABLED_H__
00028
00029 #include "defs_ms.h"
00030 #include "system_table_ms.h"
00031 #include "discover_ms.h"
00032
00033 #define ENABLED_TABLE_NAME "pbms_enabled"
00034
00035 class MSEnabledTable : public MSOpenSystemTable {
00036 public:
00037 MSEnabledTable(MSSystemTableShare *share, TABLE *table);
00038 ~MSEnabledTable();
00039
00040 void seqScanInit();
00041 bool seqScanNext(char *buf);
00042 int getRefLen() { return sizeof(iEnabledIndex);}
00043 void seqScanPos(unsigned char *pos );
00044 void seqScanRead(unsigned char *pos , char *buf);
00045
00046 private:
00047 uint32_t iEnabledIndex;
00048 };
00049
00050 extern DT_FIELD_INFO pbms_enabled_info[];
00051 extern DT_KEY_INFO pbms_enabled_keys[];
00052
00053 #endif // __SYSTAB_ENABLED_H__