gwbuf struct
dcb struct
This int field will hold the last command executed or sent to backend.
It will be 0 for most cases, setting it with a different value could help route differently the data from backend to client or some custom error messages.
different offsets for different gwbufs
Updated monitor to better handle maste/slave replication environments
Split MASTER and SERVER bits in the erver bitmask so that we canhave more states, MASTER, SLAVE and NOT IN REPLICATION
Updates to the read write splitter for routing commands to all nodes, diagnostic output and fixes to the algorithm to pick up a master and slave connection