diff options
author | Alexander Barkov <bar@mariadb.org> | 2013-08-15 15:24:34 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2013-08-15 15:24:34 +0400 |
commit | e9ca686137f0498cc1bc25d1c67fb32769d88218 (patch) | |
tree | eb16367beb707e7f00d4d9afe1d31575b1e1f87e /sql-common/my_time.c | |
parent | 3462b6d3d29eebc246dbf8942baffd0ae5dd0b4f (diff) | |
download | mariadb-git-e9ca686137f0498cc1bc25d1c67fb32769d88218.tar.gz |
MDEV-4871 Temporal literals do not accept nanoseconds
Diffstat (limited to 'sql-common/my_time.c')
-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 75b94d14ac4..0e8a1098e55 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -239,7 +239,7 @@ static void get_microseconds(ulong *val, MYSQL_TIME_STATUS *status, else *val= tmp; if (skip_digits(str, end)) - status->warnings|= MYSQL_TIME_WARN_TRUNCATED; + status->warnings|= MYSQL_TIME_NOTE_TRUNCATED; } |