Hi,
Does sql_pvquery() clean up after itself?
The other query APIs return a result handle that you clean up with sql_result_free(), but sql_pvquery() doesn’t appear to return any handle, so is it self-collecting?
Cheers,
Ben
Hello,
On 08.03.18 09:03, Ben Hood wrote:
Hi,
Does sql_pvquery() clean up after itself?
The other query APIs return a result handle that you clean up with sql_result_free(), but sql_pvquery() doesn’t appear to return any handle, so is it self-collecting?
yes, the db result is cleaned up internally, the value being copied into variable before that.
Cheers, Daniel
On 9 Mar 2018, at 07:58, Daniel-Constantin Mierla miconda@gmail.com wrote: yes, the db result is cleaned up internally, the value being copied into variable before that.
Many thanks for the clarification.
Cheers,
Ben