1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

WL#2506: Information Schema tables for PARTITIONing

added I_S 'PARTITIONS' table
This commit is contained in:
unknown
2006-01-10 19:44:04 +04:00
parent 0555413735
commit 31d3c88cae
16 changed files with 640 additions and 17 deletions

View File

@@ -494,6 +494,19 @@ enum partition_state {
PART_ADDED= 6
};
typedef struct {
ulonglong data_file_length;
ulonglong max_data_file_length;
ulonglong index_file_length;
ulonglong delete_length;
ha_rows records;
ulong mean_rec_length;
time_t create_time;
time_t check_time;
time_t update_time;
ulonglong check_sum;
} PARTITION_INFO;
#define UNDEF_NODEGROUP 65535
class Item;
@@ -1229,6 +1242,8 @@ public:
{ return (ha_rows) 10; }
virtual void position(const byte *record)=0;
virtual void info(uint)=0; // see my_base.h for full description
virtual void get_dynamic_partition_info(PARTITION_INFO *stat_info,
uint part_id);
virtual int extra(enum ha_extra_function operation)
{ return 0; }
virtual int extra_opt(enum ha_extra_function operation, ulong cache_size)