summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-01-22 08:28:01 -0200
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-01-22 08:28:01 -0200
commit6a834d1f4f8d41ef664c38f41408911080afebef (patch)
treef51942abc6312aa29e64b57ebda8c11b8278ccd6 /sql/sql_string.cc
parent7fc8286257e238233b097ba936d0b3bc2e74a430 (diff)
downloadmariadb-git-6a834d1f4f8d41ef664c38f41408911080afebef.tar.gz
Bug#40264: Aborted cached query causes query to hang indefinitely on next cache hit
The problem is that the query cache was storing partial results if the statement failed when sending the results to the client. This could cause clients to hang when trying to read the results from the cache as they would, for example, wait indefinitely for a eof packet that wasn't saved. The solution is to always discard the caching of a query that failed to send its results to the associated client.
Diffstat (limited to 'sql/sql_string.cc')
0 files changed, 0 insertions, 0 deletions