1 /***************************************************************************** 2 3 Copyright (c) 2001, 2014, Oracle and/or its affiliates. All Rights Reserved. 4 5 This program is free software; you can redistribute it and/or modify it under 6 the terms of the GNU General Public License as published by the Free Software 7 Foundation; version 2 of the License. 8 9 This program is distributed in the hope that it will be useful, but WITHOUT 10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License along with 14 this program; if not, write to the Free Software Foundation, Inc., 15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA 16 17 *****************************************************************************/ 18 19 /******************************************************************//** 20 @file include/fts0opt.h 21 Full Text Search optimize thread 22 23 Created 2011-02-15 Jimmy Yang 24 ***********************************************************************/ 25 #ifndef INNODB_FTS0OPT_H 26 #define INNODB_FTS0OPT_H 27 28 /** The FTS optimize thread's work queue. */ 29 extern ib_wqueue_t* fts_optimize_wq; 30 31 /******************************************************************** 32 Callback function to fetch the rows in an FTS INDEX record. */ 33 ibool 34 fts_optimize_index_fetch_node( 35 /*==========================*/ 36 /* out: always returns non-NULL */ 37 void* row, /* in: sel_node_t* */ 38 void* user_arg); /* in: pointer to ib_vector_t */ 39 #endif 40