[FB-Tracker] Created: (CORE-5565) No in Division possible in dialect 1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (CORE-5565) No in Division possible in dialect 1

JIRA tracker@firebirdsql.org
No in Division possible in dialect 1
------------------------------------

                 Key: CORE-5565
                 URL: http://tracker.firebirdsql.org/browse/CORE-5565
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 4.0 Alpha 1
            Reporter: Arkadiusz Wolanski


Following statement:

select d.rdb$relation_id / 1
 from rdb$database d

causes following exception:

Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements.
Dynamic SQL Error.
expression evaluation not supported.
Division in dialect 1 must be between numeric data types.


--
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

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Reopened: (CORE-5565) No in Division possible in dialect 1

JIRA tracker@firebirdsql.org

     [ http://tracker.firebirdsql.org/browse/CORE-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Peshkov reopened CORE-5565:
-------------------------------------


I can reproduce it with current master:

# ./isql -sql 1 employee

WARNING: This database speaks SQL dialect 3 but Client SQL dialect was set to 1 .
Database: employee, User: SYSDBA
SQL> select d.rdb$relation_id / 1
CON>  from rdb$database d;
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-expression evaluation not supported
-Division in dialect 1 must be between numeric data types
SQL>

> No in Division possible in dialect 1
> ------------------------------------
>
>                 Key: CORE-5565
>                 URL: http://tracker.firebirdsql.org/browse/CORE-5565
>             Project: Firebird Core
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 4.0 Alpha 1
>            Reporter: Arkadiusz Wolanski
>            Assignee: Alexander Peshkov
>
> Following statement:
> select d.rdb$relation_id / 1
>  from rdb$database d
> causes following exception:
> Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements.
> Dynamic SQL Error.
> expression evaluation not supported.
> Division in dialect 1 must be between numeric data types.

--
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

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel