MySQL 8.0.30
Source Code Documentation
my_handler_errors.h
Go to the documentation of this file.
1#ifndef MYSYS_MY_HANDLER_ERRORS_INCLUDED
2#define MYSYS_MY_HANDLER_ERRORS_INCLUDED
3
4/* Copyright (c) 2008, 2022, Oracle and/or its affiliates.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License, version 2.0,
8 as published by the Free Software Foundation.
9
10 This program is also distributed with certain software (including
11 but not limited to OpenSSL) that is licensed under separate terms,
12 as designated in a particular file or component or in included license
13 documentation. The authors of MySQL hereby grant you an additional
14 permission to link the program and your derivative works with the
15 separately licensed software that they have included with MySQL.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License, version 2.0, for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
25
26/**
27 @file mysys/my_handler_errors.h
28*/
29
30/**
31 Errors a handler can give you
32*/
33
34static const char *handler_error_messages[] = {
35 "Didn't find key on read or update",
36 "Duplicate key on write or update",
37 "Internal (unspecified) error in handler",
38 "Someone has changed the row since it was read (while the table was locked "
39 "to prevent it)",
40 "Wrong index given to function",
41 "Transaction has been rolled back",
42 "Index file is crashed",
43 "Record file is crashed",
44 "Out of memory in engine",
45 "Undefined handler error 129",
46 "Incorrect file format",
47 "Command not supported by database",
48 "Old database file",
49 "No record read before update",
50 "Record was already deleted (or record file crashed)",
51 "No more room in record file",
52 "No more room in index file",
53 "No more records (read after end of file)",
54 "Unsupported extension used for table",
55 "Too big row",
56 "Wrong create options",
57 "Duplicate unique key or constraint on write or update",
58 "Unknown character set used in table",
59 "Conflicting table definitions in sub-tables of MERGE table",
60 "Table is crashed and last repair failed",
61 "Table was marked as crashed and should be repaired",
62 "Lock timed out; Retry transaction",
63 "Lock table is full; Restart program with a larger locktable",
64 "Updates are not allowed under a read only transactions",
65 "Lock deadlock; Retry transaction",
66 "Foreign key constraint is incorrectly formed",
67 "Cannot add a child row",
68 "Cannot delete a parent row",
69 "No savepoint with that name",
70 "Non unique key block size",
71 "The table does not exist in engine",
72 "The table already existed in storage engine",
73 "Could not connect to storage engine",
74 "Unexpected null pointer found when using spatial index",
75 "The table changed in storage engine",
76 "There's no partition in table for the given value",
77 "Row-based binlogging of row failed",
78 "Index needed in foreign key constraint",
79 "Upholding foreign key constraints would lead to a duplicate key error in "
80 "some other table",
81 "Table needs to be upgraded before it can be used",
82 "Table is read only",
83 "Failed to get next auto increment value",
84 "Failed to set row auto increment value",
85 "Unknown (generic) error from engine",
86 "Record is the same",
87 "It is not possible to log this statement",
88 "The event was corrupt, leading to illegal data being read",
89 "The table is of a new format not supported by this version",
90 "The event could not be processed no other hanlder error happened",
91 "Got a fatal error during initialization of handler",
92 "File too short; Expected more data in file",
93 "Read page with wrong checksum",
94 "Too many active concurrent transactions",
95 "Record not matching the given partition set",
96 "Index column length exceeds limit",
97 "Index corrupted",
98 "Undo record too big",
99 "Invalid InnoDB FTS Doc ID",
100 "Table is being used in foreign key check",
101 "Tablespace already exists",
102 "Too many columns",
103 "Row in wrong partition",
104 "InnoDB is in read only mode",
105 "FTS query exceeds result cache memory limit",
106 "Temporary file write failure",
107 "Operation not allowed when innodb_force_recovery > 0",
108 "Too many words in a FTS phrase or proximity search",
109 "Foreign key cascade delete/update exceeds max depth",
110 "Required Create option missing",
111 "Out of memory in storage engine",
112 "Table corrupted",
113 "Query interrupted",
114 "Tablespace cannot be accessed",
115 "Tablespace is not empty",
116 "Incorrect file name",
117 "Operation is not allowed",
118 "Compute generate value failed",
119 "Row format changed in storage engine",
120 "Do not wait for lock",
121 "No more room in disk",
122 "No session temporary tablespace available",
123 "Invalid table name",
124 "Path is too long for the OS",
125 "Histogram sampling initialization failed",
126 "Too many nested sub-expressions in a full-text search"};
127
130
131#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */
static const char * handler_error_messages[]
Errors a handler can give you.
Definition: my_handler_errors.h:34
void my_handler_error_unregister(void)
void my_handler_error_register(void)