24#ifndef DD__UTILS_INCLUDED
25#define DD__UTILS_INCLUDED
94bool eat_to(String_type::const_iterator &it, String_type::const_iterator
end,
117 String_type::const_iterator
end,
char c);
133bool eat_pairs(String_type::const_iterator &it, String_type::const_iterator
end,
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
unsigned long long int ulonglong
Definition: my_inttypes.h:56
int64_t my_time_t
Portable time_t replacement.
Definition: my_time_t.h:32
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1081
Definition: commit_order_queue.h:34
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
bool eat_to(String_type::const_iterator &it, String_type::const_iterator end, char c)
Start at it, iterate until we hit an unescaped c or the end of the string.
Definition: utils.cc:95
bool unescape(String_type &dest)
In place unescaping of String_type.
Definition: utils.cc:74
bool execute_query(THD *thd, const dd::String_type &q_buf)
Create a lex string for the query from the string supplied and execute the query.
Definition: utils.cc:44
bool end_transaction(THD *thd, bool error)
Helper function to do rollback or commit, depending on error.
Definition: utils.cc:181
bool eat_pairs(String_type::const_iterator &it, String_type::const_iterator end, dd::Properties *props)
Start at it, find a key and value separated by an unescaped '='.
Definition: utils.cc:144
void escape(String_type *sp, const String_type &src)
Escaping of a String_type.
Definition: utils.cc:62
bool eat_str(String_type &dest, String_type::const_iterator &it, String_type::const_iterator end, char c)
Start at it, find first unescaped occorrence of c, create destination string and copy substring to de...
Definition: utils.cc:122
bool is_string_in_lowercase(const String_type &str, const CHARSET_INFO *cs)
Method to verify if string is in lowercase.
Definition: utils.cc:172
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
ulonglong my_time_t_to_ull_datetime(my_time_t seconds_since_epoch)
Convert seconds since epoch, to a datetime ulonglong using my_tz_OFFSET0 suitable for timestamp field...
Definition: utils.cc:164
Cursor end()
A past-the-end Cursor.
Definition: rules_table_service.cc:192
Definition: m_ctype.h:423