~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction.proto

Merging Jay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
message UpdateRecord
365
365
{
366
366
  repeated bytes key_value = 1; /* The value of keys of updated records (unique or primary key) */
367
 
  repeated bytes before_value = 2; /* The value of the record before the update (optional) */
 
367
  repeated bytes after_value = 2; /* The value of the field after the update */
 
368
  repeated bytes before_value = 3; /* The value of the field before the update (optional) */
368
369
}
369
370
 
370
371
/*
372
373
 *
373
374
 * INSERT ... ON DUPLICATE KEY UPDATE
374
375
 * UPDATE
 
376
 * REPLACE INTO when the UPDATE optimization occurs.
375
377
 *
376
378
 * The statement is composed of a header (UpdateHeader) containing
377
379
 * metadata about affected tables and fields, as well as one or more data
388
390
  required TableMetadata table_metadata = 1; /* Minimal metadata about the table affected */
389
391
  repeated FieldMetadata key_field_metadata = 2; /* Collection of metadata about key fields */
390
392
  repeated FieldMetadata set_field_metadata = 3; /* Collection of metadata about fields affected */
391
 
  repeated bytes set_value = 4; /* The value of the field after the update */
392
393
}
393
394
 
394
395
message UpdateData