~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/table.proto

  • Committer: Brian Aker
  • Date: 2010-05-17 18:33:56 UTC
  • Revision ID: brian@gaz-20100517183356-bwpd9418anvmm09c
Remove dead options/rename Option and remove the update that we no longer
use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    optional RowType row_type = 20;
46
46
  }
47
47
 
48
 
  message TableStats {
49
 
    optional uint32 avg_row_length = 1;
50
 
    optional uint64 max_rows = 2;
51
 
    optional uint32 min_rows = 3;
52
 
  }
53
 
 
54
48
  message ForeignKeyConstraint {
55
49
    required string name = 1;
56
50
    required Field dependent = 2;
73
67
      DATETIME = 10;
74
68
    }
75
69
 
76
 
    enum FieldFormatType {
77
 
      DefaultFormat= 0;
78
 
      FixedFormat= 1;
79
 
      DynamicFormat= 2;
80
 
    }
81
 
 
82
70
    message FieldOptions {
83
71
      optional string default_value = 1;
84
72
      optional string update_value = 2;
117
105
 
118
106
    required string name = 1;
119
107
    required FieldType type = 2;
120
 
    optional FieldFormatType format = 3;
121
108
    optional FieldOptions options = 4;
122
109
    optional FieldConstraints constraints = 5;
123
110
    optional NumericFieldOptions numeric_options = 6;
147
134
      optional uint32 key_type = 101; /* THIS MUST DIE. Along with pack_flag*/
148
135
    }
149
136
 
150
 
    message IndexOptions {
 
137
    message Options {
151
138
      optional bool pack_key = 1;
152
139
      optional bool binary_pack_key = 2;
153
140
      optional bool var_length_key = 3;
163
150
    required IndexType type = 4 [default = UNKNOWN_INDEX];
164
151
    required uint32 key_length = 5;
165
152
    repeated IndexPart index_part = 6;
166
 
    optional IndexOptions options= 7;
 
153
    optional Options options= 7;
167
154
    optional string comment = 8;
168
155
  }
169
156
 
176
163
 
177
164
  repeated ForeignKeyConstraint fk_constraint = 8;
178
165
  optional TableOptions options = 9;
179
 
  optional TableStats stats = 10;
180
166
  required uint64 creation_timestamp= 11 [default = 0];
181
167
  required uint64 update_timestamp= 12 [default = 0];
182
168
  optional string catalog = 13;