Обсуждение: Fixed crash in execution dialog

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

Fixed crash in execution dialog

От
Akshay Joshi
Дата:
Hi Dave 

Today I have fixed one crash in execution dialog. The bug is reproducible by performing following steps:
  1. Connect to any database server.
  2. Right click on the database(big in size) and select maintenance.
  3. Start taking maintenance and click the cancel button.
  4. After clicking on cancel, immediately click on cross (x) button.
With the above steps Abort() function gets called twice on from cancel event and another from close event. Attached is the patch file. Please review it and if it looks good to you then can you please commit it. 

--
Akshay Joshi
Senior Software Engineer 
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246
Вложения

Re: Fixed crash in execution dialog

От
Dave Page
Дата:
Thanks, patch applied.

On Fri, Jul 26, 2013 at 8:53 AM, Akshay Joshi
<akshay.joshi@enterprisedb.com> wrote:
> Hi Dave
>
> Today I have fixed one crash in execution dialog. The bug is reproducible by
> performing following steps:
>
> Connect to any database server.
> Right click on the database(big in size) and select maintenance.
> Start taking maintenance and click the cancel button.
> After clicking on cancel, immediately click on cross (x) button.
>
> With the above steps Abort() function gets called twice on from cancel event
> and another from close event. Attached is the patch file. Please review it
> and if it looks good to you then can you please commit it.
>
> --
> Akshay Joshi
> Senior Software Engineer
> EnterpriseDB Corporation
> The Enterprise PostgreSQL Company
> Phone: +91 20-3058-9522
> Mobile: +91 976-788-8246
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company