MySQL 8.3.0
Source Code Documentation
messages.h
Go to the documentation of this file.
1#ifndef MESSAGES_INCLUDED
2#define MESSAGES_INCLUDED
3/* Copyright (c) 2015, 2023, Oracle and/or its affiliates.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License, version 2.0,
7 as published by the Free Software Foundation.
8
9 This program is also distributed with certain software (including
10 but not limited to OpenSSL) that is licensed under separate terms,
11 as designated in a particular file or component or in included license
12 documentation. The authors of MySQL hereby grant you an additional
13 permission to link the program and your derivative works with the
14 separately licensed software that they have included with MySQL.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License, version 2.0, for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
24
25/**
26 @file messages.h
27
28 The messages that Rewriter outputs.
29
30 @todo Move the messages in rewriter_plugin.cc and rewriter_udf.cc here.
31*/
32
34const char *PATTERN_PARSE_ERROR = "Parse error in pattern";
36 "Statement type of pattern not supported.";
37const char *PATTERN_GOT_NO_DIGEST = "Unable to get a digest for pattern.";
38const char *REPLACEMENT_PARSE_ERROR = "Parse error in replacement";
40 "Replacement has more parameter markers than pattern.";
41} // namespace rewriter_messages
42
43#endif // MESSAGES_INCLUDED
Definition: messages.h:33
const char * PATTERN_GOT_NO_DIGEST
Definition: messages.h:37
const char * REPLACEMENT_HAS_MORE_MARKERS
Definition: messages.h:39
const char * REPLACEMENT_PARSE_ERROR
Definition: messages.h:38
const char * PATTERN_PARSE_ERROR
Definition: messages.h:34
const char * PATTERN_NOT_SUPPORTED_STATEMENT
Definition: messages.h:35