diff options
author | Kentoku <kentokushiba@gmail.com> | 2017-10-10 23:15:25 +0900 |
---|---|---|
committer | Kentoku <kentokushiba@gmail.com> | 2017-10-10 23:15:25 +0900 |
commit | 13167e64898da6373fa8cab2ad89514eaf886412 (patch) | |
tree | 80bf1b092bc5ebd5d64624a2df41ac31bf115959 /storage/mroonga/mrn_variables.hpp | |
parent | 494d1bf8859bbc9f80779144d07ce0603523d813 (diff) | |
download | mariadb-git-13167e64898da6373fa8cab2ad89514eaf886412.tar.gz |
Update Mroonga to the latest version on 2017-10-10T23:15:25+0900
Diffstat (limited to 'storage/mroonga/mrn_variables.hpp')
-rw-r--r-- | storage/mroonga/mrn_variables.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/storage/mroonga/mrn_variables.hpp b/storage/mroonga/mrn_variables.hpp index 6bc948a1cac..0866403e54c 100644 --- a/storage/mroonga/mrn_variables.hpp +++ b/storage/mroonga/mrn_variables.hpp @@ -26,4 +26,28 @@ extern PSI_memory_key mrn_memory_key; #endif +namespace mrn { + namespace variables { + enum BooleanModeSyntaxFlag { + BOOLEAN_MODE_SYNTAX_FLAG_DEFAULT = (1 << 0), + BOOLEAN_MODE_SYNTAX_FLAG_SYNTAX_QUERY = (1 << 1), + BOOLEAN_MODE_SYNTAX_FLAG_SYNTAX_SCRIPT = (1 << 2), + BOOLEAN_MODE_SYNTAX_FLAG_ALLOW_COLUMN = (1 << 3), + BOOLEAN_MODE_SYNTAX_FLAG_ALLOW_UPDATE = (1 << 4), + BOOLEAN_MODE_SYNTAX_FLAG_ALLOW_LEADING_NOT = (1 << 5) + }; + + ulonglong get_boolean_mode_syntax_flags(THD *thd); + + enum ActionOnError { + ACTION_ON_ERROR_ERROR, + ACTION_ON_ERROR_ERROR_AND_LOG, + ACTION_ON_ERROR_IGNORE, + ACTION_ON_ERROR_IGNORE_AND_LOG, + }; + + ActionOnError get_action_on_fulltext_query_error(THD *thd); + } +} + #endif /* MRN_VARIABLES_HPP_ */ |