46e9e41433
Added new routines for testbinlog
...
Added new routines for testbinlog
2015-08-26 11:04:24 +02:00
3fe0c074c5
Added strerror_r and new constants
...
Added strerror_r and new constants
2015-08-24 15:02:22 +02:00
599e2fdc6c
Small improvements for string buffers
...
Small improvements an constants added in string buffers
2015-08-24 11:38:24 +02:00
e103aa46a8
Addition of BLR_TYPE_STRING and BLR_TYPE_INT
...
Addition of BLR_TYPE_STRING and BLR_TYPE_INT for SQL variable names
replies
2015-08-24 10:11:26 +02:00
1b3ce9e16b
Small improvements to new added options
...
Small improvements to new adde options
2015-08-21 18:06:53 +02:00
4242d28e13
Added support for new options
...
Added support for new options:
master_uuid, master_hostname, master_version
If set, those values will be sent to slaves instead of
saved master responses
2015-08-21 16:31:40 +02:00
57c2d196d4
Added validation and parsing for CHANGE MASTER TO
...
Added validation and parsing for CHANGE MASTER TO
2015-08-20 09:59:57 +02:00
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
de902f316a
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 11:58:42 +02:00
1f1671a0e2
Version upate
...
Version upate
2015-08-12 11:18:04 +02:00
6a02608382
Removed useless vars and code cleanup
...
Removed useless vars and code cleanup
2015-08-11 18:09:49 +02:00
8a890f8597
Fixes and improvements
...
Fixes and improvements
2015-08-11 17:27:38 +02:00
b1a2481de8
Fix for first file creation via change master to
...
Fix for first file creation via change master to
2015-08-10 17:55:51 +02:00
3ebdeed7f9
Added user@host message for unexpected query
...
Added user@host message for unexpected query
2015-08-10 16:56:21 +02:00
9bada09d2d
Update messages on errors
...
Update messages on errors
2015-08-09 23:14:55 +02:00
479e4e3203
Added blr_check_binlog at router startup if trx_safe is set
...
Added blr_check_binlog at router startup if trx_safe is set
2015-08-07 11:59:15 +02:00
e5a2e5cd1f
Improvements added in stop/start slave and change master
...
Improvements added in stop/start slave and change master
2015-08-06 17:47:37 +02:00
f91a339674
Initial implementation of transaction safety
...
Initial implementation of transaction safety
2015-08-05 14:29:17 +02:00
28da5f2470
Fixed compile errors
...
Fixed compile errors
2015-08-04 14:19:53 +02:00
61c47375d5
Merge branch 'develop' into 1.2.1-binlog_router
...
Conflicts:
server/core/server.c
server/include/server.h
server/modules/include/blr.h
server/modules/routing/binlog/blr.c
server/modules/routing/binlog/blr_file.c
server/modules/routing/binlog/blr_master.c
server/modules/routing/binlog/blr_slave.c
2015-08-04 07:59:44 -04:00
bf4630bb2c
Removed extra statements
...
Removed extra statements
2015-07-28 13:27:36 +02:00
9ef43c9d9e
Logged statement is truncated if contains 'password'
...
Logged statement is truncated if contains 'password'
2015-07-28 13:25:14 +02:00
556e99b2a9
Fix for bug MXS-289
...
Added fix for bug MXS-289
2015-07-27 18:44:05 +02:00
aa6294f1f2
Fixed binlogrouter not working with C99 flags.
2015-07-20 08:59:35 +03:00
f22e2ec87b
Added Connecting state in Slave_IO_Running
...
Added ‘Connecting’ state in Slave_IO_Running field of SHOW SLAVE STATUS
2015-07-15 09:18:55 +02:00
7b9d54d1d4
Removed MASTER_PASSWORD from logs
...
Removed MASTER_PASSWORD from logs
2015-07-14 17:32:42 +02:00
78eab19c62
Fixed compiler warnings.
2015-07-14 17:13:09 +03:00
9480c01b96
New log messages for dbusers loading failure
...
New log messages for dbusers loading failure
2015-07-13 18:12:34 +02:00
a16d4c46d6
Changed default master port to 3306
...
Changed default master port to 3306
2015-07-13 12:44:03 +02:00
5165c6b981
master.ini contains now master configuration
...
master.ini contains now master configuration
It can be created or modified by CHANGE MASTER TO
Added new BLRM_UNCONFIGURED state
2015-06-30 16:10:02 +02:00
b526da1fd4
Added fix in CHANGE MASTER TO when MASTER_LOG_FILE is not set
...
Added fix in CHANGE MASTER TO when MASTER_LOG_FILE is not set
2015-06-26 09:52:57 +02:00
cd7f7aba57
CHAGE MASTER TO new binlog requires MASTER_LOG_POS to be set
...
CHAGE MASTER TO new binlog requires MASTER_LOG_POS to be set
2015-06-23 17:42:42 +02:00
543873a44f
Add default for missing MASTER_LOG_POS
...
Add default for missing MASTER_LOG_POS
4 if binlog is a new one
current pos if binlog = current one
2015-06-23 17:19:54 +02:00
7a0a010a86
CHANGE MASTER error messages improvement
...
CHANGE MASTER error messages improvement
New Start Slave implementation
Error Handling when master_state is BLRM_BINLOGDUMP: in case of error
master replication stops and new state is BLRM_SLAVE_STOPPED
2015-06-23 15:34:56 +02:00
022179ca12
start slave may create a new binlog file
...
start slave may create a new binlog file
2015-06-23 10:05:39 +02:00
71664f162b
Merge branch 'develop' into dev-mdb10
2015-06-22 19:27:34 +03:00
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
2816d87013
fix for missing crc check in blr_slave_fake_rotate()
...
fix for missing crc check in blr_slave_fake_rotate()
fix for missing @@version_comment in order to allow mysql client get in
2015-06-22 18:21:43 +02:00
4952dc48bb
Added constraints to CHANGE MASTER TO options
...
Added constraints to CHANGE MASTER TO options MASTER_LOG_FILE and
MASTER_LOG_POS
2015-06-15 15:03:27 +02:00
d94ac9c637
Added new general error message
...
Added new general error message
Added
Slave_IO_Running: No
Slave_SQL_Running: No
when slave is stopped
2015-06-09 16:46:41 +02:00
2db4f4d771
Added error_msg to blr_slave_send_slave_status()
...
Added error_msg to blr_slave_send_slave_status()
2015-06-08 19:16:50 +02:00
d9234bec5f
Updated logging messages
...
Updated logging messages
2015-06-08 17:30:26 +02:00
809cdb5b1e
Added blr_cache_read_master_data and dcb checks
...
Added blr_cache_read_master_data()
Added dcb checks before calling db_close
Forced initialisation values of some parameters
2015-06-08 16:56:52 +02:00
945e2f8132
added checks in blr_stop_slave()
...
errorReply sets mysql_errno into router struct
blr_slave_send_slave_status displays mysql errno
added checks in blr_stop_slave()
2015-06-05 17:37:05 +02:00
2a15e6e774
server_update_port/address are used
...
server_update_port and server_update_address now used by
blr_handle_change_master
2015-06-03 10:30:03 +02:00
cedaeb7fe9
MariaDB10 embedded library version string
...
MariaDB10 embedded library version string
2015-06-03 09:41:12 +02:00
6cb0248ab8
Addition of MASTER_USER and MASTER_PASSWORD
...
Addition of MASTER_USER and MASTER_PASSWORD
2015-06-01 11:15:43 +02:00
392c71df07
Addition of CHANGE MASTER TO
...
Addition of CHANGE MASTER TO … command.
Current handled command has four options, example:
change master to MASTER_LOG_FILE='mysql-bin.000049',
MASTER_LOG_POS=245, MASTER_HOST='127.0.0.1', MASTER_PORT=3307;
2015-05-29 17:01:34 +02:00
f54fcc7e4e
changed stop/start slave error message
...
changed stop/start slave error message including
errors code and status message
ERROR 1254 (HY000): Slave connection is already running
ERROR 1199 (HY000): Slave connection is not running
2015-05-28 11:14:59 +02:00
453dd64273
Added dcb_close for router->client session
...
Added dcb_close for router->client session and queue residual cleanup
2015-05-27 15:29:38 +02:00