Changeset 8220

Show
Ignore:
Timestamp:
03/10/10 09:12:14 (6 months ago)
Author:
dpage
Message:

Don't crash if debugging a null procedure. [Ashesh Vashi]

Location:
branches/REL-1_10_0_PATCHES/pgadmin3
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/REL-1_10_0_PATCHES/pgadmin3/CHANGELOG

    r8201 r8220  
    3737Date       Dev Ver     Change details 
    3838---------- --- ------  -------------- 
     392010-03-10 DP  1.10.3  Avoid a crash when debugging NULL procedures [Ashesh 
     40                       Vashi]. 
    39412010-03-04 GL  1.10.2  Correctly save the position of a pgFrame, per a report 
    4042                       from Andreas Laggner and Dan Halbert. 
  • branches/REL-1_10_0_PATCHES/pgadmin3/pgadmin/debugger/dlgDirectDbg.cpp

    r8187 r8220  
    742742 
    743743        // Don't bother telling the user that he aborted - he already knows! 
    744         if (strcmp(state, "57014")) 
     744        if (state != NULL && strcmp(state, "57014")) 
    745745            wxLogError( wxT( "%s\n" ), wxString(PQerrorMessage(m_conn->getConnection()), wxConvUTF8).c_str()); 
    746746        else