Author: dpage
Date: 2006-03-13 09:48:13 +0000 (Mon, 13 Mar 2006)
New Revision: 5052
Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5052&view=rev
Log:
When only one row of EXPLAIN output is returned by the server wxString avoids copying itself which can result in the
samecopy of the string being passed to the query grid and the explain graphics code, the latter of which can modify it.
Thispatch forces a copy of the string, thus preventing the grid from showing corrupted data. Extensive bug tracking by
myself& Edward Di Geronimo Jr, solution finally found by Ed.
Modified:
trunk/pgadmin3/src/frm/frmQuery.cpp