diff options
author | kostja@bodhi.local <> | 2006-07-13 00:18:59 +0400 |
---|---|---|
committer | kostja@bodhi.local <> | 2006-07-13 00:18:59 +0400 |
commit | 56353959e7cbc40396f3e4cc3b34c6ca5fdd64dd (patch) | |
tree | 72d131bf20c7f83d51448986e035a8f9cbfb5c73 /sql/sql_lex.h | |
parent | c15805f741b41806c37bb217e84136b8c2debfd9 (diff) | |
parent | 406d50db068e75dea6e04b4d018765c94502b04d (diff) | |
download | mariadb-git-56353959e7cbc40396f3e4cc3b34c6ca5fdd64dd.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index c889c2c5f94..93b4135f03a 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -793,6 +793,16 @@ public: byte **sroutines_list_own_last; uint sroutines_list_own_elements; +#ifdef HAVE_ROW_BASED_REPLICATION + /* + Tells if the parsing stage detected that some items require row-based + binlogging to give a reliable binlog/replication, or if we will use + stored functions or triggers which themselves need require row-based + binlogging. + */ + bool binlog_row_based_if_mixed; +#endif + /* These constructor and destructor serve for creation/destruction of Query_tables_list instances which are used as backup storage. @@ -975,11 +985,7 @@ typedef struct st_lex : public Query_tables_list uint8 create_view_check; bool drop_if_exists, drop_temporary, local_file, one_shot_set; bool in_comment, ignore_space, verbose, no_write_to_binlog; - /* - binlog_row_based_if_mixed tells if the parsing stage detected that some - items require row-based binlogging to give a reliable binlog/replication. - */ - bool tx_chain, tx_release, binlog_row_based_if_mixed; + bool tx_chain, tx_release; /* Special JOIN::prepare mode: changing of query is prohibited. When creating a view, we need to just check its syntax omitting |