diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0ee99a8f96..c6407d4fb0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -7,6 +7,14 @@ For example: 2002-12-01 23:12 UTC+0100 Foo Bar */ + +2002-05-15 23:43 UTC-0800 Brian Hays + * contrib/rdd_ads/ads1.c + * Fixed adsSeek for non-ADS filter conditions. + If a filter is set that is not valid for ADS, we need to skip + off of any invalid records (IOW, filter at the Harbour level if ADS + can't because the filter has UDFs or PUBLICVAR references). + 2002-05-15 22:25 UTC-0300 Luiz Rafael Culik * contrib/mysql/mysql.c ! Fixed an bug on SQLFETCHR() when the select command is used with an empty table @@ -30,7 +38,7 @@ ANSI standard function. 2002-05-14 16:10 UTC+0100 Tomaz Zupan - * contrib/mysql/makefile renamed to Makefile. Needed to build + * contrib/mysql/makefile renamed to Makefile. Needed to build library on Linux. 2002-05-13 13:10 UTC-0300 Walter Negro @@ -86,8 +94,8 @@ +contrib/hgf/gtk/mainlgtk.c *contrib/hgf/gtk/Makefile Moved mainlgtk.c from source/vm to contrib/hgf/gtk and - updated Makefile to include it in library. - + updated Makefile to include it in library. + 2002-05-06 13:50 UTC-0400 David G. Holm ! source/compiler/harbour.c ! Commented out the parameter checking entries for QOUT and QQOUT, @@ -116,7 +124,7 @@ * contrib/libct/tests/Makefile * fix of a bug in RANGEREPL() and RANGEREM(): return string too long, reported by Guenther Steiner - + 2002-05-04 17:47 UTC-0300 Horacio Roldan * source\rdd\dbcmd.c @@ -137,31 +145,15 @@ + contrib/libct/color.prg + COLORTON() + NTOCOLOR() by Walter Negro - STANDARD(),ENHANCED(),UNSELECTED() by Viktor Szakats - pasted from CTMISC.PRG and removed there - + STANDARD(),ENHANCED(),UNSELECTED() by Viktor Szakats + pasted from CTMISC.PRG and removed there + + contrib/libct/screen1.c + SCREENATTR() by Walter Negro + contrib/libct/screen2.prg - SCREENMIX() by Viktor Szakats - * classes.c - Fixed function __CLSNEW. - Changed variable USHORT uiSize to ULONG ulSize - This fix random GPFs in function hb_clsDictRealloc by creating - classes. - -2001-07-23 21:29 UTC+0100 Viktor Szakats - - * source/rtl/tbrowse.prg - + TOFIX added, about missing AutoLite support (neede9:26 UTC+0300 Alexander Kresin + SCREENMIX() by Viktor Szakats + pasted from CTMISC.PRG and removed there + contrib/libct/alt/ctcolton.c original implementation of COLORTON() in C by Viktor Szakats diff --git a/harbour/contrib/rdd_ads/ads1.c b/harbour/contrib/rdd_ads/ads1.c index 942135bd45..c7e971fecd 100644 --- a/harbour/contrib/rdd_ads/ads1.c +++ b/harbour/contrib/rdd_ads/ads1.c @@ -575,6 +575,18 @@ static ERRCODE adsSeek( ADSAREAP pArea, BOOL bSoftSeek, PHB_ITEM pKey, BOOL bFin } AdsIsFound( pArea->hTable, (UNSIGNED16 *)&(pArea->fFound) ); hb_adsCheckBofEof( pArea ); + /* -----------------5/1/2002 3:04AM BH ------------------ + If a filter is set that is not valid for ADS, we need to skip + off of any invalid records (IOW, filter at the Harbour level if ADS can't + because the filter has UDFs or PUBLICVAR references). + We could avoid calling this if we had a static set to know if the current + filter is not valid for ADS. + --------------------------------------------------*/ + if( pArea->dbfi.itmCobExpr ) + { + return SUPER_SKIPFILTER( (AREAP)pArea, 1 ); + } + return SUCCESS; } @@ -726,7 +738,7 @@ static ERRCODE adsCreateFields( ADSAREAP pArea, PHB_ITEM pStruct ) switch( iData ) { case 'C': - if( strlen(szFieldType) == 1 || + if( strlen(szFieldType) == 1 || !hb_stricmp( szFieldType,"char" ) ) { pFieldInfo.uiType = HB_IT_STRING; @@ -755,7 +767,7 @@ static ERRCODE adsCreateFields( ADSAREAP pArea, PHB_ITEM pStruct ) break; case 'D': - if( strlen(szFieldType) == 1 || + if( strlen(szFieldType) == 1 || !hb_stricmp( szFieldType,"date" ) ) { pFieldInfo.uiType = HB_IT_DATE;