Subject | Re: [firebird-support] Strange API string truncation error |
---|---|
Author | Richard Wesley |
Post date | 2007-05-11T18:03:25Z |
On May 11, 2007, at 10:48, Ivan Prenosil wrote:
I'm puzzled that the buffer sizes returned by the prepare call are
not adequate. The would seem to be and I still get the same error
when I modify them in the debugger to be something ridiculous like 240.
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html
>> I have just run across a problem reading back data from a connectionYes, I have (it was at the very bottom of my post) and it works.
>> using the IB API. The query is
>>
>> SELECT ((EXTRACT(YEAR FROM "Calcs"."datetime0") || '')) AS
>> "none:B11703:nk"
>> FROM "Calcs"
>> GROUP BY 1
>>
>> the error is
>>
>> File: db\firebirdprotocol.cpp, Line: 1534
>> Status: 335544321
>> arithmetic exception, numeric overflow, or string truncation
>
> Have you tried ISQL ?
I'm puzzled that the buffer sizes returned by the prepare call are
not adequate. The would seem to be and I still get the same error
when I modify them in the debugger to be something ridiculous like 240.
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html