MariaDB 10 master requires MariaDB 10 slaves

Only MariaDB 10 slaves can register to binblog server with a MariaDB 10
Master
This commit is contained in:
MassimilianoPinto
2015-05-11 11:43:21 +02:00
parent 230f88737c
commit f991e58b57
3 changed files with 30 additions and 3 deletions

View File

@ -24,8 +24,9 @@
* @verbatim
* Revision History
*
* Date Who Description
* 02/04/14 Mark Riddoch Initial implementation
* Date Who Description
* 02/04/14 Mark Riddoch Initial implementation
* 11/05/15 Massimilaino Pinto Added mariadb10_compat to master and slave structs
*
* @endverbatim
*/
@ -175,6 +176,7 @@ typedef struct router_slave {
uint32_t lastEventTimestamp;/*< Last event timestamp sent */
SPINLOCK catch_lock; /*< Event catchup lock */
unsigned int cstate; /*< Catch up state */
bool mariadb10_compat;/*< MariaDB 10.0 compatibility */
SPINLOCK rses_lock; /*< Protects rses_deleted */
pthread_t pthread;
struct router_instance