Re: segfault when disconnecting from db with server side prepare

Поиск
Список
Период
Сортировка
От Scot Loach
Тема Re: segfault when disconnecting from db with server side prepare
Дата
Msg-id A8535F8D62F3644997E91F4F66E341FC1BB2F3@exchange.sandvine.com
обсуждение исходный текст
Ответ на segfault when disconnecting from db with server side prepare  ("Scot Loach" <sloach@sandvine.com>)
Список pgsql-odbc
I took a closer look at the CVS and it appears that this is in fact already fixed, I guess I need to update my CVS.

Thanks anyway.

scot.


-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk]
Sent: Monday, September 20, 2004 3:39 AM
To: Scot Loach; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] segfault when disconnecting from db with server side
prepare




> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Scot Loach
> Sent: 19 September 2004 15:29
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] segfault when disconnecting from db with
> server side prepare
>
> I think the proper way to fix this is to simply add a check
> for a null pointer in the SC_set_prepared function, but I
> wanted to ask here first since I don't know if this will have
> any unforseen consequences.

Sounds fine to me - it's not like you would ever intentionally want conn
== null in there.

Can you supply a patch?

Regards, Dave

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Karol Szkudlarek
Дата:
Сообщение: SQLDescribeCol before SQLExcecute call problem (fwd)
Следующее
От: "Scot Loach"
Дата:
Сообщение: stable version of psqlodbc?