mirror of
https://github.com/MariaDB/server.git
synced 2025-12-13 20:03:16 +03:00
branches/zip: Remove compilation errors with -DUNIV_HOTBACKUP.
dict_load_foreigns(): Enclose in #ifndef UNIV_HOTBACKUP. fil_extend_tablespaces_to_stored_len(): Pass zip_size to fil_read(). buf_page_init_for_backup_restore(): Add parameter zip_size. Enclose the declaration in buf0buf.h in #ifdef UNIV_HOTBACKUP. recv_apply_log_recs_for_backup(): Replace the local variable "page" with the local variable "block". Add local variable zip_size.
This commit is contained in:
@@ -258,6 +258,7 @@ buf_page_create(
|
||||
a page */
|
||||
ulint zip_size,/* in: compressed page size, or 0 */
|
||||
mtr_t* mtr); /* in: mini-transaction handle */
|
||||
#ifdef UNIV_HOTBACKUP
|
||||
/************************************************************************
|
||||
Inits a page to the buffer buf_pool, for use in ibbackup --restore. */
|
||||
|
||||
@@ -267,7 +268,10 @@ buf_page_init_for_backup_restore(
|
||||
ulint space, /* in: space id */
|
||||
ulint offset, /* in: offset of the page within space
|
||||
in units of a page */
|
||||
ulint zip_size,/* in: compressed page size in bytes
|
||||
or 0 for uncompressed pages */
|
||||
buf_block_t* block); /* in: block to init */
|
||||
#endif /* UNIV_HOTBACKUP */
|
||||
/************************************************************************
|
||||
Decrements the bufferfix count of a buffer control block and releases
|
||||
a latch, if specified. */
|
||||
|
||||
Reference in New Issue
Block a user