MySQL  8.0.16
Source Code Documentation
sql_const.h
Go to the documentation of this file.
1 /* Copyright (c) 2006, 2019, 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 /**
24  @file
25  File containing constants that can be used throughout the server.
26 
27  @note This file shall not contain any includes of any kinds.
28 */
29 
30 #ifndef SQL_CONST_INCLUDED
31 #define SQL_CONST_INCLUDED
32 
33 #include "my_inttypes.h"
34 
35 #define LIBLEN FN_REFLEN - FN_LEN /* Max l{ngd p} dev */
36 /**
37  The maximum length of a key in the table definition cache.
38 
39  The key consists of the schema name, a '\0' character, the table
40  name and a '\0' character. Hence NAME_LEN * 2 + 1 + 1.
41 
42  Additionally, the key can be suffixed with either 4 + 4 extra bytes
43  for slave tmp tables, or with a single extra byte for tables in a
44  secondary storage engine. Add 4 + 4 to account for either of these
45  suffixes.
46 */
47 #define MAX_DBKEY_LENGTH (NAME_LEN * 2 + 1 + 1 + 4 + 4)
48 #define MAX_ALIAS_NAME 256
49 #define MAX_FIELD_NAME 34 /* Max colum name length +2 */
50 #define MAX_SYS_VAR_LENGTH 32
51 #define MAX_KEY MAX_INDEXES /* Max used keys */
52 #define MAX_REF_PARTS 16U /* Max parts used as ref */
53 #define MAX_KEY_LENGTH 3072U /* max possible key */
54 #if SIZEOF_OFF_T > 4
55 #define MAX_REFLENGTH 8 /* Max length for record ref */
56 #else
57 #define MAX_REFLENGTH 4 /* Max length for record ref */
58 #endif
59 #define MAX_HOSTNAME 61 /* len+1 in mysql.user */
60 
61 #define MAX_MBWIDTH 3 /* Max multibyte sequence */
62 #define MAX_FIELD_CHARLENGTH 255
63 #define MAX_FIELD_VARCHARLENGTH 65535
64 #define MAX_FIELD_BLOBLENGTH UINT_MAX32 /* cf field_blob::get_length() */
65 /**
66  CHAR and VARCHAR fields longer than this number of characters are converted
67  to BLOB.
68  Non-character fields longer than this number of bytes are converted to BLOB.
69  Comparisons should be '>' or '<='.
70 */
71 #define CONVERT_IF_BIGGER_TO_BLOB 512 /* Used for CREATE ... SELECT */
72 
73 /* Max column width +1 */
74 #define MAX_FIELD_WIDTH (MAX_FIELD_CHARLENGTH * MAX_MBWIDTH + 1)
75 
76 #define MAX_BIT_FIELD_LENGTH 64 /* Max length in bits for bit fields */
77 
78 #define MAX_DATE_WIDTH 10 /* YYYY-MM-DD */
79 #define MAX_TIME_WIDTH 10 /* -838:59:59 */
80 #define MAX_TIME_FULL_WIDTH 23 /* -DDDDDD HH:MM:SS.###### */
81 #define MAX_DATETIME_FULL_WIDTH 29 /* YYYY-MM-DD HH:MM:SS.###### AM */
82 #define MAX_DATETIME_WIDTH 19 /* YYYY-MM-DD HH:MM:SS */
83 #define MAX_DATETIME_COMPRESSED_WIDTH 14 /* YYYYMMDDHHMMSS */
84 
85 #define DATE_INT_DIGITS 8 /* YYYYMMDD */
86 #define TIME_INT_DIGITS 7 /* hhhmmss */
87 #define DATETIME_INT_DIGITS 14 /* YYYYMMDDhhmmss */
88 
89 /**
90  MAX_TABLES and xxx_TABLE_BIT are used in optimization of table factors and
91  expressions, and in join plan generation.
92  MAX_TABLES counts the maximum number of tables that can be handled in a
93  join operation. It is the number of bits in the table_map, minus the
94  number of pseudo table bits (bits that do not represent actual tables, but
95  still need to be handled by our algorithms). The pseudo table bits are:
96  INNER_TABLE_BIT is set for all expressions that contain a parameter,
97  a subquery that accesses tables, or a function that accesses tables.
98  An expression that has only INNER_TABLE_BIT is constant for the duration
99  of a query expression, but must be evaluated at least once during execution.
100  OUTER_REF_TABLE_BIT is set for expressions that contain a column that
101  is resolved as an outer reference. Also notice that all subquery items
102  between the column reference and the query block where the column is
103  resolved, have this bit set. Expressions that are represented by this bit
104  are constant for the duration of the subquery they are defined in.
105  RAND_TABLE_BIT is set for expressions containing a non-deterministic
106  element, such as a random function or a non-deterministic function.
107  Expressions containing this bit cannot be evaluated once and then cached,
108  they must be evaluated at latest possible point.
109  MAX_TABLES_FOR_SIZE adds the pseudo bits and is used for sizing purposes only.
110 */
111 #define MAX_TABLES_FOR_SIZE (sizeof(table_map) * 8) ///< Use for sizing ONLY
112 #define MAX_TABLES (MAX_TABLES_FOR_SIZE - 3) ///< Max tables in join
113 #define INNER_TABLE_BIT (((table_map)1) << (MAX_TABLES + 0))
114 #define OUTER_REF_TABLE_BIT (((table_map)1) << (MAX_TABLES + 1))
115 #define RAND_TABLE_BIT (((table_map)1) << (MAX_TABLES + 2))
116 #define PSEUDO_TABLE_BITS \
117  (INNER_TABLE_BIT | OUTER_REF_TABLE_BIT | RAND_TABLE_BIT)
118 #define MAX_FIELDS 4096 /* Maximum number of columns */
119 #define MAX_PARTITIONS 8192
120 
121 #define MAX_ENUM_VALUES 65535 /* Max number of enumeration values */
122 #define MAX_INTERVAL_VALUE_LENGTH 255 /* Max length of enum/set values */
123 
124 #define MAX_SELECT_NESTING (sizeof(nesting_map) * 8 - 1)
125 
126 #define DEFAULT_SORT_MEMORY (256UL * 1024UL)
127 #define MIN_SORT_MEMORY (32UL * 1024UL)
128 
129 /* Some portable defines */
130 
131 #define STRING_BUFFER_USUAL_SIZE 80
132 
133 /* Memory allocated when parsing a statement / saving a statement */
134 #define MEM_ROOT_BLOCK_SIZE 8192
135 #define MEM_ROOT_PREALLOC 8192
136 #define TRANS_MEM_ROOT_BLOCK_SIZE 4096
137 #define TRANS_MEM_ROOT_PREALLOC 4096
138 
139 #define DEFAULT_ERROR_COUNT 1024
140 #define EXTRA_RECORDS 10 /* Extra records in sort */
141 #define SCROLL_EXTRA 5 /* Extra scroll-rows. */
142 #define FERR -1 /* Error from my_functions */
143 #define CREATE_MODE 0 /* Default mode on new files */
144 #define NAMES_SEP_CHAR '\377' /* Char to sep. names */
145 
146 #define READ_RECORD_BUFFER (uint)(IO_SIZE * 8) /* Pointer_buffer_size */
147 #define DISK_BUFFER_SIZE (uint)(IO_SIZE * 16) /* Size of diskbuffer */
148 
149 /***************************************************************************
150  Configuration parameters
151 ****************************************************************************/
152 
153 #define ACL_CACHE_SIZE 256
154 #define MAX_PASSWORD_LENGTH 32
155 #define HOST_CACHE_SIZE 128
156 #define MAX_ACCEPT_RETRY 10 // Test accept this many times
157 #define MAX_FIELDS_BEFORE_HASH 32
158 #define USER_VARS_HASH_SIZE 16
159 #define TABLE_OPEN_CACHE_MIN 400
160 #define TABLE_OPEN_CACHE_DEFAULT 4000
161 static const ulong TABLE_DEF_CACHE_DEFAULT = 400;
162 static const ulong SCHEMA_DEF_CACHE_DEFAULT = 256;
165 static const ulong EVENT_DEF_CACHE_DEFAULT = 256;
166 
167 /**
168  Maximum number of connections default value.
169  151 is larger than Apache's default max children,
170  to avoid "too many connections" error in a common setup.
171 */
172 #define MAX_CONNECTIONS_DEFAULT 151
173 /**
174  We must have room for at least 400 table definitions in the table
175  cache, since otherwise there is no chance prepared
176  statements that use these many tables can work.
177  Prepared statements use table definition cache ids (table_map_id)
178  as table version identifiers. If the table definition
179  cache size is less than the number of tables used in a statement,
180  the contents of the table definition cache is guaranteed to rotate
181  between a prepare and execute. This leads to stable validation
182  errors. In future we shall use more stable version identifiers,
183  for now the only solution is to ensure that the table definition
184  cache can contain at least all tables of a given statement.
185 */
186 static const ulong TABLE_DEF_CACHE_MIN = 400;
187 static const ulong SCHEMA_DEF_CACHE_MIN = 256;
189 static const ulong TABLESPACE_DEF_CACHE_MIN = 256;
190 static const ulong EVENT_DEF_CACHE_MIN = 256;
191 
192 /*
193  Stack reservation.
194  Feel free to raise this by the smallest amount you can to get the
195  "execution_constants" test to pass.
196 */
197 #if defined HAVE_UBSAN && SIZEOF_CHARP == 4
198 #define STACK_MIN_SIZE 30000 // Abort if less stack during eval.
199 #else
200 #define STACK_MIN_SIZE 20000 // Abort if less stack during eval.
201 #endif
202 
203 #define STACK_MIN_SIZE_FOR_OPEN 1024 * 80
204 
205 #if defined(__SUNPRO_CC)
206 #define STACK_BUFF_ALLOC 352 * 2 ///< For stack overrun checks
207 #else
208 #define STACK_BUFF_ALLOC 352 ///< For stack overrun checks
209 #endif
210 
211 #ifndef MYSQLD_NET_RETRY_COUNT
212 #define MYSQLD_NET_RETRY_COUNT 10 ///< Abort read after this many int.
213 #endif
214 
215 #define QUERY_ALLOC_BLOCK_SIZE 8192
216 #define QUERY_ALLOC_PREALLOC_SIZE 8192
217 #define TRANS_ALLOC_BLOCK_SIZE 4096
218 #define TRANS_ALLOC_PREALLOC_SIZE 4096
219 #define RANGE_ALLOC_BLOCK_SIZE 4096
220 #define ACL_ALLOC_BLOCK_SIZE 1024
221 #define UDF_ALLOC_BLOCK_SIZE 1024
222 #define TABLE_ALLOC_BLOCK_SIZE 1024
223 #define WARN_ALLOC_BLOCK_SIZE 2048
224 
225 /*
226  The following parameters is to decide when to use an extra cache to
227  optimise seeks when reading a big table in sorted order
228 */
229 #define MIN_FILE_LENGTH_TO_USE_ROW_CACHE (10L * 1024 * 1024)
230 #define MIN_ROWS_TO_USE_TABLE_CACHE 100
231 #define MIN_ROWS_TO_USE_BULK_INSERT 100
232 
233 /*
234  For sequential disk seeks the cost formula is:
235  DISK_SEEK_BASE_COST + DISK_SEEK_PROP_COST * #blocks_to_skip
236 
237  The cost of average seek
238  DISK_SEEK_BASE_COST + DISK_SEEK_PROP_COST*BLOCKS_IN_AVG_SEEK =1.0.
239 */
240 #define DISK_SEEK_BASE_COST (0.9)
241 
242 #define BLOCKS_IN_AVG_SEEK 128
243 
244 #define DISK_SEEK_PROP_COST (0.1 / BLOCKS_IN_AVG_SEEK)
245 
246 /**
247  Number of rows in a reference table when refereed through a not unique key.
248  This value is only used when we don't know anything about the key
249  distribution.
250 */
251 #define MATCHING_ROWS_IN_OTHER_TABLE 10
252 
253 #define MY_CHARSET_BIN_MB_MAXLEN 1
254 
255 /** Don't pack string keys shorter than this (if PACK_KEYS=1 isn't used). */
256 #define KEY_DEFAULT_PACK_LENGTH 8
257 
258 /** Characters shown for the command in 'show processlist'. */
259 #define PROCESS_LIST_WIDTH 100
260 /* Characters shown for the command in 'information_schema.processlist' */
261 #define PROCESS_LIST_INFO_WIDTH 65535
262 
263 #define PRECISION_FOR_DOUBLE 53
264 #define PRECISION_FOR_FLOAT 24
265 
266 /* -[digits].E+## */
267 #define MAX_FLOAT_STR_LENGTH (FLT_DIG + 6)
268 /* -[digits].E+### */
269 #define MAX_DOUBLE_STR_LENGTH (DBL_DIG + 7)
270 
271 /*
272  Default time to wait before aborting a new client connection
273  that does not respond to "initial server greeting" timely
274 */
275 #define CONNECT_TIMEOUT 10
276 
277 /* The following can also be changed from the command line */
278 #define DEFAULT_CONCURRENCY 10
279 #define DELAYED_LIMIT 100 /**< pause after xxx inserts */
280 #define DELAYED_QUEUE_SIZE 1000
281 #define DELAYED_WAIT_TIMEOUT 5 * 60 /**< Wait for delayed insert */
282 
283 #define LONG_TIMEOUT ((ulong)3600L * 24L * 365L)
284 
285 /**
286  Maximum length of time zone name that we support (Time zone name is
287  char(64) in db). mysqlbinlog needs it.
288 */
289 #define MAX_TIME_ZONE_NAME_LENGTH (NAME_LEN + 1)
290 
291 #if defined(_WIN32)
292 #define INTERRUPT_PRIOR -2
293 #define CONNECT_PRIOR -1
294 #define WAIT_PRIOR 0
295 #define QUERY_PRIOR 2
296 #else
297 #define INTERRUPT_PRIOR 10
298 #define CONNECT_PRIOR 9
299 #define WAIT_PRIOR 8
300 #define QUERY_PRIOR 6
301 #endif /* _WIN32 */
302 
303 /*
304  Flags below are set when we perform
305  context analysis of the statement and make
306  subqueries non-const. It prevents subquery
307  evaluation at context analysis stage.
308 */
309 
310 /*
311  Don't evaluate this subquery during statement prepare even if
312  it's a constant one. The flag is switched off in the end of
313  mysqld_stmt_prepare.
314 */
315 #define CONTEXT_ANALYSIS_ONLY_PREPARE 1
316 /*
317  Special SELECT_LEX::prepare mode: changing of query is prohibited.
318  When creating a view, we need to just check its syntax omitting
319  any optimizations: afterwards definition of the view will be
320  reconstructed by means of ::print() methods and written to
321  to an .frm file. We need this definition to stay untouched.
322 */
323 #define CONTEXT_ANALYSIS_ONLY_VIEW 2
324 /*
325  Don't evaluate this subquery during derived table prepare even if
326  it's a constant one.
327 */
328 #define CONTEXT_ANALYSIS_ONLY_DERIVED 4
329 
330 /* @@optimizer_switch flags. These must be in sync with optimizer_switch_typelib
331  */
332 #define OPTIMIZER_SWITCH_INDEX_MERGE (1ULL << 0)
333 #define OPTIMIZER_SWITCH_INDEX_MERGE_UNION (1ULL << 1)
334 #define OPTIMIZER_SWITCH_INDEX_MERGE_SORT_UNION (1ULL << 2)
335 #define OPTIMIZER_SWITCH_INDEX_MERGE_INTERSECT (1ULL << 3)
336 #define OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN (1ULL << 4)
337 #define OPTIMIZER_SWITCH_INDEX_CONDITION_PUSHDOWN (1ULL << 5)
338 /** If this is off, MRR is never used. */
339 #define OPTIMIZER_SWITCH_MRR (1ULL << 6)
340 /**
341  If OPTIMIZER_SWITCH_MRR is on and this is on, MRR is used depending on a
342  cost-based choice ("automatic"). If OPTIMIZER_SWITCH_MRR is on and this is
343  off, MRR is "forced" (i.e. used as long as the storage engine is capable of
344  doing it).
345 */
346 #define OPTIMIZER_SWITCH_MRR_COST_BASED (1ULL << 7)
347 #define OPTIMIZER_SWITCH_BNL (1ULL << 8)
348 #define OPTIMIZER_SWITCH_BKA (1ULL << 9)
349 #define OPTIMIZER_SWITCH_MATERIALIZATION (1ULL << 10)
350 #define OPTIMIZER_SWITCH_SEMIJOIN (1ULL << 11)
351 #define OPTIMIZER_SWITCH_LOOSE_SCAN (1ULL << 12)
352 #define OPTIMIZER_SWITCH_FIRSTMATCH (1ULL << 13)
353 #define OPTIMIZER_SWITCH_DUPSWEEDOUT (1ULL << 14)
354 #define OPTIMIZER_SWITCH_SUBQ_MAT_COST_BASED (1ULL << 15)
355 #define OPTIMIZER_SWITCH_USE_INDEX_EXTENSIONS (1ULL << 16)
356 #define OPTIMIZER_SWITCH_COND_FANOUT_FILTER (1ULL << 17)
357 #define OPTIMIZER_SWITCH_DERIVED_MERGE (1ULL << 18)
358 #define OPTIMIZER_SWITCH_USE_INVISIBLE_INDEXES (1ULL << 19)
359 #define OPTIMIZER_SKIP_SCAN (1ULL << 20)
360 #define OPTIMIZER_SWITCH_LAST (1ULL << 21)
361 
362 #define OPTIMIZER_SWITCH_DEFAULT \
363  (OPTIMIZER_SWITCH_INDEX_MERGE | OPTIMIZER_SWITCH_INDEX_MERGE_UNION | \
364  OPTIMIZER_SWITCH_INDEX_MERGE_SORT_UNION | \
365  OPTIMIZER_SWITCH_INDEX_MERGE_INTERSECT | \
366  OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN | \
367  OPTIMIZER_SWITCH_INDEX_CONDITION_PUSHDOWN | OPTIMIZER_SWITCH_MRR | \
368  OPTIMIZER_SWITCH_MRR_COST_BASED | OPTIMIZER_SWITCH_BNL | \
369  OPTIMIZER_SWITCH_MATERIALIZATION | OPTIMIZER_SWITCH_SEMIJOIN | \
370  OPTIMIZER_SWITCH_LOOSE_SCAN | OPTIMIZER_SWITCH_FIRSTMATCH | \
371  OPTIMIZER_SWITCH_DUPSWEEDOUT | OPTIMIZER_SWITCH_SUBQ_MAT_COST_BASED | \
372  OPTIMIZER_SWITCH_USE_INDEX_EXTENSIONS | \
373  OPTIMIZER_SWITCH_COND_FANOUT_FILTER | OPTIMIZER_SWITCH_DERIVED_MERGE | \
374  OPTIMIZER_SKIP_SCAN)
375 
377 
383 };
384 
385 /*
386  Exit code used by mysqld_exit, exit and _exit function
387  to indicate successful termination of mysqld.
388 */
389 #define MYSQLD_SUCCESS_EXIT 0
390 /*
391  Exit code used by mysqld_exit, exit and _exit function to
392  signify unsuccessful termination of mysqld. The exit
393  code signifies the server should NOT BE RESTARTED AUTOMATICALLY
394  by init systems like systemd.
395 */
396 #define MYSQLD_ABORT_EXIT 1
397 /*
398  Exit code used by mysqld_exit, exit and _exit function to
399  signify unsuccessful termination of mysqld. The exit code
400  signifies the server should be RESTARTED AUTOMATICALLY by
401  init systems like systemd.
402 */
403 #define MYSQLD_FAILURE_EXIT 2
404 /*
405  Exit code used by mysqld_exit, my_thread_exit function which allows
406  for external programs like systemd, mysqld_safe to restart mysqld
407  server. The exit code 16 is choosen so it is safe as InnoDB code
408  exit directly with values like 3.
409 */
410 #define MYSQLD_RESTART_EXIT 16
411 
412 #define UUID_LENGTH (8 + 1 + 4 + 1 + 4 + 1 + 4 + 1 + 12)
413 
414 /*
415  This enumeration type is used only by the function find_item_in_list
416  to return the info on how an item has been resolved against a list
417  of possibly aliased items.
418  The item can be resolved:
419  - against an alias name of the list's element (RESOLVED_AGAINST_ALIAS)
420  - against non-aliased field name of the list (RESOLVED_WITH_NO_ALIAS)
421  - against an aliased field name of the list (RESOLVED_BEHIND_ALIAS)
422  - ignoring the alias name in cases when SQL requires to ignore aliases
423  (e.g. when the resolved field reference contains a table name or
424  when the resolved item is an expression) (RESOLVED_IGNORING_ALIAS)
425 */
432 };
433 
434 /// Enumeration for {Item,SELECT_LEX[_UNIT],Table_function}::walk
435 enum class enum_walk {
436  PREFIX = 0x01,
437  POSTFIX = 0x02,
438  SUBQUERY = 0x04,
439  SUBQUERY_PREFIX = 0x05, // Combine prefix and subquery traversal
440  SUBQUERY_POSTFIX = 0x06 // Combine postfix and subquery traversal
441 };
442 
444  return enum_walk(int(lhs) | int(rhs));
445 }
446 
447 inline bool operator&(enum_walk lhs, enum_walk rhs) {
448  return (int(lhs) & int(rhs)) != 0;
449 }
450 
451 class Item;
452 /// Processor type for {Item,SELECT_LEX[_UNIT],Table_function}::walk
453 typedef bool (Item::*Item_processor)(uchar *arg);
454 
455 #endif /* SQL_CONST_INCLUDED */
Definition: sql_const.h:428
unsigned char uchar
Definition: my_inttypes.h:49
Definition: sql_const.h:382
static const ulong TABLE_DEF_CACHE_MIN
We must have room for at least 400 table definitions in the table cache, since otherwise there is no ...
Definition: sql_const.h:186
Definition: sql_const.h:376
Some integer typedefs for easier portability.
#define bool
Definition: config_static.h:42
Definition: sql_const.h:427
static const ulong EVENT_DEF_CACHE_MIN
Definition: sql_const.h:190
enum_mark_columns
Definition: sql_const.h:378
enum_walk
Enumeration for {Item,SELECT_LEX[_UNIT],Table_function}walk.
Definition: sql_const.h:435
enum_resolution_type
Definition: sql_const.h:426
Definition: sql_const.h:379
Definition: sql_const.h:431
Definition: sql_const.h:380
Definition: sql_const.h:430
Definition: sql_const.h:381
Definition: item.h:666
Definition: sql_const.h:376
static const ulong SCHEMA_DEF_CACHE_DEFAULT
Definition: sql_const.h:162
bool(Item::* Item_processor)(uchar *arg)
Processor type for {Item,SELECT_LEX[_UNIT],Table_function}walk.
Definition: sql_const.h:453
SHOW_COMP_OPTION
Definition: sql_const.h:376
enum_walk operator|(enum_walk lhs, enum_walk rhs)
Definition: sql_const.h:443
static const ulong EVENT_DEF_CACHE_DEFAULT
Definition: sql_const.h:165
static const ulong STORED_PROGRAM_DEF_CACHE_MIN
Definition: sql_const.h:188
static const ulong SCHEMA_DEF_CACHE_MIN
Definition: sql_const.h:187
static const ulong TABLESPACE_DEF_CACHE_MIN
Definition: sql_const.h:189
bool operator &(enum_walk lhs, enum_walk rhs)
Definition: sql_const.h:447
static const ulong TABLESPACE_DEF_CACHE_DEFAULT
Definition: sql_const.h:164
Definition: sql_const.h:376
static const ulong STORED_PROGRAM_DEF_CACHE_DEFAULT
Definition: sql_const.h:163
Definition: sql_const.h:429
unsigned long ulong
Definition: my_inttypes.h:46
static const ulong TABLE_DEF_CACHE_DEFAULT
Definition: sql_const.h:161