diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-04-24 15:39:47 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-04-27 19:12:37 +0200 |
commit | 99e1294c1e2ddd0bbd81129f1c0902be31a38f48 (patch) | |
tree | a5ef2bbbef5e45d81d29eef6d3fe8ef85245f8b1 /plugin/semisync | |
parent | 2c3f5787896f1278e240095c49539ad7baf77d8b (diff) | |
download | mariadb-git-99e1294c1e2ddd0bbd81129f1c0902be31a38f48.tar.gz |
bugfix: federated/replication did not increment bytes_received status variable
because mysql->net.thd was reset to NULL in mysql_real_connect()
and thd_increment_bytes_received() didn't do anything.
Fix:
* set mysql->net.thd to current_thd instread.
* remove the test for non-null THD from a very often used
function thd_increment_bytes_received().
Diffstat (limited to 'plugin/semisync')
0 files changed, 0 insertions, 0 deletions