MySQL
8.0.33
Source Code Documentation
comp_creator.h
Go to the documentation of this file.
1
#ifndef COMP_CREATOR_INCLUDED
2
#define COMP_CREATOR_INCLUDED
3
4
/* Copyright (c) 2019, 2023, Oracle and/or its affiliates.
5
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.
9
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.
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
// Declaration of chooser_compare_func_creator, in a separate file
27
// to make sure that parser_yystype.h does not need to depend on
28
// item_subselect.h.
29
30
class
Comp_creator
;
31
32
/**
33
Convenience typedef for a function that returns factories for Item comparators
34
(ie., returns Comp_creator).
35
36
@retval nullptr In case of semantic errors.
37
*/
38
using
chooser_compare_func_creator
=
Comp_creator
*(*)(
bool
invert);
39
40
#endif
// COMP_CREATOR_INCLUDED
Comp_creator
Abstract factory interface for creating comparison predicates.
Definition:
item_cmpfunc.h:522
chooser_compare_func_creator
Comp_creator *(*)(bool invert) chooser_compare_func_creator
Convenience typedef for a function that returns factories for Item comparators (ie....
Definition:
comp_creator.h:38
sql
comp_creator.h
Generated by
1.9.2