31 #ifndef UNIV_INNOCHECKSUM
36 #ifndef UNIV_HOTBACKUP
44 extern my_bool lower_case_file_system;
49 typedef std::list<const char*> space_name_list_t;
57 #define FIL_IBD_FILE_INITIAL_SIZE 4
60 #define FIL_NULL ULINT32_UNDEFINED
68 #define FIL_ADDR_PAGE 0
69 #define FIL_ADDR_BYTE 4
71 #define FIL_ADDR_SIZE 6
85 #define FIL_PAGE_SPACE_OR_CHKSUM 0
89 #define FIL_PAGE_OFFSET 4
90 #define FIL_PAGE_PREV 8
97 #define FIL_PAGE_NEXT 12
107 #define FIL_PAGE_LSN 16
109 #define FIL_PAGE_TYPE 24
124 #define FIL_PAGE_FILE_FLUSH_LSN 26
129 #define FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID 34
131 #define FIL_PAGE_SPACE_ID FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID
133 #define FIL_PAGE_DATA 38
136 #define FIL_PAGE_END_LSN_OLD_CHKSUM 8
140 #define FIL_PAGE_DATA_END 8
143 #ifndef UNIV_INNOCHECKSUM
146 #define FIL_PAGE_INDEX 17855
147 #define FIL_PAGE_UNDO_LOG 2
148 #define FIL_PAGE_INODE 3
149 #define FIL_PAGE_IBUF_FREE_LIST 4
151 #define FIL_PAGE_TYPE_ALLOCATED 0
152 #define FIL_PAGE_IBUF_BITMAP 5
153 #define FIL_PAGE_TYPE_SYS 6
154 #define FIL_PAGE_TYPE_TRX_SYS 7
155 #define FIL_PAGE_TYPE_FSP_HDR 8
156 #define FIL_PAGE_TYPE_XDES 9
157 #define FIL_PAGE_TYPE_BLOB 10
158 #define FIL_PAGE_TYPE_ZBLOB 11
159 #define FIL_PAGE_TYPE_ZBLOB2 12
160 #define FIL_PAGE_TYPE_LAST FIL_PAGE_TYPE_ZBLOB2
165 #define FIL_TABLESPACE 501
189 #ifdef UNIV_LOG_ARCHIVE
194 #ifndef UNIV_HOTBACKUP
236 __attribute__((nonnull, warn_unused_result));
237 #ifdef UNIV_LOG_ARCHIVE
243 fil_space_truncate_start(
367 #ifndef UNIV_HOTBACKUP
388 ibool one_read_already,
393 #ifdef UNIV_LOG_ARCHIVE
394 ulint* min_arch_log_no,
396 ulint* max_arch_log_no,
399 lsn_t* min_flushed_lsn,
401 lsn_t* max_flushed_lsn)
403 __attribute__((warn_unused_result));
471 #ifndef UNIV_HOTBACKUP
491 __attribute__((warn_unused_result));
501 const char* old_name_in,
507 const char* new_name,
510 const char* new_path);
543 const char* tablename,
544 const char* filepath);
551 const char* tablename);
576 const char* tablename,
579 const char* dir_path,
585 __attribute__((nonnull, warn_unused_result));
586 #ifndef UNIV_HOTBACKUP
616 const char* tablename,
618 const char* filepath)
619 __attribute__((nonnull(5), warn_unused_result));
654 #ifndef UNIV_HOTBACKUP
673 ibool print_error_if_does_not_exist,
681 table_id_t table_id);
690 fil_extend_tablespaces_to_stored_len(
void);
706 ulint size_after_extend);
768 __attribute__((nonnull(8)));
963 __attribute__((nonnull, warn_unused_result));
985 space_name_list_t& space_name_list)
987 __attribute__((warn_unused_result));
997 const char* old_name,
1000 const char* new_name,
1001 const char* tmp_name,
1004 __attribute__((nonnull));