diff options
Diffstat (limited to 'include/my_base.h')
-rw-r--r-- | include/my_base.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/my_base.h b/include/my_base.h index d23a70b8a55..54c739bde23 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -105,8 +105,8 @@ enum ha_extra_function { HA_EXTRA_NORMAL=0, /* Optimize for space (def) */ HA_EXTRA_QUICK=1, /* Optimize for speed */ HA_EXTRA_RESET=2, /* Reset database to after open */ - HA_EXTRA_CACHE=3, /* Cash record in HA_rrnd() */ - HA_EXTRA_NO_CACHE=4, /* End cacheing of records (def) */ + HA_EXTRA_CACHE=3, /* Cache record in HA_rrnd() */ + HA_EXTRA_NO_CACHE=4, /* End caching of records (def) */ HA_EXTRA_NO_READCHECK=5, /* No readcheck on update */ HA_EXTRA_READCHECK=6, /* Use readcheck (def) */ HA_EXTRA_KEYREAD=7, /* Read only key to database */ @@ -287,6 +287,9 @@ enum ha_base_keytype { #define HA_ERR_ROW_IS_REFERENCED 152 /* Cannot delete a parent row */ #define HA_ERR_NO_SAVEPOINT 153 /* No savepoint with that name */ #define HA_ERR_NON_UNIQUE_BLOCK_SIZE 154 /* Non unique key block size */ +#define HA_ERR_OLD_METADATA 155 /* The frm file on disk is old */ +#define HA_ERR_TABLE_EXIST 156 /* The table existed in storage engine */ +#define HA_ERR_NO_CONNECTION 157 /* Could not connect to storage engine */ /* Other constants */ @@ -364,4 +367,7 @@ typedef ulong ha_rows; #define MAX_FILE_SIZE LONGLONG_MAX #endif +/* Currently used for saying which interfaces a Storage Engine implements */ +#define HA_ERR_NOT_IMPLEMENTED -1 + #endif /* _my_base_h */ |