diff options
author | unknown <msvensson@pilot.(none)> | 2007-08-28 11:34:43 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.(none)> | 2007-08-28 11:34:43 +0200 |
commit | 9c3a03a239da3b3757d461f908674df79f379c9f (patch) | |
tree | 861b3b15273dd18f5260c6da570da63da37493c3 /sql/strfunc.cc | |
parent | e878be4cc9608b2879cb8ed84052dfe19aa4f375 (diff) | |
download | mariadb-git-9c3a03a239da3b3757d461f908674df79f379c9f.tar.gz |
Bug#28812 rpl_ssl fails due to assert in extra/yassl/src/socket_wrapper.cpp:117
- Merge sslaccept and sslconnect.
- Atomically "reset" vio to VIO_TYPE_SSL when the SSL connection has
succeeded, this avoids having to revert anything and thus protects
against "close_active_vio" in the middle.
- Add some variance to the testcase
mysql-test/t/rpl_ssl.test:
Add some variance by running two selects before stopping the slave
Check that number of records in t1 are equal on master and slave
vio/viossl.c:
Rewrite sslconnect and sslaccept to automically "reset" the vio
to VIO_TYPE_SSL. Also use the fd from 'SSL_get_fd' to avoid
setting vio->sd to -1, that previously occured when "close_active_vio"
was called during connect/accept.
Merge the two function since they were exactly the same except for one line.
Update the DBUG printouts to be generic(i.e use peer instead of client/server).
Diffstat (limited to 'sql/strfunc.cc')
0 files changed, 0 insertions, 0 deletions