MySQL
8.0.39
Source Code Documentation
my_check_opt.h
Go to the documentation of this file.
1
/* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
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 designed to work 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 either included with
13
the program or referenced in the documentation.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License, version 2.0, for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24
#ifndef _my_check_opt_h
25
#define _my_check_opt_h
26
27
/**
28
@file include/my_check_opt.h
29
*/
30
31
/*
32
All given definitions needed for MyISAM storage engine:
33
myisamchk.c or/and ha_myisam.cc or/and micheck.c
34
Some definitions are needed by the MySQL parser.
35
*/
36
37
#define T_AUTO_INC (1UL << 0)
38
#define T_AUTO_REPAIR (1UL << 1)
39
#define T_BACKUP_DATA (1UL << 2)
40
#define T_CALC_CHECKSUM (1UL << 3)
41
#define T_CHECK (1UL << 4)
42
#define T_CHECK_ONLY_CHANGED (1UL << 5)
43
#define T_CREATE_MISSING_KEYS (1UL << 6)
44
#define T_DESCRIPT (1UL << 7)
45
#define T_DONT_CHECK_CHECKSUM (1UL << 8)
46
#define T_EXTEND (1UL << 9)
47
#define T_FAST (1UL << 10)
48
#define T_FORCE_CREATE (1UL << 11)
49
#define T_FORCE_UNIQUENESS (1UL << 12)
50
#define T_INFO (1UL << 13)
51
/** CHECK TABLE...MEDIUM (the default) */
52
#define T_MEDIUM (1UL << 14)
53
/** CHECK TABLE...QUICK */
54
#define T_QUICK (1UL << 15)
55
#define T_READONLY (1UL << 16)
56
#define T_REP (1UL << 17)
57
#define T_REP_BY_SORT (1UL << 18)
58
#define T_REP_PARALLEL_OBSOLETE (1UL << 19)
59
#define T_RETRY_WITHOUT_QUICK (1UL << 20)
60
#define T_SAFE_REPAIR (1UL << 21)
61
#define T_SILENT (1UL << 22)
62
#define T_SORT_INDEX (1UL << 23)
63
#define T_SORT_RECORDS (1UL << 24)
64
#define T_STATISTICS (1UL << 25)
65
#define T_UNPACK (1UL << 26)
66
#define T_UPDATE_STATE (1UL << 27)
67
#define T_VERBOSE (1UL << 28)
68
#define T_VERY_SILENT (1UL << 29)
69
#define T_WAIT_FOREVER (1UL << 30)
70
#define T_WRITE_LOOP (1UL << 31)
71
72
#define T_REP_ANY (T_REP | T_REP_BY_SORT)
73
74
#endif
include
my_check_opt.h
Generated by
1.9.2