mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Fix for send_fields flush after a fix for windows slowdown issue
This commit is contained in:
parent
4ccada56f1
commit
d30c9e8e81
1 changed files with 3 additions and 0 deletions
|
@ -659,10 +659,13 @@ static bool mysql_test_select_fields(PREP_STMT *stmt, TABLE_LIST *tables,
|
|||
wild_num, conds, og_num, order, group, having, proc,
|
||||
select_lex, unit, 0))
|
||||
DBUG_RETURN(1);
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
if (send_prep_stmt(stmt, fields.elements) ||
|
||||
thd->protocol_simple.send_fields(&fields, 0) ||
|
||||
net_flush(&thd->net) ||
|
||||
send_item_params(stmt))
|
||||
DBUG_RETURN(1);
|
||||
#endif
|
||||
join->cleanup();
|
||||
}
|
||||
DBUG_RETURN(0);
|
||||
|
|
Loading…
Reference in a new issue