MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / make_truncated_value_warning

Function make_truncated_value_warning

sql/sql_time.h:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 timestamp_type time_type,
68 const char *field_name);
69inline void make_truncated_value_warning(ErrConvString val,
70 timestamp_type time_type)
71{
72 make_truncated_value_warning(current_thd, Sql_condition::WARN_LEVEL_WARN,
73 val, time_type, NullS);
74}
75extern DATE_TIME_FORMAT *date_time_format_make(timestamp_type format_type,
76 const char *format_str,
77 uint format_length);

Callers 4

get_mysql_time_from_strFunction · 0.70
extract_date_timeFunction · 0.70
set_timeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected