2012-10-23 10:37 UTC+0200 Viktor Szakats (harbour syenar.net)

* contrib/hbfbird/firebird.c
    ! fixed missing formatting/indenting in prev commit
    % simplified code
This commit is contained in:
Viktor Szakats
2012-10-23 08:38:11 +00:00
parent b44b6aa772
commit b0b40172b5
2 changed files with 7 additions and 9 deletions

View File

@@ -15,6 +15,11 @@
under different terms, please contact respective author(s).
The license applies to all entries newer than 2009-04-28.
*/
2012-10-23 10:37 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbfbird/firebird.c
! fixed missing formatting/indenting in prev commit
% simplified code
2012-10-23 07:15 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl)
* contrib/hbfbird/firebird.c
! correction in FBFETCH()

View File

@@ -482,15 +482,8 @@ HB_FUNC( FBFETCH )
/* TOFIX */
fetch_stat = isc_dsql_fetch( status, &stmt, dialect, sqlda );
if( fetch_stat != 100L )
{
hb_retnl( isc_sqlcode( status ) );
return;
}
else {
hb_retnl( -1 );
return ;
}
hb_retnl( fetch_stat == 100L ? isc_sqlcode( status ) : -1 );
return;
}
hb_retnl( 0 );