summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@magare.gmz>2007-07-31 15:23:25 +0300
committerunknown <gkodinov/kgeorge@magare.gmz>2007-07-31 15:23:25 +0300
commitdfdb46df110b2ed4c3635a15038c020d0f242b89 (patch)
treea32fe617148b1f7930fc656c7fb3aad75bfeb99d /sql/sql_class.h
parenta2c0a70743e5d2f9d6429655c23e341f3baa98fc (diff)
parentfe6fa48c18c8acf03b89525e2e8b4ca6f324e1ff (diff)
downloadmariadb-git-dfdb46df110b2ed4c3635a15038c020d0f242b89.tar.gz
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B27417-5.0-opt sql/handler.cc: Auto merged sql/sp_head.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index ef719cdded7..1488c0c59c4 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1486,10 +1486,6 @@ 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 */
- 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() */
@@ -1740,7 +1736,7 @@ public:
inline bool really_abort_on_warning()
{
return (abort_on_warning &&
- (!no_trans_update.stmt ||
+ (!transaction.stmt.modified_non_trans_table ||
(variables.sql_mode & MODE_STRICT_ALL_TABLES)));
}
void set_status_var_init();