diff options
author | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-01-03 02:41:14 +0400 |
---|---|---|
committer | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-01-03 02:41:14 +0400 |
commit | 12cd7c7b3e516398fb704f813123d4f3e2857a01 (patch) | |
tree | 2ff259e32d544f0c187ffc6132345cc80e042143 /libmysqld | |
parent | e7130631cbc7ab68cac3429dfa1680849b29dc7b (diff) | |
download | mariadb-git-12cd7c7b3e516398fb704f813123d4f3e2857a01.tar.gz |
warning count for embedded prepared statements added
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index f5e88190cac..fe4ac5ba676 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -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) { |