mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Applied all changes from Igor and Sanja
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#include "my_global.h" /* ulong */
|
||||
#include "my_time.h"
|
||||
#include "mysql_time.h" /* timestamp_type */
|
||||
#include "sql_error.h" /* MYSQL_ERROR */
|
||||
#include "sql_error.h" /* Sql_condition */
|
||||
#include "structs.h" /* INTERVAL */
|
||||
|
||||
typedef enum enum_mysql_timestamp_type timestamp_type;
|
||||
@ -50,13 +50,14 @@ bool int_to_datetime_with_warn(longlong value, MYSQL_TIME *ltime,
|
||||
ulonglong fuzzydate,
|
||||
const char *name);
|
||||
|
||||
void make_truncated_value_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
|
||||
void make_truncated_value_warning(THD *thd,
|
||||
Sql_condition::enum_warning_level level,
|
||||
const ErrConv *str_val,
|
||||
timestamp_type time_type,
|
||||
const char *field_name);
|
||||
|
||||
static inline void make_truncated_value_warning(THD *thd,
|
||||
MYSQL_ERROR::enum_warning_level level, const char *str_val,
|
||||
Sql_condition::enum_warning_level level, const char *str_val,
|
||||
uint str_length, timestamp_type time_type,
|
||||
const char *field_name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user