~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/replication_event.proto

  • Committer: Elan Ruusamäe
  • Date: 2008-12-02 20:06:31 UTC
  • mfrom: (637 drizzle)
  • mto: (641.3.10 devel)
  • mto: This revision was merged to the branch mainline in revision 649.
  • Revision ID: glen@haarber.alkohol.ee-20081202200631-f6h3vbnjaojvk3uq
- merge from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package drizzle;
 
2
 
 
3
message Event {
 
4
  enum Type {
 
5
    DDL = 0;
 
6
    INSERT = 1;
 
7
    DELETE = 2;
 
8
    UPDATE = 3;
 
9
    COMMIT = 4;
 
10
  }
 
11
 
 
12
  message Value {
 
13
    repeated string value = 1;
 
14
  }
 
15
 
 
16
  required Type type = 1;
 
17
  required bool autocommit = 2;
 
18
  required string server_id = 3;
 
19
  required uint64 query_id = 4;
 
20
  required string transaction_id = 5;
 
21
  required string schema = 6;
 
22
  optional string table = 7;
 
23
  repeated string field_names = 8;
 
24
  optional string primary_key = 9;
 
25
  repeated Value values = 10;
 
26
  optional string sql = 11;
 
27
}
 
28
 
 
29
message EventList {
 
30
  repeated Event event = 1;
 
31
}