We are facing a problem with Execute(), QueryArray() and QueryRow() methods from TMariaDBDataSource.
If the result has a big amount of data and the method is called again before the previous one has finished
processing, Xailer throws the error:
We are sending attached the test project. Just click rapidly and repeatedly the button and Xailer will throw theTMARIADBDATASOURCE:NEWERROR(615)
Erro XAILER/2014 Commands out of sync; you can't run this command now: MariaDB:SELECT * FROM teste
Argumentos: ()
error.
MySql and MariaDB documentation says it occurs when you have 2 result sets open at the same time and to
avoid it, it's necessary to call the mysql_free_result() method.
Doesn't Execute(), QueryArray() and QueryRow() methods call it?
It can be fixed?
Thank you,
André Corrêa