summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorAlfranio Correia <alfranio.correia@sun.com>2010-04-19 12:05:07 +0100
committerAlfranio Correia <alfranio.correia@sun.com>2010-04-19 12:05:07 +0100
commit2b89bd9f5e1b61af9683d0fc11a6171ac7748c35 (patch)
tree385883e7705d799975869c1605764b28d9acd067 /sql/sql_lex.h
parent61aae51180645fbd0129c913501e0566ece9883a (diff)
parente0328736bfc3bcb69699551d80afa931016b6c6b (diff)
downloadmariadb-git-2b89bd9f5e1b61af9683d0fc11a6171ac7748c35.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 cb8a96ad2ed..85ae2697f21 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1161,6 +1161,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
};