~jaypipes/drizzle/transaction_log

Viewing all changes in revision 1209.

  • Committer: Jay Pipes
  • Date: 2009-12-15 17:54:03 UTC
  • Revision ID: jpipes@serialcoder-20091215175403-fwtkpvz0mpukdd41
Ensures that a Statement message can only contain a single type
of Statement.  Previously, a Statement could contain both an
InsertStatement and a DeleteStatement if both an INSERT and a
DELETE were used in an explicit transaction.

This patch changes the behaviour of the ReplicationServices::
getUpdateStatement(), getInsertStatement(), and getDeleteStatement()
methods to ensure if the to-be-logged statement is different from
the current active Statement on the Session, that the active 
Statement is finalized.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: