diff options
author | unknown <mats@romeo.(none)> | 2006-10-02 15:08:40 +0200 |
---|---|---|
committer | unknown <mats@romeo.(none)> | 2006-10-02 15:08:40 +0200 |
commit | d9b292808461af13c9c17a6260475524bc60b728 (patch) | |
tree | e6f4719279eb9ff297c2322aac9b934fc2538c2d /include | |
parent | 2d4f71882f69d3cf358f18cd5d878917ffcb4cde (diff) | |
download | mariadb-git-d9b292808461af13c9c17a6260475524bc60b728.tar.gz |
BUG#19459 (BINLOG RBR command does not lock tables correctly causing
crash for, e.g., NDB):
Adding new function my_b_copy_to_file() to copy an IO_CACHE to a file.
include/my_sys.h:
Adding new function my_b_copy_to_file() to copy an IO_CACHE to a file.
mysys/mf_iocache2.c:
Adding new function my_b_copy_to_file() to copy an IO_CACHE to a file.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 4ea7cecf0a1..b2d7cf1fd37 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -517,6 +517,7 @@ typedef int (*qsort2_cmp)(const void *, const void *, const void *); (uint) (*(info)->current_pos - (info)->request_pos)) /* tell write offset in the SEQ_APPEND cache */ +int my_b_copy_to_file(IO_CACHE *cache, FILE *file); my_off_t my_b_append_tell(IO_CACHE* info); my_off_t my_b_safe_tell(IO_CACHE* info); /* picks the correct tell() */ |