pgAdmin III commit: Check the number of rows inserted in frmEditGrid - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Check the number of rows inserted in frmEditGrid
Date
Msg-id 201009021554.o82FsuOK025652@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Check the number of rows inserted in frmEditGrid

A previous commit (6b3b661244455951fccbed7895aa22fa7c2ed2a2) modified the
return value of ExecuteSet from null to an empty pgSet when the query failed.
So, we have to check the number of rows inserted to make sure the INSERT was
successful.

Report from Sid and Erwin Brandstetter.

Branch
------
REL-1_12_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=b3b0c399c50ae6773f7176a9af448fc42914ff05

Modified Files
--------------
pgadmin/frm/frmEditGrid.cpp |   65 ++++++++++++++++++++++--------------------
1 files changed, 34 insertions(+), 31 deletions(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Problem with insert - 1.12.0 RC1
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Check the number of rows inserted in frmEditGrid