~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/table.proto

  • Committer: Brian Aker
  • Date: 2009-02-02 18:19:36 UTC
  • mfrom: (820.1.14 nofrm)
  • Revision ID: brian@tangent.org-20090202181936-l03a2jb3vpndr1k3
Merge from Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        STRING = 2;
17
17
      }
18
18
 
19
 
      required string name = 1;
20
 
      required string value = 2;
21
 
      required EngineOptionType type = 3;
 
19
      required string option_name = 1;
 
20
      required string option_value = 2;
 
21
      required EngineOptionType option_type = 3;
22
22
    }
23
23
 
24
24
    required string name = 1;
35
35
    optional uint64 max_rows = 7;
36
36
    optional uint64 min_rows = 8;
37
37
    optional uint64 auto_increment_value = 9;
38
 
    optional uint32 table_options = 10;
39
38
    optional uint32 avg_row_length = 11;
40
 
    optional uint32 used_fields = 12;
41
 
    optional uint32 key_block_size = 13;
42
 
    optional uint32 block_size = 14;
43
 
    optional string comment = 15;
 
39
    optional uint32 key_block_size = 12;
 
40
    optional uint32 block_size = 13;
 
41
    optional string comment = 14;
 
42
    optional bool pack_keys = 15;
 
43
    optional bool checksum = 16;
 
44
    optional bool page_checksum = 17;
 
45
    optional bool delay_key_write = 18;
 
46
 
 
47
    enum RowType {
 
48
         ROW_TYPE_DEFAULT = 0;
 
49
         ROW_TYPE_FIXED = 1;
 
50
         ROW_TYPE_DYNAMIC = 2;
 
51
         ROW_TYPE_COMPRESSED = 3;
 
52
         ROW_TYPE_REDUNDANT = 4;
 
53
         ROW_TYPE_COMPACT = 5;
 
54
         ROW_TYPE_PAGE = 6;
 
55
    }
 
56
 
 
57
    optional RowType row_type = 19;
44
58
  }
45
59
 
46
60
  message TableStats {
104
118
 
105
119
    message SetFieldOptions {
106
120
      required int32 count_elements = 1;
107
 
      repeated string value = 2;
 
121
      repeated string field_value = 2;
108
122
    }
109
123
 
110
124
    required string name = 1;
144
158
  required TableType type = 5;
145
159
  required StorageEngine engine = 2;
146
160
  repeated Field field = 3;
147
 
  repeated Index index = 4;
 
161
  repeated Index indexes = 4;
148
162
 
149
163
  repeated ForeignKeyConstraint fk_constraint = 8;
150
164
  optional TableOptions options = 9;