summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-06-11 14:53:26 +0200
committerunknown <knielsen@knielsen-hq.org>2009-06-11 14:53:26 +0200
commit93bcda598bd6c58a7f5ad3d2e860b194325eed9f (patch)
tree014bccd2ba79d230f4f3cb4ff03f89640b99e1e4 /sql/log_event.h
parentd2d7b5bbb6796ee171ef605f5ea61cb782918b72 (diff)
parent121461f6f3987c4b058d64775f1380016b68896c (diff)
downloadmariadb-git-93bcda598bd6c58a7f5ad3d2e860b194325eed9f.tar.gz
Merge latest XtraDB from lp:percona-xtradb into MariaDB.
include/my_sys.h: Move generic file parsing functions out to shared code, as they are used in several places. mysys/mf_iocache2.c: Move generic file parsing functions out to shared code, as they are used in several places. sql/log_event.cc: Fix XtraDB build with embedded server. XtraDB needs access to replication stuff, which is missing in embedded server. Solved by defining wrapper function for this which is compiled differently for normal and embedded case. sql/log_event.h: Fix XtraDB build with embedded server. XtraDB needs access to replication stuff, which is missing in embedded server. Solved by defining wrapper function for this which is compiled differently for normal and embedded case. sql/slave.cc: Move generic file parsing functions out to shared code, as they are used in several places.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 1d11d7e2d5f..22e9f8d9262 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -3915,6 +3915,10 @@ static inline bool copy_event_cache_to_file_and_reinit(IO_CACHE *cache,
reinit_io_cache(cache, WRITE_CACHE, 0, FALSE, TRUE);
}
+bool rpl_get_position_info(const char **log_file_name, ulonglong *log_pos,
+ const char **group_relay_log_name,
+ ulonglong *relay_log_pos);
+
/**
@} (end of group Replication)
*/