diff options
author | Alexander Barkov <bar@mariadb.org> | 2014-06-02 12:33:17 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2014-06-02 12:33:17 +0400 |
commit | ce84ba2f81c6be6543722c52106e09eb9bdc21cd (patch) | |
tree | dbcf2cf0676b1b88159804ceb89c2de3bcf1b368 /sql-common | |
parent | 4211b1cd48c0ff315d40c37817211b31114080e1 (diff) | |
download | mariadb-git-ce84ba2f81c6be6543722c52106e09eb9bdc21cd.tar.gz |
MDEV-6287 Bad warning level when inserting a DATETIME value into a TIME column
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/my_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/my_time.c b/sql-common/my_time.c index 0942544d0be..983bd8a3de4 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -1317,7 +1317,7 @@ int number_to_time(my_bool neg, longlong nr, ulong sec_part, ltime->year= ltime->month= ltime->day= 0; ltime->time_type= MYSQL_TIMESTAMP_TIME; - *was_cut= MYSQL_TIME_WARN_TRUNCATED; + *was_cut= MYSQL_TIME_NOTE_TRUNCATED; return 0; } |