mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
warning count for embedded prepared statements added
libmysqld/lib_sql.cc: reading warning count added
This commit is contained in:
parent
c79aeba1bd
commit
c81140f5a1
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ static my_bool emb_read_prepare_result(MYSQL *mysql, MYSQL_STMT *stmt)
|
|||
stmt->stmt_id= thd->client_stmt_id;
|
||||
stmt->param_count= thd->client_param_count;
|
||||
stmt->field_count= mysql->field_count;
|
||||
mysql->warning_count= thd->total_warn_count;
|
||||
|
||||
if (stmt->field_count != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue