~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2008-08-21 02:21:23 UTC
  • Revision ID: brian@tangent.org-20080821022123-pemld4axwk9qnhvg
No more dead special flags...

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
static bool opt_do_pstack;
460
460
#endif /* HAVE_STACK_TRACE_ON_SEGV */
461
461
static int cleanup_done;
462
 
static ulong opt_specialflag, opt_myisam_block_size;
 
462
static ulong opt_myisam_block_size;
463
463
static char *opt_binlog_index_name;
464
464
static char *opt_tc_heuristic_recover;
465
465
static char *mysql_home_ptr, *pidfile_name_ptr;
1650
1650
  (void) pthread_attr_init(&thr_attr);
1651
1651
  pthread_attr_setscope(&thr_attr, PTHREAD_SCOPE_SYSTEM);
1652
1652
  (void) pthread_attr_setdetachstate(&thr_attr, PTHREAD_CREATE_DETACHED);
1653
 
  if (!(opt_specialflag & SPECIAL_NO_PRIOR))
1654
1653
  {
1655
1654
    struct sched_param tmp_sched_param;
1656
1655
 
1768
1767
        abort_loop=1;                           // mark abort for threads
1769
1768
#ifdef USE_ONE_SIGNAL_HAND
1770
1769
        pthread_t tmp;
1771
 
        if (!(opt_specialflag & SPECIAL_NO_PRIOR))
1772
1770
        {
1773
1771
          struct sched_param tmp_sched_param;
1774
1772
 
2148
2146
    }
2149
2147
    open_files_limit= files;
2150
2148
  }
2151
 
  unireg_init(opt_specialflag); /* Set up extern variabels */
 
2149
  unireg_init(0); /* Set up extern variabels */
2152
2150
  if (init_errmessage())        /* Read error messages from file */
2153
2151
    return 1;
2154
2152
  lex_init();
2307
2305
  (void) pthread_attr_setdetachstate(&connection_attrib,
2308
2306
                                     PTHREAD_CREATE_DETACHED);
2309
2307
  pthread_attr_setscope(&connection_attrib, PTHREAD_SCOPE_SYSTEM);
2310
 
  if (!(opt_specialflag & SPECIAL_NO_PRIOR))
2311
2308
  {
2312
2309
    struct sched_param tmp_sched_param;
2313
2310
 
4439
4436
  slave_exec_mode_options= 0;
4440
4437
  slave_exec_mode_options= (uint)
4441
4438
    find_bit_type_or_exit(slave_exec_mode_str, &slave_exec_mode_typelib, NULL);
4442
 
  opt_specialflag= SPECIAL_ENGLISH;
4443
4439
  mysql_home_ptr= mysql_home;
4444
4440
  pidfile_name_ptr= pidfile_name;
4445
4441
  log_error_file_ptr= log_error_file;
4704
4700
      break;
4705
4701
    }
4706
4702
#endif
4707
 
  case (int) OPT_SKIP_PRIOR:
4708
 
    opt_specialflag|= SPECIAL_NO_PRIOR;
4709
 
    break;
4710
4703
  case (int) OPT_WANT_CORE:
4711
4704
    test_flags |= TEST_CORE_ON_SIGNAL;
4712
4705
    break;