D.S

dev.mysql.com

MySQL: include/my_icp.h Source File

MySQL: include/my_icp.h Source File MySQL  8.0.0 Source Code Documentation Main Page Related Pages Modules Namespaces Classes Files File List File Members my_icp.h Go to the documentation of this file. 1 /* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. 2  3  This program is free software; you can redistribute it and/or modify 4  it under the terms of the GNU General Public License as published by 5  the Free Software Foundation; version 2 of the License. 6  7  This program is distributed in the hope that it will be useful, 8  but WITHOUT ANY WARRANTY; without even the implied warranty of 9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10  GNU General Public License for more details. 11  12  You should have received a copy of the GNU General Public License 13  along with this program; if not, write to the Free Software 14  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ 15  16 #ifndef _my_icp_h 17 #define _my_icp_h 18  19 /** 20  @file include/my_icp.h 21 */ 22  23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26  27 /** 28  Values returned by index_cond_func_xxx functions. 29 */ 30  31  typedef enum icp_result { 32  /** Index tuple doesn't satisfy the pushed index condition (the engine 33  should discard the tuple and go to the next one) */ 34   ICP_NO_MATCH , 35  36  /** Index tuple satisfies the pushed index condition (the engine should 37  fetch and return the record) */ 38   ICP_MATCH , 39  40  /** Index tuple is out of the range that we're scanning, e.g. if we're 41  scanning "t.key BETWEEN 10 AND 20" and got a "t.key=21" tuple (the engine 42  should stop scanning and return HA_ERR_END_OF_FILE right away). */ 43   ICP_OUT_OF_RANGE 44  45 } ICP_RESULT ; 46  47  48 #ifdef __cplusplus 49 } 50 #endif 51  52 #endif /* _my_icp_h */ ICP_RESULT enum icp_result ICP_RESULT Values returned by index_cond_func_xxx functions. icp_result icp_result Values returned by index_cond_func_xxx functions. Definition: my_icp.h:31 ICP_OUT_OF_RANGE Index tuple is out of the range that we're scanning, e.g. Definition: my_icp.h:43 ICP_NO_MATCH Index tuple doesn't satisfy the pushed index condition (the engine should discard the tuple and go to... Definition: my_icp.h:34 ICP_MATCH Index tuple satisfies the pushed index condition (the engine should fetch and return the record) ... Definition: my_icp.h:38 include my_icp.h Generated by 1.8.11