MySQL 8.3.0
Source Code Documentation
result.h
Go to the documentation of this file.
1/* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2
3This program is free software; you can redistribute it and/or modify it under
4the terms of the GNU General Public License, version 2.0, as published by the
5Free Software Foundation.
6
7This program is also distributed with certain software (including but not
8limited to OpenSSL) that is licensed under separate terms, as designated in a
9particular file or component or in included license documentation. The authors
10of MySQL hereby grant you an additional permission to link the program and
11your derivative works with the separately licensed software that they have
12included with MySQL.
13
14This program is distributed in the hope that it will be useful, but WITHOUT
15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
17for more details.
18
19You should have received a copy of the GNU General Public License along with
20this program; if not, write to the Free Software Foundation, Inc.,
2151 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22
23/** @file storage/temptable/include/temptable/result.h
24TempTable auxiliary Result enum. */
25
26#ifndef TEMPTABLE_RESULT_H
27#define TEMPTABLE_RESULT_H
28
29#include "my_base.h" /* HA_ERR_* */
30
31namespace temptable {
32
33enum class Result {
38 OK = 0,
47};
48
49const char *result_to_string(Result r);
50
51} /* namespace temptable */
52
53#endif /* TEMPTABLE_RESULT_H */
This file includes constants used by all storage engines.
#define HA_ERR_RECORD_FILE_FULL
No more room in file.
Definition: my_base.h:848
#define HA_ERR_TABLE_CORRUPT
Table/Clustered index is corrupted.
Definition: my_base.h:966
#define HA_ERR_OUT_OF_MEM
Record-file is crashed.
Definition: my_base.h:836
#define HA_ERR_TABLE_EXIST
The table existed in storage engine.
Definition: my_base.h:887
#define HA_ERR_WRONG_INDEX
Wrong index given to function.
Definition: my_base.h:828
#define HA_ERR_UNSUPPORTED
unsupported extension used
Definition: my_base.h:854
#define HA_ERR_FOUND_DUPP_KEY
Duplicate key on write.
Definition: my_base.h:822
#define HA_ERR_NO_SUCH_TABLE
The table does not exist in engine.
Definition: my_base.h:885
#define HA_ERR_WRONG_COMMAND
Command not supported.
Definition: my_base.h:840
#define HA_ERR_KEY_NOT_FOUND
Didn't find key on read or update.
Definition: my_base.h:820
#define HA_ERR_TOO_BIG_ROW
Too big row.
Definition: my_base.h:856
#define HA_ERR_END_OF_FILE
end in next/prev/first/last
Definition: my_base.h:852
Definition: allocator.h:44
const char * result_to_string(Result r)
Definition: result.cc:30
Result
Definition: result.h:33
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:85