~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/table.proto

  • Committer: Brian Aker
  • Date: 2010-05-13 00:24:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1533.
  • Revision ID: brian@gaz-20100513002420-rqxkrxegkwivaxmm
Merge engine options for schema/table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Message format for tables.
 
3
*/
1
4
package drizzled.message;
2
5
option optimize_for = SPEED;
3
6
 
 
7
import "engine.proto";
 
8
 
4
9
message Table {
5
10
 
6
11
  enum TableType {
10
15
    FUNCTION = 3;
11
16
  }
12
17
 
13
 
  message StorageEngine {
14
 
 
15
 
    message EngineOption {
16
 
      required string name = 1;
17
 
      optional string state = 2;
18
 
    }
19
 
 
20
 
    required string name = 1;
21
 
    repeated EngineOption options = 2;
22
 
  }
23
 
 
24
18
  message TableOptions {
25
19
    optional uint64 auto_increment = 1;
26
20
    optional string collation = 2;
176
170
  required string name = 1;
177
171
  required string schema = 6;
178
172
  required TableType type = 5;
179
 
  required StorageEngine engine = 2;
 
173
  required Engine engine = 2;
180
174
  repeated Field field = 3;
181
175
  repeated Index indexes = 4;
182
176