31 #ifndef UNIV_INNOCHECKSUM
36 #ifndef UNIV_HOTBACKUP
48 typedef std::list<const char*> space_name_list_t;
56 #define FIL_IBD_FILE_INITIAL_SIZE 4
59 #define FIL_NULL ULINT32_UNDEFINED
67 #define FIL_ADDR_PAGE 0
68 #define FIL_ADDR_BYTE 4
70 #define FIL_ADDR_SIZE 6
84 #define FIL_PAGE_SPACE_OR_CHKSUM 0
88 #define FIL_PAGE_OFFSET 4
89 #define FIL_PAGE_PREV 8
96 #define FIL_PAGE_NEXT 12
106 #define FIL_PAGE_LSN 16
108 #define FIL_PAGE_TYPE 24
123 #define FIL_PAGE_FILE_FLUSH_LSN 26
128 #define FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID 34
130 #define FIL_PAGE_DATA 38
133 #define FIL_PAGE_END_LSN_OLD_CHKSUM 8
137 #define FIL_PAGE_DATA_END 8
140 #ifndef UNIV_INNOCHECKSUM
143 #define FIL_PAGE_INDEX 17855
144 #define FIL_PAGE_UNDO_LOG 2
145 #define FIL_PAGE_INODE 3
146 #define FIL_PAGE_IBUF_FREE_LIST 4
148 #define FIL_PAGE_TYPE_ALLOCATED 0
149 #define FIL_PAGE_IBUF_BITMAP 5
150 #define FIL_PAGE_TYPE_SYS 6
151 #define FIL_PAGE_TYPE_TRX_SYS 7
152 #define FIL_PAGE_TYPE_FSP_HDR 8
153 #define FIL_PAGE_TYPE_XDES 9
154 #define FIL_PAGE_TYPE_BLOB 10
155 #define FIL_PAGE_TYPE_ZBLOB 11
156 #define FIL_PAGE_TYPE_ZBLOB2 12
157 #define FIL_PAGE_TYPE_LAST FIL_PAGE_TYPE_ZBLOB2
162 #define FIL_TABLESPACE 501
177 #ifndef UNIV_HOTBACKUP
219 __attribute__((nonnull, warn_unused_result));
220 #ifdef UNIV_LOG_ARCHIVE
226 fil_space_truncate_start(
350 #ifndef UNIV_HOTBACKUP
371 ibool one_read_already,
376 #ifdef UNIV_LOG_ARCHIVE
377 ulint* min_arch_log_no,
379 ulint* max_arch_log_no,
382 lsn_t* min_flushed_lsn,
384 lsn_t* max_flushed_lsn)
386 __attribute__((warn_unused_result));
453 #ifndef UNIV_HOTBACKUP
473 __attribute__((warn_unused_result));
483 const char* old_name_in,
489 const char* new_name,
492 const char* new_path);
525 const char* tablename,
526 const char* filepath);
533 const char* tablename);
558 const char* tablename,
561 const char* dir_path,
567 __attribute__((nonnull, warn_unused_result));
568 #ifndef UNIV_HOTBACKUP
598 const char* tablename,
600 const char* filepath)
601 __attribute__((nonnull(5), warn_unused_result));
636 #ifndef UNIV_HOTBACKUP
655 ibool print_error_if_does_not_exist,
663 table_id_t table_id);
672 fil_extend_tablespaces_to_stored_len(
void);
688 ulint size_after_extend);
750 __attribute__((nonnull(8)));
945 __attribute__((nonnull, warn_unused_result));
967 space_name_list_t& space_name_list)
969 __attribute__((warn_unused_result));
979 const char* old_name,
982 const char* new_name,
983 const char* tmp_name,
986 __attribute__((nonnull));