MySQL 8.0.39
Source Code Documentation
messages.h
Go to the documentation of this file.
1#ifndef MESSAGES_INCLUDED
2#define MESSAGES_INCLUDED
3/* Copyright (c) 2015, 2024, 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 designed to work 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 either included with
15 the program or referenced in the documentation.
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 messages.h
28
29 The messages that Rewriter outputs.
30
31 @todo Move the messages in rewriter_plugin.cc and rewriter_udf.cc here.
32*/
33
35const char *PATTERN_PARSE_ERROR = "Parse error in pattern";
37 "Statement type of pattern not supported.";
38const char *PATTERN_GOT_NO_DIGEST = "Unable to get a digest for pattern.";
39const char *REPLACEMENT_PARSE_ERROR = "Parse error in replacement";
41 "Replacement has more parameter markers than pattern.";
42} // namespace rewriter_messages
43
44#endif // MESSAGES_INCLUDED
Definition: messages.h:34
const char * PATTERN_GOT_NO_DIGEST
Definition: messages.h:38
const char * REPLACEMENT_HAS_MORE_MARKERS
Definition: messages.h:40
const char * REPLACEMENT_PARSE_ERROR
Definition: messages.h:39
const char * PATTERN_PARSE_ERROR
Definition: messages.h:35
const char * PATTERN_NOT_SUPPORTED_STATEMENT
Definition: messages.h:36