Issue Details (XML | Word | Printable)

Key: CORE-1248
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Incorrect timestamp arithmetic when one of operands is negative number

Created: 07/May/07 08:37 AM   Updated: 01/Aug/07 10:40 AM
Component/s: None
Affects Version/s: 2.0.0, 2.0.1, 2.1 Initial
Fix Version/s: 2.1 Beta 1, 2.0.2

Time Tracking:
Not Specified

Environment: This bug affects FB versions on platforms where C run-time library have no "llrint" function, for example Windows
Issue Links:
Relate
 


 Description  « Hide
SELECT CAST('04.05.2007' AS TIMESTAMP) - (-7) FROM RDB$DATABASE

returns 10.05.2007 23:59:59
while correct result is 11.05.2007 00:00:00


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Philippe Makowski added a comment - 01/Aug/07 10:40 AM
Q/A test ok for 2.1 Beta1 under Windows