mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge bb-10.2-ext into 10.3
This commit is contained in:
@ -2230,10 +2230,8 @@ static int mysql_test_handler_read(Prepared_statement *stmt,
|
||||
if (!stmt->is_sql_prepare())
|
||||
{
|
||||
if (!lex->result && !(lex->result= new (stmt->mem_root) select_send(thd)))
|
||||
{
|
||||
my_error(ER_OUTOFMEMORY, MYF(0), (int) sizeof(select_send));
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
|
||||
if (send_prep_stmt(stmt, ha_table->fields.elements) ||
|
||||
lex->result->send_result_set_metadata(ha_table->fields, Protocol::SEND_EOF) ||
|
||||
thd->protocol->flush())
|
||||
|
Reference in New Issue
Block a user