~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2009-02-10 00:14:40 UTC
  • Revision ID: brian@tangent.org-20090210001440-qjg8eofh3h93064b
Adding Multi-threaded Scheduler into the system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
bool opt_show_slave_auth_info, opt_sql_bin_update = 0;
275
275
bool opt_log_slave_updates= 0;
276
276
uint32_t max_used_connections;
 
277
const char *opt_scheduler= "pool_of_threads";
277
278
 
278
279
size_t my_thread_stack_size= 65536;
279
280
 
2512
2513
  OPT_DEFAULT_TIME_ZONE,
2513
2514
  OPT_SYSDATE_IS_NOW,
2514
2515
  OPT_OPTIMIZER_SEARCH_DEPTH,
 
2516
  OPT_SCHEDULER,
2515
2517
  OPT_OPTIMIZER_PRUNE_LEVEL,
2516
2518
  OPT_UPDATABLE_VIEWS_WITH_LIMIT,
2517
2519
  OPT_AUTO_INCREMENT, OPT_AUTO_INCREMENT_OFFSET,
3000
3002
   (char**) &max_system_variables.read_rnd_buff_size, 0,
3001
3003
   GET_UINT, REQUIRED_ARG, 256*1024L, 64 /*IO_SIZE*2+MALLOC_OVERHEAD*/ ,
3002
3004
   UINT32_MAX, MALLOC_OVERHEAD, 1 /* Small lower limit to be able to test MRR */, 0},
 
3005
  {"scheduler", OPT_SCHEDULER,
 
3006
   N_("Select scheduler to be used (by default pool-of-threads)."),
 
3007
   (char**) &opt_scheduler, (char**) &opt_scheduler, 0,
 
3008
   GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
3003
3009
  {"sort_buffer_size", OPT_SORT_BUFFER,
3004
3010
   N_("Each thread that needs to do a sort allocates a buffer of this size."),
3005
3011
   (char**) &global_system_variables.sortbuff_size,