Skip to content

Commit

Permalink
rdd: mark dbAppend() C53 and Harbour extensions as such
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jan 23, 2025
1 parent 83173b8 commit 30d16b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/rdd/dbcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,17 @@ HB_FUNC( DBAPPEND )

if( pArea )
{
#if defined( HB_COMPAT_C53 ) && defined( HB_CLP_STRICT )
HB_BOOL bUnLockAll = hb_parldef( 1, HB_TRUE );
#else
HB_BOOL bUnLockAll = HB_TRUE;
#endif
HB_ERRCODE errCode;

/* Clipper clears NETERR flag before APPEND */
hb_rddSetNetErr( HB_FALSE );
errCode = SELF_APPEND( pArea, bUnLockAll );
hb_retl( errCode == HB_SUCCESS );
hb_retl( errCode == HB_SUCCESS ); /* HB_EXTENSION */
}
else
hb_errRT_DBCMD( EG_NOTABLE, EDBCMD_NOTABLE, NULL, HB_ERR_FUNCNAME );
Expand Down

0 comments on commit 30d16b7

Please sign in to comment.