I like MySQL and I Like ZEOS as well. They were working to me very good, but now i need a little bit mor sofistication
i have some questions about Zeos and MySQL stored Procs and Funcs
I'm setting CLIENT_MULTI_STATEMENTS=1 and i can run my stored procs on the ZQuery or ZReadOnlyQuery but after some consecutive calls the connections to server is lost...
I'm using the last Zeos LIB
Scenery:
i have a DataModule with a ZConnection. This component is initialized on the OnDataModuleCreate event.
On a form i have two ZReadOnlyQueries on a master detail relationship. The detail dataset is a Procedure like "call detail(:masterkey)". This procedure is executing an ordinary SQL command like
Code: Select all
select * from detail where masterkey = procparam
I run the program. After some navigation into the master DBGrid i get a error "MySQL lost the connection" or something like it... and after that i cant do anything else...
This is why after some browse on the Master DBGrid, the Detail procedure is called several times... i guess!
what i can do?
PS.: stored functions is working perfectly.. WITHOUT the CLIENT_MULTI_STATEMENTS=1 option setted