~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.cc

  • Committer: David Shrewsbury
  • Date: 2010-11-19 15:23:07 UTC
  • mto: (1942.1.3 b)
  • mto: This revision was merged to the branch mainline in revision 1943.
  • Revision ID: shrewsbury.dave@gmail.com-20101119152307-srnssq2n5num5tit
Add --replicate-query option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1074
1074
{
1075
1075
  statement.set_type(in_type);
1076
1076
  statement.set_start_timestamp(in_session->getCurrentTimestamp());
 
1077
 
 
1078
  if (in_session->variables.replicate_query)
 
1079
    statement.set_sql(in_session->getQueryString()->c_str());
1077
1080
}
1078
1081
 
1079
1082
void TransactionServices::finalizeStatementMessage(message::Statement &statement,