Interesting! Can you narrow it down to the exact record or column that causes the problem? I'll be happy to take a look if it can be replicated. I don't see that error on any of the databases I have access to.
MJFShark wrote: ↑14.11.2024, 12:22Can you narrow it down to the exact record or column that causes the problem?
I don't know how much you changed the buffer logic, but previously it was not possible. It was not one record, but the amount of data handled UNTIL a specific number of records... I remember changing the order by, adding new filtering before and the error always appeared at different cycles / records.
I'll see if I can pinpoint it this time but don't get your hopes up :)
Maybe to create a temp table and dump the data there... will run a round with the legal team if that is possible. Names of sequences shouldn't contain too much proprietary information after all.
Delphi 12.2, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
The underlying buffer logic hasn't really changed. Is the error consistently repeatable? Can you remove columns from the query until you figure out which one causes the issue? I also have debug code you can put inside the TZOracleResultSet.Next() that I used to debug the buffers (Oracle reports overflows in the indicator array and the DataLengths array so we can narrow it down to the column causing the problem.) Note that you can set the FIteration value to 1 to force a single record at a time (which should help you find the data causing the problem.)
> Maybe to create a temp table and dump the data there... will run a round with the legal team if that is possible.
I'd keep that as a "last resort" option. Let's try to pinpoint the error to a column and that may give us a clue what's going on. After that it should be possible to recreate it with pure "dummy" data (or at least let's hope lol.)