I am using Delphi7, zeoslib, firebird 2.0 and stored procedure for getting reports in big commercial app. Problem is that after calling once stored procedure TZQuery nor TZReadOnlyQuery does not release procedure after close. Is there any way to do it?! If i try to change procedure in , exp. IBExpert i get error that stored procedure is in use as long as user does not exit app.
Is the session you ran the procedure from committed? As long as you don't issue a commit or close the connection, all locks are kept. (Unless you are using autocommit=true)
In IBexpert or Flamerobin procedure is executed normaly. But problem is with locks.
I do use autocommit=true but i still have problem. I have tried to commit or rollback but as long as i dont close connection procedure is locked.
I have read about commit retain, that zeos dos not do hard commit untill i close connection. And with commit or rollback transaction, stored procedure is locked.