diff options
author | jamppa@bk-internal.mysql.com <> | 2007-04-03 13:55:20 +0200 |
---|---|---|
committer | jamppa@bk-internal.mysql.com <> | 2007-04-03 13:55:20 +0200 |
commit | cbfd66e7548ca0c5893f739727bf774775a59f4a (patch) | |
tree | 049cfa5e178795e0c9678787541789c9520fa138 /sql/sql_class.h | |
parent | 898ec87e141ca627fe7c8eb2c842dd4ab1ab159f (diff) | |
parent | 5441aefd1d7b5cbeb1d0874d578482c7a2b054d0 (diff) | |
download | mariadb-git-cbfd66e7548ca0c5893f739727bf774775a59f4a.tar.gz |
Merge bk-internal.mysql.com:/data0/bk/mysql-5.0
into bk-internal.mysql.com:/data0/bk/mysql-5.0-marvel
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 99803802001..12d7cb2368f 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 */ @@ -1664,7 +1668,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(); |