MySQL 8.0.40
Source Code Documentation
conf_to_src.cc File Reference
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "welcome_copyright_notice.h"
#include "m_ctype.h"
#include <unistd.h>
#include "my_config.h"
#include "my_compiler.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_loglevel.h"
#include "my_macros.h"
#include "my_xml.h"
#include "template_utils.h"

Classes

class  LOCAL_CHARSET_LOADER
 

Macros

#define ROW_LEN   16
 
#define ROW16_LEN   8
 
#define MAX_BUF   64 * 1024
 

Functions

static void print_array (FILE *f, const char *set, const char *name, const uchar *a, int n)
 
static void print_array16 (FILE *f, const char *set, const char *name, const uint16 *a, int n)
 
static int get_charset_number (const char *charset_name)
 
static ucharmdup (const uchar *src, uint len)
 
static void simple_cs_copy_data (CHARSET_INFO *to, CHARSET_INFO *from)
 
static bool simple_cs_is_full (CHARSET_INFO *cs)
 
static int add_collation (CHARSET_INFO *cs)
 
static int my_read_charset_file (const char *filename)
 
static int is_case_sensitive (CHARSET_INFO *cs)
 
static void dispcset (FILE *f, CHARSET_INFO *cs)
 
int main (int argc, char **argv)
 

Variables

static CHARSET_INFO all_charsets [512]
 

Macro Definition Documentation

◆ MAX_BUF

#define MAX_BUF   64 * 1024

◆ ROW16_LEN

#define ROW16_LEN   8

◆ ROW_LEN

#define ROW_LEN   16

Function Documentation

◆ add_collation()

static int add_collation ( CHARSET_INFO cs)
static

◆ dispcset()

static void dispcset ( FILE *  f,
CHARSET_INFO cs 
)
static

◆ get_charset_number()

static int get_charset_number ( const char *  charset_name)
static

◆ is_case_sensitive()

static int is_case_sensitive ( CHARSET_INFO cs)
static

◆ main()

int main ( int  argc,
char **  argv 
)

◆ mdup()

static uchar * mdup ( const uchar src,
uint  len 
)
static

◆ my_read_charset_file()

static int my_read_charset_file ( const char *  filename)
static

◆ print_array()

static void print_array ( FILE *  f,
const char *  set,
const char *  name,
const uchar a,
int  n 
)
static

◆ print_array16()

static void print_array16 ( FILE *  f,
const char *  set,
const char *  name,
const uint16 a,
int  n 
)
static

◆ simple_cs_copy_data()

static void simple_cs_copy_data ( CHARSET_INFO to,
CHARSET_INFO from 
)
static

◆ simple_cs_is_full()

static bool simple_cs_is_full ( CHARSET_INFO cs)
static

Variable Documentation

◆ all_charsets

CHARSET_INFO all_charsets[512]
static