diff options
author | unknown <knielsen@knielsen-hq.org> | 2011-04-08 09:39:33 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2011-04-08 09:39:33 +0200 |
commit | 64e43e1cc88c66bd89f95a5307020bcf60ba4b96 (patch) | |
tree | 1ae6299d5a75f92fa97b240b0670c81c9a301afe /include | |
parent | 8b427b7d5548aeb214c70b004cc9056b9f7a6f7c (diff) | |
parent | 86008e0ca2b864f1ab7a30e496d7c67c8fce06c2 (diff) | |
download | mariadb-git-64e43e1cc88c66bd89f95a5307020bcf60ba4b96.tar.gz |
Merge various replication-related patches into MariaDB 5.3:
- MWL#116 Group commit
- MWL#136 Enhancements for START TRANSACTION WITH CONSISTENT SNAPSHOT
- MWL#47 Annotate_rows_log_event
- MWL#163 innodb_release_locks_early
- Percona patch enhancing row-based replication for tables with no primary key
Diffstat (limited to 'include')
-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 d391492983d..65455990b04 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -561,6 +561,8 @@ typedef int (*qsort2_cmp)(const void *, const void *, const void *); #define my_b_tell(info) ((info)->pos_in_file + \ (size_t) (*(info)->current_pos - (info)->request_pos)) +#define my_b_write_tell(info) ((info)->pos_in_file + \ + ((info)->write_pos - (info)->write_buffer)) #define my_b_get_buffer_start(info) (info)->request_pos #define my_b_get_bytes_in_buffer(info) (char*) (info)->read_end - \ |