linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #02614
[Bug 884687] Re: Using the * operation on time gives unexpected results
See also: http://databaseblog.myname.nl/2011/11/fixed-in-drizzle-or-
just-different.html
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/884687
Title:
Using the * operation on time gives unexpected results
Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
New
Bug description:
drizzle> insert into t1(t) values ('00:05:10');
Query OK, 1 row affected (0.001717 sec)
drizzle> select t,t*1.5 from t1;
+----------+-------+
| t | t*1.5 |
+----------+-------+
| 00:05:10 | 465 |
+----------+-------+
1 row in set (0.000691 sec)
This differs from the SQL standard and behaviour from MySQL, PostgreSQL and SQLite.
If I understand it correctly the standards compliant behaviour should
be to throw an error. The expected behaviour (PostgreSQL does this) is
to return 00:07:45.
To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/884687/+subscriptions
References