78 Commits

Author SHA1 Message Date
MassimilianoPinto
895989446d MXS-224: Added SQL commands to the log message at slave disconnect time
MXS-224: Added SQL commands to the log message at slave disconnect time
2015-08-19 12:04:15 +02:00
MassimilianoPinto
556e99b2a9 Fix for bug MXS-289
Added fix for bug MXS-289
2015-07-27 18:44:05 +02:00
Markus Makela
aa6294f1f2 Fixed binlogrouter not working with C99 flags. 2015-07-20 08:59:35 +03:00
Markus Makela
78eab19c62 Fixed compiler warnings. 2015-07-14 17:13:09 +03:00
Markus Makela
71664f162b Merge branch 'develop' into dev-mdb10 2015-06-22 19:27:34 +03:00
MassimilianoPinto
15e6d6f9fc fix for missing crc check in blr_slave_fake_rotate()
fix for missing crc check in blr_slave_fake_rotate()
2015-06-22 18:24:39 +02:00
MassimilianoPinto
a48e694dba Fix for log messages
Fix for log messages about MariaDB 10 registration and unexpected query
2015-05-11 12:42:14 +02:00
MassimilianoPinto
f991e58b57 MariaDB 10 master requires MariaDB 10 slaves
Only MariaDB 10 slaves can register to binblog server with a MariaDB 10
Master
2015-05-11 11:43:21 +02:00
MassimilianoPinto
5d1e09ca4f Added MariaDB 10 Compatibility without GTID
Added MariaDB 10 Compatibility without GTID
2015-05-07 17:14:39 +02:00
MassimilianoPinto
2c2a03a6f6 Always reply to SET @mariadb_slave_capability
Always reply to SET @mariadb_slave_capability, with saved master reply
for mariadb10 master or with OK otherwise
2015-05-07 16:10:35 +02:00
MassimilianoPinto
3f2876bde3 Fixed buffer free
Fixed buffer free
2015-05-07 15:32:12 +02:00
MassimilianoPinto
e9391ef486 MariaDB 10 optional compatibility
MariaDB 10 optional compatibility with mariadb10-compatibility=1
2015-05-07 15:16:37 +02:00
MassimilianoPinto
5c7b2a68e5 mariadb10 compatibility test without GTID
First implementation of mariadb10 compatibility test without GTID

State machine to be modified for mysql5.6/mariadb10 compatibility
router options for mariadb10 slave registration still missing
2015-05-06 12:19:18 +02:00
Markus Makela
d490c2c509 Added casts to unsigned long to some log messages. 2015-04-08 10:54:42 +03:00
MassimilianoPinto
5ce1b742e9 Binlog Router, slave binlog_pos is now uint32
Binlog Router, slave binlog_pos is now uint32
2015-04-02 16:52:48 +02:00
MassimilianoPinto
3b6d71086e DISCONNECT logs now to message file
DISCONNECT logs now to message file
2015-04-02 10:21:43 +02:00
MassimilianoPinto
bb65222e89 Fixed wrong var name
Fixed wrong var name detection
2015-04-01 16:56:29 +02:00
Markus Makela
5fb7195091 Fixed extra ' in crc32 value check. 2015-04-01 10:22:24 +03:00
Markus Makela
4c418a128d Combined some conditionals in blr_slave. 2015-04-01 10:10:37 +03:00
MassimilianoPinto
04229423fc Fix checksum for NONE
Fix checksum for NONE as mysqlbinlog sends SET
@master_binlog_checksum='NONE'
2015-04-01 08:30:34 +02:00
MassimilianoPinto
29dcd93979 MariaDB 10 support and checksum fix
MariaDB 10 support and checksum fix
2015-03-19 09:56:00 +01:00
MassimilianoPinto
646952290e Fix added for binlog_checksum=NONE
Fix added for binlog_checksum=NONE
2015-03-18 17:43:48 +01:00
MassimilianoPinto
69dd1a5935 Merge branch 'develop' into blr_mariadb10 2015-03-18 12:01:03 +01:00
MassimilianoPinto
4006052887 Fix in DISCONNECT SERVER reply
Fix in DISCONNECT SERVER reply
2015-03-17 19:38:21 +01:00
MassimilianoPinto
c7e1bd5052 Added error message of DISCONNECT
Added error message of DISCONNECT when gwbuf_alloc may fail
2015-03-17 19:18:10 +01:00
MassimilianoPinto
6a12b387f7 Log message typo fixed
Log message typo fixed
2015-03-17 18:58:18 +01:00
MassimilianoPinto
35890e4e7c New log messages for DISCONNECT commands
New log messages for DISCONNECT commands
2015-03-17 18:43:00 +01:00
MassimilianoPinto
bf9d417187 Log message change for DISCONNECT SERVER
Log message change for DISCONNECT SERVER
2015-03-17 18:14:48 +01:00
Markus Makela
fc6dd0a0a9 Added support for MariaDB 10.0 2015-03-17 12:04:11 +02:00
MassimilianoPinto
c1f3656790 Removed spinlock_release
Removed spinlock_release
2015-03-17 09:03:26 +01:00
MassimilianoPinto
04310ae60e Fixed return code from slave reply routines
Fixed return code from slave reply routines

