~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_writer.cc

Merging Jay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
  sf_meta->set_name("a");
228
228
  sf_meta->set_type(message::Table::Field::VARCHAR);
229
229
 
230
 
  header->add_set_value("5");
231
 
 
232
230
  /* Add new values... */
233
231
  message::UpdateData *data= statement->mutable_update_data();
234
232
  data->set_segment_id(1);
236
234
 
237
235
  message::UpdateRecord *record1= data->add_record();
238
236
 
 
237
  record1->add_after_value("5");
239
238
  record1->add_key_value("1");
240
239
 
241
240
  statement->set_end_timestamp(getNanoTimestamp());
266
265
  sf_meta->set_name("a");
267
266
  sf_meta->set_type(message::Table::Field::VARCHAR);
268
267
 
269
 
  header->add_set_value("5");
270
 
 
271
268
  /* Add new values... */
272
269
  message::UpdateData *data= statement->mutable_update_data();
273
270
  data->set_segment_id(1);
276
273
  message::UpdateRecord *record1= data->add_record();
277
274
  message::UpdateRecord *record2= data->add_record();
278
275
 
 
276
  record1->add_after_value("5");
279
277
  record1->add_key_value("1");
 
278
  record2->add_after_value("5");
280
279
  record2->add_key_value("2");
281
280
 
282
281
  statement->set_end_timestamp(getNanoTimestamp());