summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-24 23:33:42 +0200
committermonty@mysql.com <>2005-02-24 23:33:42 +0200
commitcd78e701a5c83394c360f6ba9a1783c7b950e8ee (patch)
tree7dbb7787461bf6040b70c1701768dfa24df638d8 /sql/sql_class.h
parentd5f573713aeac2bde0d1fa9d6c8cc38559f81cdc (diff)
downloadmariadb-git-cd78e701a5c83394c360f6ba9a1783c7b950e8ee.tar.gz
Show all generated warnings in SHOW ERROR
Previously we only stored the first given error (the error sent to the client)
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 2d89ded63c2..5ffdca895bb 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1186,6 +1186,7 @@ public:
bool slow_command;
bool no_trans_update, abort_on_warning;
bool got_warning; /* Set on call to push_warning() */
+ bool no_warnings_for_error; /* no warnings on call to my_error() */
longlong row_count_func; /* For the ROW_COUNT() function */
sp_rcontext *spcont; // SP runtime context
sp_cache *sp_proc_cache;
@@ -1638,7 +1639,6 @@ public:
class select_union :public select_result_interceptor {
public:
TABLE *table;
- COPY_INFO info;
TMP_TABLE_PARAM tmp_table_param;
select_union(TABLE *table_par);