1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

warning count for embedded prepared statements added

This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-01-03 02:41:14 +04:00
parent e7130631cb
commit 12cd7c7b3e

View File

@ -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)
{