SVN Commit by dpage: r5469 - in trunk/pgadmin3/src: base frm main

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r5469 - in trunk/pgadmin3/src: base frm main
Date: 2006-10-12 10:55:24
Message-ID: 200610121055.k9CAtOCC000968@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: dpage

Date: 2006-10-12 11:55:24 +0100 (Thu, 12 Oct 2006)

New Revision: 5469

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5469&view=rev

Log:
Fix some possible causes of crashes in the edit grid and query tools. Essentially, the logging code isn't thread-safe, so logging stuff in pgQueryThread is a bad idea. This does mean that calls to wxLogSql are a bad idea in threads.

Also, prevent the user initiating multiple simultaneous data refreshes in the Edit Grid by disabling the refresh button, menu option and shortcut whilst a refresh is occurring.

Modified:
trunk/pgadmin3/src/base/pgSetBase.cpp
trunk/pgadmin3/src/frm/frmEditGrid.cpp
trunk/pgadmin3/src/main/dlgClasses.cpp

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-10-12 11:14:47 SVN Commit by dpage: r5470 - trunk/pgadmin3
Previous Message svn 2006-10-12 09:53:12 SVN Commit by dpage: r5468 - trunk/pgadmin3/src/main