View Single Post

   
  #1 (permalink)  
Old 04-16-2008, 01:36 AM
Dave Page
 
Posts: n/a
Default Re: Some changes



> -----Original Message-----
> From: Ludek Finstrle [mailto:luf@pzkagis.cz]
> Sent: 02 December 2005 17:14
> To: Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Some changes
>
> > > Only comment in patch is little bit strenge.

>
> I'm sorry. I post only second part of my reviewing the patch.
>
> > Anyhoo, please let me know if you think it's good to apply

> when you've
> > taken a look at it - I'd appreciate the feedback on this one!

>
> It looks good to me except the comment. SQLFreeStmt do the freeing
> bind params same way as you implement in SQLCancel. This is better
> way.


If you look above my extra couple of lines, the code goes out of it's
way /not/ to use SQLFreeStmt when there are data_at_exec parameters. I'm
not entirely sure why, but someone obviously was! As it happens, I did
try modifying the code (by removing the data_at_exec check), however it
actually didn't clear the params; I continued to see the same crash.

> I try create first development snapshot yesterday. I didn't
> announce it.
> Do you agree I add this patch to the snapshot and re-release it
> with announcement here? So more people can test it.


By all means, please do.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote