MySQL 8.4.2
Source Code Documentation
|
#include "mysqlrouter/router_mysql_export.h"
#include <inttypes.h>
#include <string>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | mysqlrouter::sqlstring |
struct | mysqlrouter::sqlstring::sqlstringformat |
Namespaces | |
namespace | mysqlrouter |
Macros | |
#define | __STDC_FORMAT_MACROS 1 |
Enumerations | |
enum | mysqlrouter::SqlStringFlags { mysqlrouter::QuoteOnlyIfNeeded = 1 << 0 , mysqlrouter::UseAnsiQuotes = 1 << 1 , mysqlrouter::EndOfInput = 1 << 7 } |
Functions | |
std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_sql_string (const std::string &s, bool wildcards) |
Escape a string to be used in a SQL query Same code as used by mysql. More... | |
std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_backticks (const std::string &string) |
std::string ROUTER_MYSQL_EXPORT | mysqlrouter::quote_identifier (const std::string &identifier, const char quote_char) |
std::string ROUTER_MYSQL_EXPORT | mysqlrouter::quote_identifier_if_needed (const std::string &ident, const char quote_char) |
Quotes the given identifier, but only if it needs to be quoted. More... | |
#define __STDC_FORMAT_MACROS 1 |