Re: GQB bug - Segfault in 'Join' tab

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Luis Ochoa <ziul1979(at)gmail(dot)com>, pgadmin-hackers(at)postgresql(dot)org, "Dickson S(dot) Guedes" <guedes(at)cresoltec(dot)com(dot)br>
Subject: Re: GQB bug - Segfault in 'Join' tab
Date: 2009-01-16 18:16:10
Message-ID: 4970CEEA.1090903@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Luis/Dave,

In my spare time, I checked for the solution for this segfault.

Please find the attached the patch.
I don't know - how could I miss to call the gqbGridJoinTable's
removeJoins function from OnMenuTableDelete function. :(
I have called the same function from OnKeyDown for keyCode is equal to
WXK_DELETE.

Sorry for introducing this kind of bug. I am really feeling bad for this.

--
Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com

Attachment Content-Type Size
JoinTableSegFault_v1.patch text/x-diff 437 bytes

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2009-01-16 19:09:46 SVN Commit by dpage: r7561 - trunk/pgadmin3/pgadmin/gqb
Previous Message Dave Page 2009-01-16 15:39:14 Re: GQB bug - Segfault in 'Join' tab