~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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;
346
332
reading of a disk page */
347
333
extern ulint srv_buf_pool_reads;
348
334
 
349
 
/** Time in seconds between automatic buffer pool dumps */
350
 
extern uint32_t srv_auto_lru_dump;
351
 
 
352
335
/** Status variables to be passed to MySQL */
353
336
typedef struct export_var_struct export_struc;
354
337
 
410
393
                                when writing data files, but do flush
411
394
                                after writing to log files */
412
395
        SRV_UNIX_NOSYNC,        /*!< do not flush after writing */
413
 
        SRV_UNIX_O_DIRECT,      /*!< invoke os_file_set_nocache() on
 
396
        SRV_UNIX_O_DIRECT       /*!< invoke os_file_set_nocache() on
414
397
                                data files */
415
 
        SRV_UNIX_ALL_O_DIRECT   /*!< Open log file also with O_DIRECT */
416
398
};
417
399
 
418
400
/** Alternatives for file i/o in Windows */
647
629
/*=====================*/
648
630
        void*   arg);   /*!< in: a dummy parameter required by
649
631
                        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
632
/******************************************************************//**
661
633
Outputs to a file the output of the InnoDB Monitor.
662
634
@return FALSE if not all information printed