2015-02-21 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rdd/delim1.c
  * src/rdd/sdf1.c
    ! disabled code which allows to delete just added record.
      It was not Cl*pper compatible and caused bad side effects
      in COPY TO ... DELIM | SDF - deleted records were nor
      copied
This commit is contained in:
Przemysław Czerpak
2015-02-21 14:34:17 +01:00
parent c8a04734fd
commit fff0da51ab
3 changed files with 18 additions and 0 deletions

View File

@@ -10,6 +10,14 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-02-21 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/delim1.c
* src/rdd/sdf1.c
! disabled code which allows to delete just added record.
It was not Cl*pper compatible and caused bad side effects
in COPY TO ... DELIM | SDF - deleted records were nor
copied
2015-02-20 11:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/bio.c
* contrib/hbssl/err.c

View File

@@ -538,6 +538,10 @@ static HB_ERRCODE hb_delimDeleteRec( DELIMAREAP pArea )
{
HB_TRACE( HB_TR_DEBUG, ( "hb_delimDeleteRec(%p)", pArea ) );
HB_SYMBOL_UNUSED( pArea );
/* It's not Cl*pper compatible so I had to disable it [druzus] */
#if 0
if( pArea->fRecordChanged )
{
pArea->ulRecCount--;
@@ -545,6 +549,7 @@ static HB_ERRCODE hb_delimDeleteRec( DELIMAREAP pArea )
pArea->fPositioned = pArea->fRecordChanged = HB_FALSE;
hb_delimClearRecordBuffer( pArea );
}
#endif
return HB_SUCCESS;
}

View File

@@ -351,6 +351,10 @@ static HB_ERRCODE hb_sdfDeleteRec( SDFAREAP pArea )
{
HB_TRACE( HB_TR_DEBUG, ( "hb_sdfDeleteRec(%p)", pArea ) );
HB_SYMBOL_UNUSED( pArea );
/* It's not Cl*pper compatible so I had to disable it [druzus] */
#if 0
if( pArea->fRecordChanged )
{
pArea->ulRecCount--;
@@ -358,6 +362,7 @@ static HB_ERRCODE hb_sdfDeleteRec( SDFAREAP pArea )
pArea->fPositioned = pArea->fRecordChanged = HB_FALSE;
hb_sdfClearRecordBuffer( pArea );
}
#endif
return HB_SUCCESS;
}