mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch 'bb-10.1-serg' into 10.1
10.0 merge 10.0-galera merge connect/10.1 merge
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Copyright (c) 2000, 2014, Oracle and/or its affiliates.
|
||||
Copyright (c) 2010, 2015, MariaDB
|
||||
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates.
|
||||
Copyright (c) 2010, 2016, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -1076,6 +1076,13 @@ private:
|
||||
index_clause_map current_index_hint_clause;
|
||||
/* a list of USE/FORCE/IGNORE INDEX */
|
||||
List<Index_hint> *index_hints;
|
||||
|
||||
public:
|
||||
inline void add_where_field(st_select_lex *sel)
|
||||
{
|
||||
DBUG_ASSERT(this != sel);
|
||||
select_n_where_fields+= sel->select_n_where_fields;
|
||||
}
|
||||
};
|
||||
typedef class st_select_lex SELECT_LEX;
|
||||
|
||||
@@ -1411,6 +1418,11 @@ public:
|
||||
return get_stmt_unsafe_flags() != 0;
|
||||
}
|
||||
|
||||
inline bool is_stmt_unsafe(enum_binlog_stmt_unsafe unsafe)
|
||||
{
|
||||
return binlog_stmt_flags & (1 << unsafe);
|
||||
}
|
||||
|
||||
/**
|
||||
Flag the current (top-level) statement as unsafe.
|
||||
The flag will be reset after the statement has finished.
|
||||
|
Reference in New Issue
Block a user