mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 08:45:33 +02:00
Merge mysql.com:/d2/hf/common/my41-common
into mysql.com:/d2/hf/common/my50-common libmysqld/lib_sql.cc: merging
This commit is contained in:
commit
1c48d72376
1 changed files with 4 additions and 0 deletions
|
|
@ -306,7 +306,11 @@ int emb_read_binary_rows(MYSQL_STMT *stmt)
|
|||
{
|
||||
MYSQL_DATA *data;
|
||||
if (!(data= emb_read_rows(stmt->mysql, 0, 0)))
|
||||
{
|
||||
set_stmt_errmsg(stmt, stmt->mysql->net.last_error,
|
||||
stmt->mysql->net.last_errno, stmt->mysql->net.sqlstate);
|
||||
return 1;
|
||||
}
|
||||
stmt->result= *data;
|
||||
my_free((char *) data, MYF(0));
|
||||
set_stmt_errmsg(stmt, stmt->mysql->net.last_error,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue