WL#3931: Multi-table statement involving self-logging engines

Affects: Server-5.1   —   Status: Complete

Some engines, e.g., NDB Cluster, take care of their own logging by setting the
``HA_HAVE_OWN_BINLOGGING`` table flag.

When attempting to log a statement involving such an engine, it is necessary to
ensure that all changes to the database are logged in the correct order.

RELATED ISSUES
--------------

:BUG#28722: Multi-engine statements on has_own_binlogging engine