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,
sologging 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