2002-10-04 14:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>

This commit is contained in:
Alexander S.Kresin
2002-10-04 10:41:14 +00:00
parent 6af20863d6
commit 2f2f5bfa41
2 changed files with 9 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2002-10-04 14:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbcmd.c
! Bug fixed in COPY TO, APPEND FROM with aliased fields
2002-10-04 13:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbfntx/dbfntx1.c
! Few bugs fixed, related to OrdKeyNo() and OrdKeyCount()

View File

@@ -3477,7 +3477,11 @@ static BOOL IsFieldIn( char * fieldName, PHB_ITEM pFields )
for ( i=0; i<uiFields; i++ )
{
PHB_ITEM pField = pFields->item.asArray.value->pItems + i;
ptr = (char *)pField->item.asString.value;
ptr = strrchr( (char *)pField->item.asString.value,'>' );
if( ptr && ptr > (char *)pField->item.asString.value && *(ptr-1)=='-' )
ptr ++;
else
ptr = (char *)pField->item.asString.value;
lresult = TRUE;
for( j=0;*ptr;j++,ptr++ )
if( *(fieldName+j) != toupper(*ptr) )