diff options
author | unknown <holyfoot/hf@mysql.com/hfmain.(none)> | 2007-01-03 02:41:14 +0400 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/hfmain.(none)> | 2007-01-03 02:41:14 +0400 |
commit | c81140f5a18602844d2419c49b326cf0fddea5e7 (patch) | |
tree | 2ff259e32d544f0c187ffc6132345cc80e042143 /libmysqld | |
parent | c79aeba1bd66c03b70ade63d5e1879d5ae552676 (diff) | |
download | mariadb-git-c81140f5a18602844d2419c49b326cf0fddea5e7.tar.gz |
warning count for embedded prepared statements added
libmysqld/lib_sql.cc:
reading warning count 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) { |