29#ifndef BINARY_LOG_FUNCS_INCLUDED
30#define BINARY_LOG_FUNCS_INCLUDED
56uint32_t
calc_field_size(
unsigned char col,
const unsigned char *master_data,
57 unsigned int metadata);
67 unsigned int metadata);
unsigned int my_time_binary_length(unsigned int dec)
Calculate binary size of packed numeric time representation.
Definition: binary_log_funcs.cpp:56
unsigned int max_display_length_for_field(enum_field_types sql_type, unsigned int metadata)
Compute the maximum display length of a field.
Definition: binary_log_funcs.cpp:97
unsigned int my_timestamp_binary_length(unsigned int dec)
Calculate on-disk size of a timestamp value.
Definition: binary_log_funcs.cpp:85
int decimal_binary_size(int precision, int scale)
Returns the size of array to hold a binary representation of a decimal.
Definition: binary_log_funcs.cpp:202
uint32_t calc_field_size(unsigned char col, const unsigned char *master_data, unsigned int metadata)
This helper function calculates the size in bytes of a particular field in a row type event as define...
Definition: binary_log_funcs.cpp:212
unsigned int my_datetime_binary_length(unsigned int dec)
Calculate binary size of packed datetime representation.
Definition: binary_log_funcs.cpp:70
This file contains the field type.
enum_field_types
Column types for MySQL.
Definition: field_types.h:53
static const std::string dec("DECRYPTION")