Fixed error reply packet len
2015-03-02 08:48:15 +01:00
Markus Makela
46c4fefb00 Fixes to coverity defects 87601 87557 87548 87547 87546 87545 87544 87536 87535 87529 87528 2015-02-22 22:29:30 +02:00
MassimilianoPinto
517524a8b4 Addition of DISCONNECT ALL and DISCONNECT SERVER
Addition of DISCONNECT ALL and DISCONNECT SERVER server_id
Added dbc_close in closeSession
Changed slave mode output display in diagnostics
2015-02-17 18:29:03 +01:00
Mark Riddoch
01eafd92c8 Fixed two errors in show slave status output. Master_UUID was
showing the variable name rather than the value and
Master_SSL_Verify_Server_cert was missing
2015-02-10 10:00:02 +00:00
Mark Riddoch
eafdd43592 Add Master_Server_Id value to returned show slave status command 2015-02-10 08:36:31 +00:00
Mark Riddoch
faca6b6d76 Merge branch 'blr' into develop 2015-02-09 20:58:55 +00:00
Mark Riddoch
b58e09cdb7 Addition of some extra log messages and seconds behind master calcuation 2015-02-09 20:50:23 +00:00
Mark Riddoch
958cc73176 Add support for SELECT @@server_id 2015-02-09 16:07:01 +00:00
Mark Riddoch
6da16c9958 Some tidy up of binlog rotuer code 2015-02-06 20:46:36 +00:00
Mark Riddoch
e91ad034a8 CRC issue 2015-02-06 17:53:41 +00:00
Mark Riddoch
d4f5ca6bcb Merge branch 'blr' into develop
Addition of hashtable load and save. Caching of auth information
2015-02-06 11:52:51 +00:00
Mark Riddoch
25e39f35c5 Fix to allow rotate of files without explicit rotate events when the master is offline 2015-02-06 11:45:20 +00:00
Mark Riddoch
c611d63e94 Added protection for buffer overrun in COM_BINLOG_DUMP. 2015-02-05 09:37:56 +00:00
Mark Riddoch
b9f36d6489 Addition of checksum handling in COM_BINLOG_DUMP 2015-02-05 09:15:45 +00:00
Mark Riddoch
07536611d3 Add ability to extract values from the result set
Extract and action the @master_binlog_checksum value

Store master's uuid for use in show slave status

Support for MariaDB 5.5 masters
2015-02-04 15:59:28 +00:00
Mark Riddoch
add315d795 Updated to reflect the shange to the way servers are stored within services 2015-02-04 11:17:29 +00:00
Mark Riddoch
23d920c1a9 Addition of support for show slave status 2015-02-04 10:05:35 +00:00
Mark Riddoch
e9af90e4b6 Add support for:
select @@maxscale_version;
	show variables like "maxscale%"
	show master status
	show slave hosts
2015-02-03 17:14:37 +00:00
Mark Riddoch
048467b447 Fixed issue with simple parser for queries from slaves. 2015-02-03 14:35:22 +00:00
Mark Riddoch
5ac736a14e Fix for CRC in fake rotate events 2015-01-30 14:55:14 +00:00