mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
a fix (bug #8129: help.test fails using --ps-protocol)
This commit is contained in:
parent
160f254d34
commit
f995a526b1
1 changed files with 2 additions and 1 deletions
|
|
@ -559,7 +559,8 @@ SQL_SELECT *prepare_simple_select(THD *thd, Item *cond, TABLE_LIST *tables,
|
|||
if (!cond->fixed)
|
||||
cond->fix_fields(thd, tables, &cond); // can never fail
|
||||
SQL_SELECT *res= make_select(table,0,0,cond,error);
|
||||
if (*error || (res && res->check_quick(thd, 0, HA_POS_ERROR)))
|
||||
if (*error || (res && res->check_quick(thd, 0, HA_POS_ERROR)) ||
|
||||
(res->quick && res->quick->reset()))
|
||||
{
|
||||
delete res;
|
||||
res=0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue