Обсуждение: Re: memory leak of PQmakeEmptyPGresult?

Поиск
Список
Период
Сортировка

Re: memory leak of PQmakeEmptyPGresult?

От
Ann
Дата:


hi,Gaetano Mendola:
 
   you wrote:
 
>  Ann wrote:
>  I found the reason of this question and fixed the bug :))
>
> Why then don't you share it ?
 
   em ,because i make a stupid mistake in programming!! :((
 
   I made use of transactions to ensure database consistency, and then, i called PQexec() to begin,commit or rollback a transaction, but ignored clearing the PGresult pointer that was returned by PQexec()....... 
  I was afraid of others dissipating their energies in it,so, i declared i fixed the bug.
  Thank you to pay attention to my question.Thanks very much!!
 
 
  Regards
  Ann



Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!



Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!