~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/srv0srv.h

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
Created 10/10/1995 Heikki Tuuri
39
39
*******************************************************/
40
40
 
41
 
#pragma once
42
41
#ifndef srv0srv_h
43
42
#define srv0srv_h
44
43
 
222
221
extern ulong    srv_max_purge_lag;
223
222
 
224
223
extern ulong    srv_replication_delay;
225
 
 
226
 
extern uint64_t srv_ibuf_max_size;
227
 
extern uint32_t srv_ibuf_active_contract;
228
 
extern uint32_t srv_ibuf_accel_rate;
229
 
extern uint32_t srv_checkpoint_age_target;
230
 
extern uint32_t srv_flush_neighbor_pages;
231
 
extern uint32_t srv_read_ahead;
232
 
extern uint32_t srv_adaptive_flushing_method;
233
 
 
234
 
extern ibool    srv_read_only;
235
 
extern ibool    srv_fake_write;
236
 
extern ibool    srv_apply_log_only;
237
 
 
238
224
/*-------------------------------------------*/
239
225
 
240
226
extern ulint    srv_n_rows_inserted;
282
268
                                query threads, and lock table: we allocate
283
269
                                it from dynamic memory to get it to the
284
270
                                same DRAM page as other hotspot semaphores */
285
 
extern mutex_t* commit_id_mutex_temp;
286
 
 
287
271
#define kernel_mutex (*kernel_mutex_temp)
288
 
#define commit_id_mutex (*commit_id_mutex_temp)
289
272
 
290
273
#define SRV_MAX_N_IO_THREADS    130
291
274
 
346
329
reading of a disk page */
347
330
extern ulint srv_buf_pool_reads;
348
331
 
349
 
/** Time in seconds between automatic buffer pool dumps */
350
 
extern uint32_t srv_auto_lru_dump;
351
 
 
352
332
/** Status variables to be passed to MySQL */
353
333
typedef struct export_var_struct export_struc;
354
334
 
410
390
                                when writing data files, but do flush
411
391
                                after writing to log files */
412
392
        SRV_UNIX_NOSYNC,        /*!< do not flush after writing */
413
 
        SRV_UNIX_O_DIRECT,      /*!< invoke os_file_set_nocache() on
 
393
        SRV_UNIX_O_DIRECT       /*!< invoke os_file_set_nocache() on
414
394
                                data files */
415
 
        SRV_UNIX_ALL_O_DIRECT   /*!< Open log file also with O_DIRECT */
416
395
};
417
396
 
418
397
/** Alternatives for file i/o in Windows */
647
626
/*=====================*/
648
627
        void*   arg);   /*!< in: a dummy parameter required by
649
628
                        os_thread_create */
650
 
/*********************************************************************//**
651
 
A thread which restores the buffer pool from a dump file on startup and does
652
 
periodic buffer pool dumps.
653
 
@return a dummy parameter */
654
 
UNIV_INTERN
655
 
os_thread_ret_t
656
 
srv_LRU_dump_restore_thread(
657
 
/*====================*/
658
 
        void*   arg);   /*!< in: a dummy parameter required by
659
 
                        os_thread_create */
660
629
/******************************************************************//**
661
630
Outputs to a file the output of the InnoDB Monitor.
662
631
@return FALSE if not all information printed