summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-12-12 04:34:56 +0200
committermonty@donna.mysql.com <>2000-12-12 04:34:56 +0200
commit10693572ed91eae3e98419b7730f10162b9c3ac2 (patch)
tree3c78736b50f99b9b8ac968afb833752f201a482a /include/my_sys.h
parent60dc7eabc9d3d1e89a23e9fdf18bdb134dc8eb75 (diff)
downloadmariadb-git-10693572ed91eae3e98419b7730f10162b9c3ac2.tar.gz
Fixed delete in tables with hidden primary key
Remove not used BDB logs on shutdown Don't give warnings for repair on slaves Fixed transaction log files
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h2
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 */