MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mysql_column_types.cc File Reference
#include "helper/mysql_column_types.h"
#include <cstring>
#include <map>
#include <string_view>
#include "my_sys.h"
#include "mysql/harness/string_utils.h"
#include "mysql/strings/m_ctype.h"

Namespaces

namespace  helper
 

Functions

static const auto & helper::get_txt_type_mapping ()
 
static std::string helper::appedn_unsigned (const MYSQL_FIELD *field)
 
static std::string helper::append_length (const MYSQL_FIELD *field)
 
static std::string helper::append_length_dec (const MYSQL_FIELD *field)
 
std::string helper::txt_from_mysql_column_type (const MYSQL_FIELD *field)
 
JsonType helper::from_mysql_column_type (const MYSQL_FIELD *type)
 
void helper::remove_suffix_after (std::string_view &v, char c)
 
ColumnType helper::from_mysql_txt_column_type (const char *type)
 
uint64_t helper::from_mysql_column_type_length (const char *type)
 
std::string helper::to_string (JsonType type)