MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
item_strfunc.cc File Reference

This file defines all string functions. More...

#include "sha2.h"
#include "my_global.h"
#include "sql_priv.h"
#include "sql_class.h"
#include "set_var.h"
#include "mysqld.h"
#include "sql_acl.h"
#include "des_key_file.h"
#include "password.h"
#include "crypt_genhash_impl.h"
#include <m_ctype.h>
#include <base64.h>
#include "my_md5.h"
#include "sha1.h"
#include "my_aes.h"
#include <zlib.h>
#include "../mysys/my_static.h"
#include <my_dir.h>
Include dependency graph for item_strfunc.cc:

Go to the source code of this file.

Macros

#define bin_to_ascii(c)   ((c)>=38?((c)-38+'a'):(c)>=12?((c)-12+'A'):(c)+'.')
#define get_esc_bit(mask, num)   (1 & (*((mask) + ((num) >> 3))) >> ((num) & 7))
#define UUID_TIME_OFFSET
#define UUID_VERSION   0x1000
#define UUID_VARIANT   0x8000

Functions

Stringalloc_buffer (String *res, String *str, String *tmp_value, ulong length)

Variables

const int FORMAT_MAX_DECIMALS = 30

Detailed Description

This file defines all string functions.

Warning
Some string functions don't always put and end-null on a String. (This shouldn't be needed)

Definition in file item_strfunc.cc.

Macro Definition Documentation

#define UUID_TIME_OFFSET
Value:
((ulonglong) 141427 * 24 * 60 * 60 * \
1000 * 1000 * 10)

number of 100-nanosecond intervals between 1582-10-15 00:00:00.00 and 1970-01-01 00:00:00.00.

Definition at line 4238 of file item_strfunc.cc.

Variable Documentation

const int FORMAT_MAX_DECIMALS = 30

Change a number to format '3,333,333,333.000'.

This should be 'internationalized' sometimes.

Definition at line 2435 of file item_strfunc.cc.