Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-17 Thread Mark Rotteveel
On 17-05-2022 15:07, Adriano dos Santos Fernandes wrote: On 17/05/2022 09:54, Mark Rotteveel wrote: Thanks! I will change Jaybird to switch to using blr_varying2/blr_text2 for Jaybird 4.0.7 and Jaybird 5. When you did it for test, did you used the charset number or CS_dynamic? I'm asking be

Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-17 Thread Adriano dos Santos Fernandes
On 17/05/2022 09:54, Mark Rotteveel wrote: > > Thanks! I will change Jaybird to switch to using blr_varying2/blr_text2 > for Jaybird 4.0.7 and Jaybird 5. > When you did it for test, did you used the charset number or CS_dynamic? I'm asking because the current code seems to have the same problem

Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-17 Thread Mark Rotteveel
On 17-05-2022 14:47, Adriano dos Santos Fernandes wrote: On 17/05/2022 08:30, Mark Rotteveel wrote: Is this happening with fbclient library too? Good question: no it doesn't. Which suggests Jaybird is doing something different. Jaybird uses blr_varying/blr_text, not blr_varying2/blr_text2 when

Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-17 Thread Adriano dos Santos Fernandes
On 17/05/2022 08:30, Mark Rotteveel wrote: >> Is this happening with fbclient library too? > > Good question: no it doesn't. Which suggests Jaybird is doing something > different. Jaybird uses blr_varying/blr_text, not blr_varying2/blr_text2 > when sending the BLR of the execute. Could that make a

Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-17 Thread Mark Rotteveel
On 16-05-2022 21:00, Adriano dos Santos Fernandes wrote: On 16/05/2022 12:07, Mark Rotteveel wrote: On 16-05-2022 16:50, Mark Rotteveel wrote: I was running some tests against Firebird-5.0.0.494-0_x64 (latest snapshot, from last Saturday), and I notice that I get incorrect string right truncati

Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-16 Thread Adriano dos Santos Fernandes
On 16/05/2022 12:07, Mark Rotteveel wrote: > On 16-05-2022 16:50, Mark Rotteveel wrote: >> I was running some tests against Firebird-5.0.0.494-0_x64 (latest >> snapshot, from last Saturday), and I notice that I get incorrect >> string right truncation errors with CHAR/VARCHAR. >> >> I currently can

Re: [Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-16 Thread Mark Rotteveel
On 16-05-2022 16:50, Mark Rotteveel wrote: I was running some tests against Firebird-5.0.0.494-0_x64 (latest snapshot, from last Saturday), and I notice that I get incorrect string right truncation errors with CHAR/VARCHAR. I currently cannot dive deeper into it, but as a datapoint, the error

[Firebird-devel] Incorrect string right truncation errors in Firebird 5

2022-05-16 Thread Mark Rotteveel
I was running some tests against Firebird-5.0.0.494-0_x64 (latest snapshot, from last Saturday), and I notice that I get incorrect string right truncation errors with CHAR/VARCHAR. I currently cannot dive deeper into it, but as a datapoint, the error does not occur with Firebird-5.0.0.488-0_x6