~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/srv/srv0start.cc

Merge in Percona's innodb_lru_dump_restore.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
static os_file_t        files[1000];
129
129
 
130
130
/** io_handler_thread parameters for thread identification */
131
 
static ulint            n[SRV_MAX_N_IO_THREADS + 6];
 
131
static ulint            n[SRV_MAX_N_IO_THREADS + 7];
132
132
/** io_handler_thread identifiers */
133
 
static os_thread_id_t   thread_ids[SRV_MAX_N_IO_THREADS + 6];
 
133
static os_thread_id_t   thread_ids[SRV_MAX_N_IO_THREADS + 7];
134
134
 
135
135
/** We use this mutex to test the return value of pthread_mutex_trylock
136
136
   on successful locking. HP-UX does NOT return 0, though Linux et al do. */
1665
1665
        os_thread_create(&srv_monitor_thread, NULL,
1666
1666
                         thread_ids + 4 + SRV_MAX_N_IO_THREADS);
1667
1667
 
 
1668
        /* Create the thread which automaticaly dumps/restore buffer pool */
 
1669
        os_thread_create(&srv_LRU_dump_restore_thread, NULL,
 
1670
                         thread_ids + 5 + SRV_MAX_N_IO_THREADS);
 
1671
 
1668
1672
        srv_is_being_started = FALSE;
1669
1673
 
1670
1674
        err = dict_create_or_check_foreign_constraint_tables();