@@ -107,34 +107,34 @@ const char srv_mysql50_table_name_prefix[10] = "#mysql50#";
107107/* The following three are dir paths which are catenated before file
108108names, where the file name itself may also contain a path */
109109
110- char * srv_data_home= NULL ;
110+ char * srv_data_home;
111111
112112/* * Rollback files directory, can be absolute. */
113- char * srv_undo_dir = NULL ;
113+ char * srv_undo_dir;
114114
115115/* * The number of tablespaces to use for rollback segments. */
116- ulong srv_undo_tablespaces = 0 ;
116+ ulong srv_undo_tablespaces;
117117
118118/* * The number of UNDO tablespaces that are open and ready to use. */
119- ulint srv_undo_tablespaces_open = 0 ;
119+ ulint srv_undo_tablespaces_open;
120120
121121/* * The number of UNDO tablespaces that are active (hosting some rollback
122122segment). It is quite possible that some of the tablespaces doesn't host
123123any of the rollback-segment based on configuration used. */
124- ulint srv_undo_tablespaces_active = 0 ;
124+ ulint srv_undo_tablespaces_active;
125125
126126/* The number of rollback segments to use */
127- ulong srv_undo_logs = 1 ;
127+ ulong srv_undo_logs;
128128
129129/* * Rate at which UNDO records should be purged. */
130- ulong srv_purge_rseg_truncate_frequency = 128 ;
130+ ulong srv_purge_rseg_truncate_frequency;
131131
132132/* * Enable or Disable Truncate of UNDO tablespace.
133133Note: If enabled then UNDO tablespace will be selected for truncate.
134134While Server waits for undo-tablespace to truncate if user disables
135135it, truncate action is completed but no new tablespace is marked
136136for truncate (action is never aborted). */
137- my_bool srv_undo_log_truncate = FALSE ;
137+ my_bool srv_undo_log_truncate;
138138
139139/* * Maximum size of undo tablespace. */
140140unsigned long long srv_max_undo_log_size;
@@ -166,23 +166,23 @@ my_bool high_level_read_only;
166166
167167/* * Place locks to records only i.e. do not use next-key locking except
168168on duplicate key checking and foreign key checking */
169- ibool srv_locks_unsafe_for_binlog = FALSE ;
169+ ibool srv_locks_unsafe_for_binlog;
170170/* * Sort buffer size in index creation */
171- ulong srv_sort_buf_size = 1048576 ;
171+ ulong srv_sort_buf_size;
172172/* * Maximum modification log file size for online index creation */
173173unsigned long long srv_online_max_size;
174174
175175/* If this flag is TRUE, then we will use the native aio of the
176176OS (provided we compiled Innobase with it in), otherwise we will
177177use simulated aio we build below with threads.
178178Currently we support native aio on windows and linux */
179- my_bool srv_use_native_aio = TRUE ;
180- my_bool srv_numa_interleave = FALSE ;
179+ my_bool srv_use_native_aio;
180+ my_bool srv_numa_interleave;
181181/* If this flag is TRUE, then we will use fallocate(PUCH_HOLE)
182182to the pages */
183183UNIV_INTERN my_bool srv_use_trim;
184184/* If this flag is TRUE, then we disable doublewrite buffer */
185- UNIV_INTERN my_bool srv_use_atomic_writes = FALSE ;
185+ UNIV_INTERN my_bool srv_use_atomic_writes;
186186/* If this flag IS TRUE, then we use this algorithm for page compressing the pages */
187187UNIV_INTERN ulong innodb_compression_algorithm = PAGE_ZLIB_ALGORITHM;
188188/* Number of threads used for multi-threaded flush */
0 commit comments