From 451a3810eeb963fea9fa6081147a3758620e0da3 Mon Sep 17 00:00:00 2001 From: Dmitry Lenev Date: Wed, 16 Jun 2010 13:04:30 +0400 Subject: [PATCH] Small clean-up and pre-requisite for making TABLE_SHARE a class. Remove unused members in TABLE_SHARE. --- sql/table.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sql/table.h b/sql/table.h index 1307770d8e1..4492a26b62b 100644 --- a/sql/table.h +++ b/sql/table.h @@ -573,9 +573,7 @@ struct TABLE_SHARE key_map keys_for_keyread; ha_rows min_rows, max_rows; /* create information */ ulong avg_row_length; /* create information */ - ulong raid_chunksize; ulong version, mysql_version; - ulong timestamp_offset; /* Set to offset+1 of record */ ulong reclength; /* Recordlength */ plugin_ref db_plugin; /* storage engine plugin */ @@ -586,8 +584,6 @@ struct TABLE_SHARE } enum row_type row_type; /* How rows are stored */ enum tmp_table_type tmp_table; - enum enum_ha_unused unused1; - enum enum_ha_unused unused2; uint ref_count; /* How many TABLE objects uses this */ uint blob_ptr_size; /* 4 or 8 */ @@ -605,7 +601,6 @@ struct TABLE_SHARE uint db_create_options; /* Create options from database */ uint db_options_in_use; /* Options in use */ uint db_record_offset; /* if HA_REC_IN_SEQ */ - uint raid_type, raid_chunks; uint rowid_field_offset; /* Field_nr +1 to rowid field */ /* Index of auto-updated TIMESTAMP field in field array */ uint primary_key;