MySQL 8.3.0
Source Code Documentation
Go to the documentation of this file.
4/* Copyright (c) 2008, 2023, Oracle and/or its affiliates.
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.
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.
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 GNU General Public License, version 2.0, for more details.
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 */
27 @file mysys/my_handler_errors.h
31 Errors a handler can give you
34// clang-format off
35// We do not want to break long lines below,
36// clang Wstring-concatenation may break the build.
37static const char *handler_error_messages[] = {
38 "Didn't find key on read or update",
39 "Duplicate key on write or update",
40 "Internal (unspecified) error in handler",
41 "Someone has changed the row since it was read (while the table was locked to prevent it)",
42 "Wrong index given to function",
43 "Transaction has been rolled back",
44 "Index file is crashed",
45 "Record file is crashed",
46 "Out of memory in engine",
47 "Undefined handler error 129",
48 "Incorrect file format",
49 "Command not supported by database",
50 "Old database file",
51 "No record read before update",
52 "Record was already deleted (or record file crashed)",
53 "No more room in record file",
54 "No more room in index file",
55 "No more records (read after end of file)",
56 "Unsupported extension used for table",
57 "Too big row",
58 "Wrong create options",
59 "Duplicate unique key or constraint on write or update",
60 "Unknown character set used in table",
61 "Conflicting table definitions in sub-tables of MERGE table",
62 "Table is crashed and last repair failed",
63 "Table was marked as crashed and should be repaired",
64 "Lock timed out; Retry transaction",
65 "Lock table is full; Restart program with a larger locktable",
66 "Updates are not allowed under a read only transactions",
67 "Lock deadlock; Retry transaction",
68 "Foreign key constraint is incorrectly formed",
69 "Cannot add a child row",
70 "Cannot delete a parent row",
71 "No savepoint with that name",
72 "Non unique key block size",
73 "The table does not exist in engine",
74 "The table already existed in storage engine",
75 "Could not connect to storage engine",
76 "Unexpected null pointer found when using spatial index",
77 "The table changed in storage engine",
78 "There's no partition in table for the given value",
79 "Row-based binlogging of row failed",
80 "Index needed in foreign key constraint",
81 "Upholding foreign key constraints would lead to a duplicate key error in some other table",
82 "Table needs to be upgraded before it can be used",
83 "Table is read only",
84 "Failed to get next auto increment value",
85 "Failed to set row auto increment value",
86 "Unknown (generic) error from engine",
87 "Record is the same",
88 "It is not possible to log this statement",
89 "The event was corrupt, leading to illegal data being read",
90 "The table is of a new format not supported by this version",
91 "The event could not be processed no other hanlder error happened",
92 "Got a fatal error during initialization of handler",
93 "File too short; Expected more data in file",
94 "Read page with wrong checksum",
95 "Too many active concurrent transactions",
96 "Record not matching the given partition set",
97 "Index column length exceeds limit",
98 "Index corrupted",
99 "Undo record too big",
100 "Invalid InnoDB FTS Doc ID",
101 "Table is being used in foreign key check",
102 "Tablespace already exists",
103 "Too many columns",
104 "Row in wrong partition",
105 "InnoDB is in read only mode",
106 "FTS query exceeds result cache memory limit",
107 "Temporary file write failure",
108 "Operation not allowed when innodb_force_recovery > 0",
109 "Too many words in a FTS phrase or proximity search",
110 "Foreign key cascade delete/update exceeds max depth",
111 "Required Create option missing",
112 "Out of memory in storage engine",
113 "Table corrupted",
114 "Query interrupted",
115 "Tablespace cannot be accessed",
116 "Tablespace is not empty",
117 "Incorrect file name",
118 "Operation is not allowed",
119 "Compute generate value failed",
120 "Row format changed in storage engine",
121 "Do not wait for lock",
122 "No more room in disk",
123 "No session temporary tablespace available",
124 "Invalid table name",
125 "Path is too long for the OS",
126 "Histogram sampling initialization failed",
127 "Too many nested sub-expressions in a full-text search"};
129// clang-format on
static const char * handler_error_messages[]
Errors a handler can give you.
Definition: my_handler_errors.h:37
void my_handler_error_unregister(void)
void my_handler_error_register(void)