diff options
author | unknown <serg@sergbook.mysql.com> | 2007-03-24 17:16:53 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2007-03-24 17:16:53 +0200 |
commit | 99d1dee47301ba8313dd6fadeaabedcf60c38d27 (patch) | |
tree | b9c03afd33f12eacdee1a66fbe3bd8f2a850b5dd /sql/sql_class.h | |
parent | aa42093553ad7b066b96ca3e49facc02b6b8981e (diff) | |
parent | 79bfd0b958f4bade19e0f49ae379b6502cc145fe (diff) | |
download | mariadb-git-99d1dee47301ba8313dd6fadeaabedcf60c38d27.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-marvel
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0
mysql-test/r/sp.result:
Auto merged
mysql-test/t/sp.test:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/handler.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sp_head.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_view.cc:
Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 048da718dfd..560058f1a94 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1440,7 +1440,11 @@ public: bool charset_is_system_charset, charset_is_collation_connection; bool charset_is_character_set_filesystem; bool enable_slow_log; /* enable slow log for current statement */ - bool no_trans_update, abort_on_warning; + struct { + bool all:1; + bool stmt:1; + } no_trans_update; + bool abort_on_warning; bool got_warning; /* Set on call to push_warning() */ bool no_warnings_for_error; /* no warnings on call to my_error() */ /* set during loop of derived table processing */ @@ -1667,7 +1671,7 @@ public: inline bool really_abort_on_warning() { return (abort_on_warning && - (!no_trans_update || + (!no_trans_update.stmt || (variables.sql_mode & MODE_STRICT_ALL_TABLES))); } void set_status_var_init(); |