~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

Merge Gustaf - Use constrained_check<> classes on kernel sysvars 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1788
1788
  {"datadir", 'h',
1789
1789
   N_("Path to the database root."),
1790
1790
   NULL, NULL, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
1791
 
  {"default-storage-engine", OPT_STORAGE_ENGINE,
1792
 
   N_("Set the default storage engine (table type) for tables."),
1793
 
   (char**)&default_storage_engine_str, (char**)&default_storage_engine_str,
1794
 
   0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
1795
 
  {"default-time-zone", OPT_DEFAULT_TIME_ZONE,
1796
 
   N_("Set the default time zone."),
1797
 
   (char**) &default_tz_name, (char**) &default_tz_name,
1798
 
   0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
1799
1791
  /* See how it's handled in get_one_option() */
1800
1792
  {"exit-info", 'T',
1801
1793
   N_("Used for debugging;  Use at your own risk!"),
1806
1798
   N_("Set up signals usable for debugging"),
1807
1799
   (char**) &opt_debugging, (char**) &opt_debugging,
1808
1800
   0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
1809
 
  {"lc-time-names", OPT_LC_TIME_NAMES,
1810
 
   N_("Set the language used for the month names and the days of the week."),
1811
 
   (char**) &lc_time_names_name,
1812
 
   (char**) &lc_time_names_name,
1813
 
   0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
1814
1801
  {"log-warnings", 'W',
1815
1802
   N_("Log some not critical warnings to the log file."),
1816
1803
   (char**) &global_system_variables.log_warnings,
1853
1840
      "supported)"),
1854
1841
   (char**) &internal::timed_mutexes, (char**) &internal::timed_mutexes, 0, GET_BOOL, NO_ARG, 0,
1855
1842
    0, 0, 0, 0, 0},
1856
 
  {"tmpdir", 't',
1857
 
   N_("Path for temporary files."),
1858
 
   (char**) &opt_drizzle_tmpdir,
1859
 
   (char**) &opt_drizzle_tmpdir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
1860
1843
  {"transaction-isolation", OPT_TX_ISOLATION,
1861
1844
   N_("Default transaction isolation level."),
1862
1845
   0, 0, 0, GET_STR, REQUIRED_ARG, 0,
1865
1848
   N_("Run drizzled daemon as user."),
1866
1849
   0, 0, 0, GET_STR, REQUIRED_ARG,
1867
1850
   0, 0, 0, 0, 0, 0},
1868
 
  {"version", 'V',
1869
 
   N_("Output version information and exit."),
1870
 
   0, 0, 0, GET_NO_ARG,
1871
 
   NO_ARG, 0, 0, 0, 0, 0, 0},
1872
1851
  {"back_log", OPT_BACK_LOG,
1873
1852
   N_("The number of outstanding connection requests Drizzle can have. This "
1874
1853
      "comes into play when the main Drizzle thread gets very many connection "
1887
1866
   (char**) &global_system_variables.div_precincrement,
1888
1867
   (char**) &max_system_variables.div_precincrement, 0, GET_UINT,
1889
1868
   REQUIRED_ARG, 4, 0, DECIMAL_MAX_SCALE, 0, 0, 0},
1890
 
  { "group_concat_max_len", OPT_GROUP_CONCAT_MAX_LEN,
1891
 
    N_("The maximum length of the result of function  group_concat."),
1892
 
    (char**) &global_system_variables.group_concat_max_len,
1893
 
    (char**) &max_system_variables.group_concat_max_len, 0, GET_UINT64,
1894
 
    REQUIRED_ARG, 1024, 4, ULONG_MAX, 0, 1, 0},
1895
1869
  { "join_buffer_size", OPT_JOIN_BUFF_SIZE,
1896
1870
    N_("The size of the buffer that is used for full joins."),
1897
1871
   (char**) &global_system_variables.join_buff_size,
1908
1882
      "host this host will be blocked from further connections."),
1909
1883
   (char**) &max_connect_errors, (char**) &max_connect_errors, 0, GET_UINT64,
1910
1884
   REQUIRED_ARG, MAX_CONNECT_ERRORS, 1, ULONG_MAX, 0, 1, 0},
1911
 
  {"max_error_count", OPT_MAX_ERROR_COUNT,
1912
 
   N_("Max number of errors/warnings to store for a statement."),
1913
 
   (char**) &global_system_variables.max_error_count,
1914
 
   (char**) &max_system_variables.max_error_count,
1915
 
   0, GET_UINT64, REQUIRED_ARG, DEFAULT_ERROR_COUNT, 0, 65535, 0, 1, 0},
1916
1885
  {"max_heap_table_size", OPT_MAX_HEP_TABLE_SIZE,
1917
1886
   N_("Don't allow creation of heap tables bigger than this."),
1918
1887
   (char**) &global_system_variables.max_heap_table_size,
2032
2001
   (char**) &max_system_variables.read_rnd_buff_size, 0,
2033
2002
   GET_UINT, REQUIRED_ARG, 256*1024L, 64 /*IO_SIZE*2+MALLOC_OVERHEAD*/ ,
2034
2003
   UINT32_MAX, MALLOC_OVERHEAD, 1 /* Small lower limit to be able to test MRR */, 0},
2035
 
  {"scheduler", OPT_SCHEDULER,
2036
 
   N_("Select scheduler to be used (by default multi-thread)."),
2037
 
   (char**)&opt_scheduler, (char**)&opt_scheduler,
2038
 
   0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
2039
2004
  /* x8 compared to MySQL's x2. We have UTF8 to consider. */
2040
2005
  {"sort_buffer_size", OPT_SORT_BUFFER,
2041
2006
   N_("Each thread that needs to do a sort allocates a buffer of this size."),