Fix refresh method

This commit is contained in:
Marco Aurelio
2021-04-01 16:00:25 -03:00
parent 8a8575609a
commit 35e2d76d79
2 changed files with 6 additions and 1 deletions

View File

@@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2021-04-01 15:55 UTC-0300 Marco Aurelio V (marcoprodata/at/gmail.com)
* contrib/hbpgsql/tpostgre.prg
! corrected buggy in refresh method when execute commands to change
struct
2021-03-31 23:43 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* contrib/hbpgsql/postgres.c
! guard PQEXECPARAMS() wrapper from generating unrecoverable error

View File

@@ -697,7 +697,7 @@ METHOD Refresh( lQuery, lMeta ) CLASS TPQquery
ENDIF
ELSE
IF ( ::lError := ::nResultStatus == PGRES_COMMAND_OK )
IF ( ::lError := ::nResultStatus != PGRES_COMMAND_OK )
::cError := ""
::rows := Val( PQcmdTuples( res ) )
ELSE