You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But on WI-T4.0.0.639 output will finish like this:
select 1e2 / 1e1 from rdb$database;
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-expression evaluation not supported
-Division in dialect 1 must be between numeric data types
No troubles with dialect 3. No troubles in current 3.0.2 builds.
Submitted by: @pavel-zotov
Run this:
set sqlda_display on;
set wng off;
set list on;
set echo on;
set sql dialect 1;
select 1e2 + 1e1 from rdb$database;
select 1e2 - 1e1 from rdb$database;
select 1e2 * 1e1 from rdb$database;
select 1e2 / 1e1 from rdb$database;
Expected result should finish with:
select 1e2 / 1e1 from rdb$database;
INPUT message field count: 0
OUTPUT message field count: 1
01: sqltype: 480 DOUBLE scale: 0 subtype: 0 len: 8
: name: DIVIDE alias: DIVIDE
: table: owner:
DIVIDE 10.00000000000000
But on WI-T4.0.0.639 output will finish like this:
select 1e2 / 1e1 from rdb$database;
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-expression evaluation not supported
-Division in dialect 1 must be between numeric data types
No troubles with dialect 3. No troubles in current 3.0.2 builds.
====== Test Details ======
See test for CORE3972
The text was updated successfully, but these errors were encountered: