diff options
Diffstat (limited to 'include/my_sys.h')
-rw-r--r-- | include/my_sys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index aa465ba6d21..bd56482f8cf 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -332,6 +332,8 @@ typedef int (*qsort2_cmp)(const void *, const void *, const void *); #define my_b_tell(info) ((info)->pos_in_file + \ ((info)->rc_pos - (info)->rc_request_pos)) +#define my_b_bytes_in_cache(info) ((uint) ((info)->rc_end - (info)->rc_pos)) + typedef struct st_changeable_var { const char *name; /* Name of variable */ long *varptr; /* Pointer to variable */ |