~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/replication_event.proto

  • Committer: Monty Taylor
  • Date: 2008-12-02 08:56:16 UTC
  • mfrom: (629.5.6 remove-strmake)
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: mordred@solanthus.local-20081202085616-k1dvv8fly0jt70ho
MergedĀ fromĀ Toru.

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
}