WL#5754: Query event parallel execution

Affects: Server-Prototype Only   —   Status: Complete

MOTIVATION
----------

This worklog keeps track of the changes that are needed to make
parallel INTER-transaction applier at the slave when master is
configured to log in STATEMENT format.

In a nutshell, on the master side, it details some of the changes 
needed to log every database on involved in the execution of a 
statement. On the slave side, it addresses some work that is needed 
for supporting temporary tables when slave is operating in parallel 
mode.


OBJECTIVE
---------

This is a sibling of the base framework of WL#5569 implementing 
full and effective parallelization for Query events.

FEATURES
--------

Transparency to the engine type;

Query content is without any limit in particular can contain User variables
  and/or modify a temporary table;

Parallelization is by the actual db name;

Cross-database updates are supported as well;

Automatic back-and-forth switching from PARALLEL to SEQUENTIAL in case
  of a partitioning conflict such as a being distributed to execute
  query updates a database that is in use by another Worker thread.