pgAdmin III commit: Fix for failed new connection in query tool

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Fix for failed new connection in query tool
Дата
Msg-id 201009071731.o87HVBmM088910@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Fix for failed new connection in query tool

When a user tries to open a new connection in the query tool, and that the new
connection fails, the conn variable still has the invalid connection handle.
And this prevents us from getting back to the previous older one. So, we need
to use a temporary variable to store the new (and perhaps invalid) connection
handle.

Report from Erwin Brandstetter.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=e7b20ea3f0dff2d5d9ff99fb3852f7732d58619c

Modified Files
--------------
pgadmin/frm/frmQuery.cpp |    6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)


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

Предыдущее
От: "pgAdmin Trac"
Дата:
Сообщение: Re: [pgAdmin III] #231: New connection in query tool crashes pgadmin
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin III commit: Fix for failed new connection in query tool