Broken short C-style cast for literary 'NOW'
--------------------------------------------

                 Key: CORE-6191
                 URL: http://tracker.firebirdsql.org/browse/CORE-6191
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 4.0 Beta 1
         Environment: windows 7 x64
            Reporter: Simonov Denis


  select
    current_timestamp as t1,
    timestamp 'now' as t2,
    cast('now' as timestamp) as t3
  from rdb$database

Overflow occurred during data type conversion.
conversion error from string "now".

If you comment out the column t2, then it works.

  select
    current_timestamp as t1,
  --  timestamp 'now' as t2,
    cast('now' as timestamp) as t3
  from rdb$database

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to