summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fts0ast.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2015-05-26 10:01:12 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-03-17 12:48:50 +0200
commit97acc4a1c37974cb2a1e3d6d163e107cb038a7a6 (patch)
treee8f0732924a8a1127334cc9c9e9813088413eb45 /storage/innobase/include/fts0ast.h
parent4e1116b2c6e1b6e0714fb2ed742842f1ee6bfab5 (diff)
downloadmariadb-git-97acc4a1c37974cb2a1e3d6d163e107cb038a7a6.tar.gz
MDEV-12270 Port MySQL 8.0 Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC
InnoDB defines some functions that are not called at all. Other functions are called, but only from the same compilation unit. Remove some function declarations and definitions, and add 'static' keywords. Some symbols must be kept for separately compiled tools, such as innochecksum.
Diffstat (limited to 'storage/innobase/include/fts0ast.h')
-rw-r--r--storage/innobase/include/fts0ast.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/storage/innobase/include/fts0ast.h b/storage/innobase/include/fts0ast.h
index 87b7cf709c8..b5187ce2a41 100644
--- a/storage/innobase/include/fts0ast.h
+++ b/storage/innobase/include/fts0ast.h
@@ -180,14 +180,6 @@ fts_ast_node_print(
/*===============*/
fts_ast_node_t* node); /*!< in: ast node to print */
/********************************************************************
-For tracking node allocations, in case there is an during parsing.*/
-extern
-void
-fts_ast_state_add_node(
-/*===================*/
- fts_ast_state_t*state, /*!< in: ast state instance */
- fts_ast_node_t* node); /*!< in: node to add to state */
-/********************************************************************
Free node and expr allocations.*/
extern
void
@@ -217,18 +209,6 @@ fts_ast_visit(
operator, currently we only
ignore FTS_IGNORE operator */
MY_ATTRIBUTE((nonnull, warn_unused_result));
-/*****************************************************************//**
-Process (nested) sub-expression, create a new result set to store the
-sub-expression result by processing nodes under current sub-expression
-list. Merge the sub-expression result with that of parent expression list.
-@return DB_SUCCESS if all went well */
-dberr_t
-fts_ast_visit_sub_exp(
-/*==================*/
- fts_ast_node_t* node, /*!< in: instance to traverse*/
- fts_ast_callback visitor, /*!< in: callback */
- void* arg) /*!< in: callback arg */
- MY_ATTRIBUTE((nonnull, warn_unused_result));
/********************************************************************
Create a lex instance.*/
fts_lexer_t*
@@ -275,13 +255,6 @@ fts_ast_string_to_ul(
const fts_ast_string_t* ast_str,
int base);
-/**
-Print the ast string
-@param[in] str string to print */
-void
-fts_ast_string_print(
- const fts_ast_string_t* ast_str);
-
/* String of length len.
We always store the string of length len with a terminating '\0',
regardless of there is any 0x00 in the string itself */
@@ -367,8 +340,6 @@ fts_ast_create_node_phrase_list(
#ifdef UNIV_DEBUG
const char*
-fts_ast_oper_name_get(fts_ast_oper_t oper);
-const char*
fts_ast_node_type_get(fts_ast_type_t type);
#endif /* UNIV_DEBUG */