exception in TZMariaDBBatchDMLPreparedStatement

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
dcoun
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 16.09.2022, 08:44

exception in TZMariaDBBatchDMLPreparedStatement

Post by dcoun »

I am using the last 8.0-patches from Github for zeos (https://github.com/marsupilami79/zeoslib)

I am getting exception in the following zeos code in a connection to a mariadb database from a TRestBatch in mormot2:
File ZDbcMySqlStatement, line 3201
(in a gist as cloudflare does not allow to post it)
https://gist.github.com/dkounal/cede7aa ... 3a600d1e9a

The above is called by mormot.db.sql.zeos line 1085 TZeosArrayBinding.Create(aStatement: TSqlDBZeosStatement) called by TSqlDBZeosStatement.ExecutePrepared for a Trestbatch

The problem above seems to be that Bind^.indicators is null when exception happens with ParameterIndex=0
Is there a way to overcome it?
Thank you in advance
dcoun
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 16.09.2022, 08:44

Re: exception in TZMariaDBBatchDMLPreparedStatement

Post by dcoun »

I updated the libmariadb.dll to latest version from here (https://dlm.mariadb.com/browse/c_connector/) and I can not reproduce it for the moment.
So, I will report back if it continues
Post Reply