MySQL 9.0.0
Source Code Documentation
result.h
Go to the documentation of this file.
1/* Copyright (c) 2016, 2024, 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 designed to work with certain software (including
8but not limited to OpenSSL) that is licensed under separate terms,
9as designated in a particular file or component or in included license
10documentation. The authors of MySQL hereby grant you an additional
11permission to link the program and your derivative works with the
12separately licensed software that they have either included with
13the program or referenced in the documentation.
14
15This program is distributed in the hope that it will be useful, but WITHOUT
16ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
18for more details.
19
20You should have received a copy of the GNU General Public License along with
21this program; if not, write to the Free Software Foundation, Inc.,
2251 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24/** @file storage/temptable/include/temptable/result.h
25TempTable auxiliary Result enum. */
26
27#ifndef TEMPTABLE_RESULT_H
28#define TEMPTABLE_RESULT_H
29
30#include "my_base.h" /* HA_ERR_* */
31
32namespace temptable {
33
34enum class Result {
39 OK = 0,
48};
49
50const char *result_to_string(Result r);
51
52} /* namespace temptable */
53
54#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:849
#define HA_ERR_TABLE_CORRUPT
Table/Clustered index is corrupted.
Definition: my_base.h:967
#define HA_ERR_OUT_OF_MEM
Record-file is crashed.
Definition: my_base.h:837
#define HA_ERR_TABLE_EXIST
The table existed in storage engine.
Definition: my_base.h:888
#define HA_ERR_WRONG_INDEX
Wrong index given to function.
Definition: my_base.h:829
#define HA_ERR_UNSUPPORTED
unsupported extension used
Definition: my_base.h:855
#define HA_ERR_FOUND_DUPP_KEY
Duplicate key on write.
Definition: my_base.h:823
#define HA_ERR_NO_SUCH_TABLE
The table does not exist in engine.
Definition: my_base.h:886
#define HA_ERR_WRONG_COMMAND
Command not supported.
Definition: my_base.h:841
#define HA_ERR_KEY_NOT_FOUND
Didn't find key on read or update.
Definition: my_base.h:821
#define HA_ERR_TOO_BIG_ROW
Too big row.
Definition: my_base.h:857
#define HA_ERR_END_OF_FILE
end in next/prev/first/last
Definition: my_base.h:853
Definition: allocator.h:45
const char * result_to_string(Result r)
Definition: result.cc:31
Result
Definition: result.h:34
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86