2000-10-10 14:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>

This commit is contained in:
Alexander S.Kresin
2000-10-10 10:56:46 +00:00
parent 52001a3df2
commit 0aab1805cb
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2000-10-10 14:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/workarea.c
* fixed bug, related to fields handling
( there was a bug report by David Thornley in harbourusers )
2000-10-10 12:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* contrib/mysql/mysql.c
* Fix in sqlConnect() for support of versions > 3.22.00

View File

@@ -204,8 +204,10 @@ ERRCODE hb_waAddField( AREAP pArea, LPDBFIELDINFO pFieldInfo )
/* Validate the name of field */
ulSize = strlen( ( char * ) pFieldInfo->atomName );
hb_strLTrim( ( char * ) pFieldInfo->atomName, &ulSize );
ulSize = hb_strRTrimLen( ( char * ) pFieldInfo->atomName, ulSize, TRUE );
if( !ulSize )
return FAILURE;
pFieldInfo->atomName[ulSize] = '\0';
pField = pArea->lpFields + pArea->uiFieldCount;
if( pArea->uiFieldCount > 0 )