| 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, Suite 500, 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 | /******************************************************************** | 
|---|
| 29 | Callback function to fetch the rows in an FTS INDEX record. */ | 
|---|
| 30 | ibool | 
|---|
| 31 | fts_optimize_index_fetch_node( | 
|---|
| 32 | /*==========================*/ | 
|---|
| 33 | /* out: always returns non-NULL */ | 
|---|
| 34 | void*           row,		/* in: sel_node_t* */ | 
|---|
| 35 | void*           user_arg);	/* in: pointer to ib_vector_t */ | 
|---|
| 36 | #endif | 
|---|
| 37 |  | 
|---|