Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: JoinTableSegFault_v1.patch
Description: text/x-diff (436 bytes)

In response to

Responses

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group