On 08/12/2019 13:12, Alex Peshkoff via Firebird-devel wrote:
On 2019-12-07 18:18, Simonov Denis via Firebird-devel wrote:
I try snapshot 4.0.0.1683. Basically, the new SET BIND OF statement
works as expected. But using a form to return a native type does not
work.
SET BIND OF DECFLOAT (34) TO CHAR (46); - OK
SET BIND OF DECFLOAT (34) NATIVE;
Can not convert decfloat (34) to unknown.
In addition, I did not see that this works:
When incomplete type definiton is used in right side of the statement
(TO part) firebird engine will define missing
details about that type automatically based on source column.
SET BIND OF DECFLOAT (34) TO CHAR;
Can not convert decfloat (34) to char.
Windows x64 Firebird 4.0.0.1683 x64.
If necessary, I can create a ticket in the tracker.
Thank you, not needed - fixed that.
I just tested a DPB with value DECFLOAT TO LEGACY, but that yields an
error 335545259 (Error processing isc_dpb_set_bind clumplet "DECFLOAT to
LEGACY"), is that the same problem?
Mark
--
Mark Rotteveel
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel