~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/schema.proto

Added autoconf tests for location of cstdint and cinttypes. Use those in C++ programs now, so that we don't have to define _STDC_LIMIT_MACROS, etc by hand. Stop, in fact, defining those by hand.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
  Message format for schemas.
3
 
*/
4
 
package drizzled.message;
5
 
option optimize_for = SPEED;
6
 
 
7
 
option java_package = "org.drizzle.messages";
8
 
option java_outer_classname = "SchemaMessage";
9
 
 
10
 
import "engine.proto";
11
 
import "replication_options.proto";
 
1
package drizzle;
12
2
 
13
3
message Schema {
14
 
  message Options {
15
 
  }
16
4
  required string name = 1;
17
 
  optional string collation = 2;
18
 
  required Engine engine = 3;
19
 
  optional string catalog = 4;
20
 
  required uint64 creation_timestamp= 11 [default = 0];
21
 
  required uint64 update_timestamp= 12 [default = 0];
22
 
  optional string uuid = 13;
23
 
  /*
24
 
    A version value of 0, means that it was never set.
25
 
    */
26
 
  optional uint64 version = 14;
27
 
  optional Options options = 15;
28
 
  optional ReplicationOptions replication_options= 16;
 
5
  optional string characterset = 2;
 
6
  optional string collation = 3;
29
7
}