1 /* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2 
3    This program is free software; you can redistribute it and/or modify
4    it under the terms of the GNU General Public License, version 2.0,
5    as published by the Free Software Foundation.
6 
7    This program is also distributed with certain software (including
8    but not limited to OpenSSL) that is licensed under separate terms,
9    as designated in a particular file or component or in included license
10    documentation.  The authors of MySQL hereby grant you an additional
11    permission to link the program and your derivative works with the
12    separately licensed software that they have included with MySQL.
13 
14    This program is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License, version 2.0, for more details.
18 
19    You should have received a copy of the GNU General Public License
20    along with this program; if not, write to the Free Software
21    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA */
22 
23 #ifndef OPTIONS_MYSQLD_INCLUDED
24 #define OPTIONS_MYSQLD_INCLUDED
25 
26 /**
27   only options that need special treatment in get_one_option() deserve
28   to be listed below
29 */
30 enum options_mysqld {
31   OPT_to_set_the_start_number = 256,
32   OPT_BIND_ADDRESS,
33   OPT_BINLOG_CHECKSUM,
34   OPT_BINLOG_DO_DB,
35   OPT_BINLOG_FORMAT,
36   OPT_BINLOG_IGNORE_DB,
37   OPT_BINLOG_MAX_FLUSH_QUEUE_TIME,
38   OPT_EXPIRE_LOGS_DAYS,
39   OPT_BINLOG_EXPIRE_LOGS_SECONDS,
40   OPT_BIN_LOG,
41   OPT_BOOTSTRAP,
42   OPT_CONSOLE,
43   OPT_DEBUG_SYNC_TIMEOUT,
44   OPT_DELAY_KEY_WRITE_ALL,
45   OPT_ISAM_LOG,
46   OPT_IGNORE_DB_DIRECTORY,
47   OPT_KEY_BUFFER_SIZE,
48   OPT_KEY_CACHE_AGE_THRESHOLD,
49   OPT_KEY_CACHE_BLOCK_SIZE,
50   OPT_KEY_CACHE_DIVISION_LIMIT,
51   OPT_LC_MESSAGES_DIRECTORY,
52   OPT_LOWER_CASE_TABLE_NAMES,
53   OPT_MASTER_RETRY_COUNT,
54   OPT_MASTER_VERIFY_CHECKSUM,
55   OPT_POOL_OF_THREADS,
56   OPT_REPLICATE_DO_DB,
57   OPT_REPLICATE_DO_TABLE,
58   OPT_REPLICATE_IGNORE_DB,
59   OPT_REPLICATE_IGNORE_TABLE,
60   OPT_REPLICATE_REWRITE_DB,
61   OPT_REPLICATE_WILD_DO_TABLE,
62   OPT_REPLICATE_WILD_IGNORE_TABLE,
63   OPT_SERVER_ID,
64   OPT_SKIP_HOST_CACHE,
65   OPT_SKIP_LOCK,
66   OPT_SKIP_NEW,
67   OPT_SKIP_RESOLVE,
68   OPT_SKIP_STACK_TRACE,
69   OPT_SKIP_SYMLINKS,
70   OPT_SLAVE_SQL_VERIFY_CHECKSUM,
71   OPT_SSL_CA,
72   OPT_SSL_CAPATH,
73   OPT_SSL_CERT,
74   OPT_SSL_CIPHER,
75   OPT_TLS_CIPHERSUITES,
76   OPT_TLS_VERSION,
77   OPT_SSL_KEY,
78   OPT_UPDATE_LOG,
79   OPT_WANT_CORE,
80   OPT_LOG_ERROR,
81   OPT_MAX_LONG_DATA_SIZE,
82   OPT_PLUGIN_LOAD,
83   OPT_PLUGIN_LOAD_ADD,
84   OPT_SSL_CRL,
85   OPT_SSL_CRLPATH,
86   OPT_PFS_INSTRUMENT,
87   OPT_DEFAULT_AUTH,
88   OPT_THREAD_CACHE_SIZE,
89   OPT_HOST_CACHE_SIZE,
90   OPT_TABLE_DEFINITION_CACHE,
91   OPT_SKIP_INNODB,
92   OPT_AVOID_TEMPORAL_UPGRADE,
93   OPT_SHOW_OLD_TEMPORALS,
94   OPT_ENFORCE_GTID_CONSISTENCY,
95   OPT_INSTALL_SERVER,
96   OPT_EARLY_PLUGIN_LOAD,
97   OPT_SSL_FIPS_MODE,
98   OPT_KEYRING_MIGRATION_SOURCE,
99   OPT_KEYRING_MIGRATION_DESTINATION,
100   OPT_KEYRING_MIGRATION_USER,
101   OPT_KEYRING_MIGRATION_HOST,
102   OPT_KEYRING_MIGRATION_PASSWORD,
103   OPT_KEYRING_MIGRATION_SOCKET,
104   OPT_KEYRING_MIGRATION_PORT,
105   OPT_LOG_SLAVE_UPDATES,
106   OPT_SLAVE_PRESERVE_COMMIT_ORDER,
107   OPT_LOG_SLOW_EXTRA,
108   OPT_NAMED_PIPE_FULL_ACCESS_GROUP,
109   OPT_RELAY_LOG_INFO_FILE,
110   OPT_MASTER_INFO_FILE,
111   OPT_LOG_BIN_USE_V1_ROW_EVENTS,
112   OPT_SLAVE_ROWS_SEARCH_ALGORITHMS,
113   OPT_ADMIN_SSL_CA,
114   OPT_ADMIN_SSL_CAPATH,
115   OPT_ADMIN_SSL_CERT,
116   OPT_ADMIN_SSL_CIPHER,
117   OPT_ADMIN_TLS_CIPHERSUITES,
118   OPT_ADMIN_TLS_VERSION,
119   OPT_ADMIN_SSL_KEY,
120   OPT_ADMIN_SSL_CRL,
121   OPT_ADMIN_SSL_CRLPATH,
122 };
123 
124 #endif  // OPTIONS_MYSQLD_INCLUDED
125