-
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.