46#define FIND_TYPE_BASIC 0
48#define FIND_TYPE_NO_PREFIX (1 << 0)
50#define FIND_TYPE_NO_OVERWRITE (1 << 1)
52#define FIND_TYPE_ALLOW_NUMBER (1 << 2)
54#define FIND_TYPE_COMMA_TERM (1 << 3)
63 uint64_t cur_set, uint64_t default_set,
65 const char **err_pos,
unsigned int *err_len);
static int flags[50]
Definition: hp_test1.cc:40
Some integer typedefs for easier portability.
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1081
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83
const char ** type_names
Definition: typelib.h:38
size_t count
Definition: typelib.h:36
const char * name
Definition: typelib.h:37
unsigned int * type_lengths
Definition: typelib.h:39
int find_type_or_exit(const char *x, TYPELIB *typelib, const char *option)
Definition: typelib.cc:50
TYPELIB * copy_typelib(MEM_ROOT *root, TYPELIB *from)
Create a copy of a specified TYPELIB structure.
Definition: typelib.cc:199
int find_type(const char *x, const TYPELIB *typelib, unsigned int flags)
const char * get_type(TYPELIB *typelib, unsigned int nr)
TYPELIB sql_protocol_typelib
Definition: client.cc:2078
uint64_t find_typeset(const char *x, TYPELIB *typelib, int *error_position)
Create an integer value to represent the supplied comma-separated string where each string in the TYP...
Definition: typelib.cc:161
uint64_t find_set_from_flags(const TYPELIB *lib, int default_name, uint64_t cur_set, uint64_t default_set, const char *str, unsigned int length, const char **err_pos, unsigned int *err_len)