Encryption Context and Encryption Setup have been added

Encryption Context and Encryption Setup structures have been added to
ROUTER_INSTANCE

Replication doesn’t start if binlog file has START_ENCRYPTION_EVENT but
router_option ‘encrypt_binlog’ is Off
This commit is contained in:
MassimilianoPinto
2016-09-23 17:58:33 +02:00
parent b969b68562
commit 56d345e833
5 changed files with 225 additions and 60 deletions

View File

@ -1250,8 +1250,9 @@ blr_handle_binlog_record(ROUTER_INSTANCE *router, GWBUF *pkt)
spinlock_release(&router->lock);
#ifdef SHOW_EVENTS
printf("blr: len %lu, event type 0x%02x, flags 0x%04x, "
printf("blr @ %lu: len %lu, event type 0x%02x, flags 0x%04x, "
"event size %d, event timestamp %lu\n",
router->current_pos,
(unsigned long)len - 4,
hdr.event_type,
hdr.flags,