MySQL 8.4.3
Source Code Documentation
my_icp.h File Reference

Go to the source code of this file.

Typedefs

typedef enum icp_result ICP_RESULT
 Values returned by index_cond_func_xxx functions. More...
 

Enumerations

enum  icp_result { ICP_NO_MATCH , ICP_MATCH , ICP_OUT_OF_RANGE }
 Values returned by index_cond_func_xxx functions. More...
 

Typedef Documentation

◆ ICP_RESULT

typedef enum icp_result ICP_RESULT

Values returned by index_cond_func_xxx functions.

Enumeration Type Documentation

◆ icp_result

enum icp_result

Values returned by index_cond_func_xxx functions.

Enumerator
ICP_NO_MATCH 

Index tuple doesn't satisfy the pushed index condition (the engine should discard the tuple and go to the next one)

ICP_MATCH 

Index tuple satisfies the pushed index condition (the engine should fetch and return the record)

ICP_OUT_OF_RANGE 

Index tuple is out of the range that we're scanning, e.g.

if we're scanning "t.key BETWEEN 10 AND 20" and got a "t.key=21" tuple (the engine should stop scanning and return HA_ERR_END_OF_FILE right away).