diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-03-26 20:25:10 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-03-26 20:25:10 -0300 |
commit | 26f561d5d0ad077c764366fb5dde168a8ed0e88a (patch) | |
tree | 263224e9efc11eab2f5fae7d03581c0e7a499a89 /include | |
parent | 9be507ca1fc4c73b05f5ff0ac6f561f092f6dc12 (diff) | |
parent | bfa198c2e700c96f46743a217459470a6dc19a67 (diff) | |
download | mariadb-git-26f561d5d0ad077c764366fb5dde168a8ed0e88a.tar.gz |
Bug#33899: Deadlock in mysql_real_query with shared memory connections
The problem is that the read and write methods of the shared
memory transport (protocol) didn't react to asynchornous close
events, which could lead to a lock up as the client would wait
(until time out) for a server response that will never come.
The solution is to also wait for close events while waiting
for I/O from or to the server.
Bug report and patch submitted by: Armin Schöffmann
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions