MySQL 9.0.0
Source Code Documentation
item_strfunc.h File Reference
#include <assert.h>
#include <sys/types.h>
#include <cstdint>
#include "lex_string.h"
#include "mysql/gtid/uuid.h"
#include "my_hostname.h"
#include "my_inttypes.h"
#include "my_table_map.h"
#include "my_time.h"
#include "mysql/strings/m_ctype.h"
#include "mysql/udf_registration_types.h"
#include "mysql_com.h"
#include "mysql_time.h"
#include "sql/enum_query_type.h"
#include "sql/field.h"
#include "sql/item.h"
#include "sql/item_cmpfunc.h"
#include "sql/item_func.h"
#include "sql/parse_location.h"
#include "sql/sql_const.h"
#include "sql_string.h"
#include "template_utils.h"

Go to the source code of this file.

Classes

class  Item_str_func
 
class  Item_str_ascii_func
 
class  Item_func_md5
 
class  Item_func_sha
 
class  Item_func_sha2
 
class  Item_func_to_base64
 
class  Item_func_statement_digest
 
class  Item_func_statement_digest_text
 
class  Item_func_from_base64
 
class  Item_func_aes_encrypt
 
class  Item_func_aes_decrypt
 
class  Item_func_random_bytes
 
class  Item_func_concat
 
class  Item_func_concat_ws
 
class  Item_func_reverse
 
class  Item_func_replace
 
class  Item_func_insert
 
class  Item_str_conv
 
class  Item_func_lower
 
class  Item_func_upper
 
class  Item_func_left
 
class  Item_func_right
 
class  Item_func_substr
 
class  Item_func_substr_index
 
class  Item_func_trim
 
class  Item_func_ltrim
 
class  Item_func_rtrim
 
class  Item_func_sysconst
 
class  Item_func_database
 
class  Item_func_user
 
class  Item_func_current_user
 
class  Item_func_soundex
 
class  Item_func_elt
 
class  Item_func_make_set
 
class  Item_func_format
 
class  Item_func_char
 
class  Item_func_repeat
 
class  Item_func_space
 
class  Item_func_rpad
 
class  Item_func_lpad
 
class  Item_func_uuid_to_bin
 
class  Item_func_bin_to_uuid
 
class  Item_func_is_uuid
 
class  Item_func_conv
 
class  Item_func_hex
 
class  Item_func_unhex
 
class  Item_func_like_range
 
class  Item_func_like_range_min
 
class  Item_func_like_range_max
 
class  Item_charset_conversion
 The following types of conversions are considered safe: More...
 
class  Item_typecast_char
 
class  Item_load_file
 
class  Item_func_export_set
 
class  Item_func_quote
 
class  Item_func_conv_charset
 
class  Item_func_set_collation
 
class  Item_func_charset
 
class  Item_func_collation
 
class  Item_func_weight_string
 
class  Item_func_crc32
 
class  Item_func_uncompressed_length
 
class  Item_func_compress
 
class  Item_func_to_vector
 
class  Item_func_from_vector
 
class  Item_func_uncompress
 
class  Item_func_uuid
 
class  Item_func_current_role
 
class  Item_func_roles_graphml
 
class  Item_func_get_dd_column_privileges
 
class  Item_func_get_dd_create_options
 
class  Item_func_get_dd_schema_options
 
class  Item_func_internal_get_comment_or_error
 
class  Item_func_get_dd_tablespace_private_data
 
class  Item_func_get_dd_index_private_data
 
class  Item_func_get_partition_nodegroup
 
class  Item_func_internal_tablespace_type
 
class  Item_func_internal_tablespace_logfile_group_name
 
class  Item_func_internal_tablespace_status
 
class  Item_func_internal_tablespace_row_format
 
class  Item_func_internal_tablespace_extra
 
class  Item_func_convert_cpu_id_mask
 
class  Item_func_get_dd_property_key_value
 
class  Item_func_remove_dd_property_key
 
class  Item_func_convert_interval_to_user_interval
 
class  Item_func_internal_get_username
 
class  Item_func_internal_get_hostname
 
class  Item_func_internal_get_enabled_role_json
 
class  Item_func_internal_get_mandatory_roles_json
 
class  Item_func_internal_get_dd_column_extra
 

Functions

CHARSET_INFOmysqld_collation_get_by_name (const char *name, CHARSET_INFO *name_cs=system_charset_info)
 Get collation by name, send error to client on failure. More...
 
Stringmysql_generate_uuid (String *str)
 Generate Universal Unique Identifier (UUID). More...
 

Function Documentation

◆ mysql_generate_uuid()

String * mysql_generate_uuid ( String str)

Generate Universal Unique Identifier (UUID).

Parameters
strPointer to string which will hold the UUID.
Returns
str Pointer to string which contains the UUID.

◆ mysqld_collation_get_by_name()

CHARSET_INFO * mysqld_collation_get_by_name ( const char *  name,
CHARSET_INFO name_cs 
)

Get collation by name, send error to client on failure.

Parameters
nameCollation name
name_csCharacter set of the name string
Return values
NULLon error
Pointterto CHARSET_INFO with the given name on success