diff options
author | Tatiana A. Nurnberg <azundris@mysql.com> | 2009-03-23 05:08:32 +0100 |
---|---|---|
committer | Tatiana A. Nurnberg <azundris@mysql.com> | 2009-03-23 05:08:32 +0100 |
commit | 4093dcfb03e3f39bdfc7c65bea866a070bf3d11d (patch) | |
tree | 189507996ee61ac3d2c443781f1a30191c5f9c3f /client/mysqladmin.cc | |
parent | 4568152518d075ec543bcc55b77241e4a5bf7c17 (diff) | |
download | mariadb-git-4093dcfb03e3f39bdfc7c65bea866a070bf3d11d.tar.gz |
Bug#43254: SQL_SELECT_LIMIT=0 crashes command line client
When asking what database is selected, client expected
to *always* get an answer from the server.
We now handle failure more gracefully.
See comments in ticket for a discussion of what happens,
and how things interlock.
client/mysql.cc:
Handle empty result-sets gracefully, as opposed
to just result sets with n>0 items that may themselves
be empty.
Diffstat (limited to 'client/mysqladmin.cc')
0 files changed, 0 insertions, 0 deletions