mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug #22913: mysql --quick doesn't report some errors.
We don't check for errors that may occur during data printing.
This commit is contained in:

parent
728588da38
commit
a072688eea
@ -1988,6 +1988,8 @@ com_go(String *buffer,char *line __attribute__((unused)))
|
||||
(long) mysql_num_rows(result),
|
||||
(long) mysql_num_rows(result) == 1 ? "row" : "rows");
|
||||
end_pager();
|
||||
if (mysql_errno(&mysql))
|
||||
error= put_error(&mysql);
|
||||
}
|
||||
}
|
||||
else if (mysql_affected_rows(&mysql) == ~(ulonglong) 0)
|
||||
|
Reference in New Issue
Block a user