- calling
releaseConnection
inwithConnectionFromPool
to eliminate a memory leak
- replacing
malloc
withcalloc
to workaround a deficiency in theStorable
instance forData
(whereisNull
was not appropriately being set to0
) - moving calls to
malloc
/calloc
to sites where they could be accompanied by appropriate calls tofree
to avoid space leaks - amending
queryByPage
to return records in the appropriate order - amending
Data
'sStorable
instance to useODPI-C
'slib*
helper functions (that inter alia correctly setisNull
to0
when appropriate) - adding a 'withConnectionFromPool' function that calls
closeConnection
rather thanreleaseConnection
after performing the desired db action