diff options
Diffstat (limited to 'storage/xtradb/include/row0mysql.h')
-rw-r--r-- | storage/xtradb/include/row0mysql.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/storage/xtradb/include/row0mysql.h b/storage/xtradb/include/row0mysql.h index ff00f031e91..a75aea1d046 100644 --- a/storage/xtradb/include/row0mysql.h +++ b/storage/xtradb/include/row0mysql.h @@ -596,7 +596,16 @@ struct mysql_row_templ_struct { #define ROW_PREBUILT_ALLOCATED 78540783 #define ROW_PREBUILT_FREED 26423527 -typedef int (*idx_cond_func_t)(void *param); + +typedef enum xtradb_icp_result { + XTRADB_ICP_ERROR=-1, + XTRADB_ICP_NO_MATCH=0, + XTRADB_ICP_MATCH=1, + XTRADB_ICP_OUT_OF_RANGE=2, + XTRADB_ICP_ABORTED_BY_USER=3, +} xtradb_icp_result_t; + +typedef xtradb_icp_result_t (*idx_cond_func_t)(void *param); /** A struct for (sometimes lazily) prebuilt structures in an Innobase table handle used within MySQL; these are used to save CPU time. */ |