~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/replication_event_writer.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-09 19:18:36 UTC
  • mfrom: (923 drizzle)
  • mto: (934.3.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 938.
  • Revision ID: osullivan.padraig@gmail.com-20090309191836-ixiam3xa55off3do
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
  /* Add values (first row) */
55
55
  value= record->add_values();
56
 
  value->add_value("1");
 
56
  value->add_val("1");
57
57
 
58
58
  /* Add values (second row) */
59
59
  value= record->add_values();
60
 
  value->add_value("2");
 
60
  value->add_val("2");
61
61
}
62
62
 
63
63
void write_delete(::drizzle::Event *record, const char *trx)
78
78
 
79
79
  /* Add values for IN() */
80
80
  value= record->add_values();
81
 
  value->add_value("1");
82
 
  value->add_value("2");
 
81
  value->add_val("1");
 
82
  value->add_val("2");
83
83
}
84
84
 
85
85
void write_update(::drizzle::Event *record, const char *trx)
101
101
 
102
102
  /* Add values (first row) */
103
103
  value= record->add_values();
104
 
  value->add_value("1"); // The first value is always the primary key comparison value
105
 
  value->add_value("5");
 
104
  value->add_val("1"); // The first value is always the primary key comparison value
 
105
  value->add_val("5");
106
106
 
107
107
  /* Add values (second row) */
108
108
  value= record->add_values();
109
 
  value->add_value("2");
110
 
  value->add_value("6");
 
109
  value->add_val("2");
 
110
  value->add_val("6");
111
111
}
112
112
 
113
113
void write_to_disk(int file, ::drizzle::EventList *list)