diff options
author | mats@romeo.(none) <> | 2007-03-26 09:02:38 +0200 |
---|---|---|
committer | mats@romeo.(none) <> | 2007-03-26 09:02:38 +0200 |
commit | 6269e4f216f216002109f50ec674b84350f1c162 (patch) | |
tree | 61831b1c95e7c1bd69024f9c0127f172623793b7 /sql/log_event.h | |
parent | 08bb33dbd756e4d02d2f0cbe240a921443f4e2c3 (diff) | |
parent | 68cc7dde31b6cf1a72fea3e3e6d3aa62bd3bacf9 (diff) | |
download | mariadb-git-6269e4f216f216002109f50ec674b84350f1c162.tar.gz |
Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl
into romeo.(none):/home/bk/b22583-mysql-5.1-new-rpl
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 1894b3b7380..a573140ef33 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -2489,4 +2489,12 @@ private: #endif }; +static inline bool copy_event_cache_to_file_and_reinit(IO_CACHE *cache, + FILE *file) +{ + return + my_b_copy_to_file(cache, file) || + reinit_io_cache(cache, WRITE_CACHE, 0, FALSE, TRUE); +} + #endif /* _log_event_h */ |