summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorAlfranio Correia <alfranio.correia@sun.com>2010-03-31 14:30:24 +0100
committerAlfranio Correia <alfranio.correia@sun.com>2010-03-31 14:30:24 +0100
commit671f8768bbf437c4ef546a73ccec2d472485528a (patch)
tree76af6a16f7a21178e722d6b90b26529ef26255b4 /sql/sql_lex.h
parentbd92aec362ebd5c65f3c3b8e99a7e35a5bafede1 (diff)
parent41c642e634f8d7b8d6aef4b4c94783c96c2be711 (diff)
downloadmariadb-git-671f8768bbf437c4ef546a73ccec2d472485528a.tar.gz
auto-merge mysql-trunk-bugfixing (local) --> mysql-trunk-bugfixing
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 0b27f73e763..7b655889a5f 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1143,6 +1143,18 @@ public:
*/
BINLOG_STMT_UNSAFE_NONTRANS_AFTER_TRANS,
+ /**
+ Mixing self-logging and non-self-logging engines in a statement
+ is unsafe.
+ */
+ BINLOG_STMT_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE,
+
+ /**
+ Statements that read from both transactional and non-transactional
+ tables and write to any of them are unsafe.
+ */
+ BINLOG_STMT_UNSAFE_MIXED_STATEMENT,
+
/* The last element of this enumeration type. */
BINLOG_STMT_UNSAFE_COUNT
};