MySQL 8.0.40
Source Code Documentation
my_string.cc File Reference

Code for handling strings with can grow dynamically. More...

#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include "m_string.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys/mysys_priv.h"

Functions

bool init_dynamic_string (DYNAMIC_STRING *str, const char *init_str, size_t init_alloc)
 
bool dynstr_set (DYNAMIC_STRING *str, const char *init_str)
 
bool dynstr_realloc (DYNAMIC_STRING *str, size_t additional_size)
 
bool dynstr_append (DYNAMIC_STRING *str, const char *append)
 
bool dynstr_append_mem (DYNAMIC_STRING *str, const char *append, size_t length)
 
bool dynstr_trunc (DYNAMIC_STRING *str, size_t n)
 
static bool dynstr_append_quoted_inner (DYNAMIC_STRING *str, const char *quote_str, const uint quote_len, const char *append, va_list dirty_text)
 
bool dynstr_append_os_quoted (DYNAMIC_STRING *str, const char *append,...)
 
bool dynstr_append_quoted (DYNAMIC_STRING *str, const char *quote_str, const uint quote_len, const char *append,...)
 
void dynstr_free (DYNAMIC_STRING *str)
 

Detailed Description

Code for handling strings with can grow dynamically.

Function Documentation

◆ dynstr_append_quoted_inner()

static bool dynstr_append_quoted_inner ( DYNAMIC_STRING str,
const char *  quote_str,
const uint  quote_len,
const char *  append,
va_list  dirty_text 
)
static