mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
d594f1e531
Part 1
9 lines
436 B
Text
9 lines
436 B
Text
#
|
|
# MDEV-9175 Query parser tansforms MICROSECOND into SECOND_FRAC, which does not work
|
|
#
|
|
|
|
select timestampdiff(microsecond,'2000-01-01 00:00:00','2001-01-01 00:00:00.123456') as exp;
|
|
explain extended select timestampdiff(microsecond,'2000-01-01 00:00:00','2001-01-01 00:00:00.123456') as exp;
|
|
create view v1 as select timestampdiff(microsecond,'2000-01-01 00:00:00','2001-01-01 00:00:00.123456') as exp;
|
|
select * from v1;
|
|
drop view v1;
|