2002-01-28 14:21 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
For example:
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
LoadFromText()
|
||||
|
||||
2002-01-28 21:30 UTC+0100 Patrick Mast <email@patrickmast.com>
|
||||
* contrib/mysql/tmysql
|
||||
+ Added DateTime field
|
||||
* Added more info on Alert message for Unknown type
|
||||
* Modified ClipValue2SQL() to process empty strings
|
||||
|
||||
@@ -530,15 +530,19 @@ static void hb_dbfGetMemo( DBFAREAP pArea, USHORT uiIndex, PHB_ITEM pItem )
|
||||
HB_TRACE(HB_TR_DEBUG, ("hb_dbfGetMemo(%p, %hu, %p)", pArea, uiIndex, pItem));
|
||||
|
||||
ulSize = hb_dbfGetMemoLen( pArea, uiIndex );
|
||||
|
||||
pBuffer = ( BYTE * ) hb_xgrab( ulSize + 1 );
|
||||
if( ulSize > 0 )
|
||||
{
|
||||
pBuffer = ( BYTE * ) hb_xgrab( ulSize + 1 );
|
||||
ulBlock = hb_dbfGetMemoBlock( pArea, uiIndex );
|
||||
hb_fsSeek( pArea->hMemoFile, ulBlock * DBT_BLOCKSIZE, FS_SET );
|
||||
hb_fsReadLarge( pArea->hMemoFile, pBuffer, ulSize );
|
||||
hb_itemPutCPtr( pItem, ( char * ) pBuffer, ulSize );
|
||||
hb_itemSetCMemo( pItem );
|
||||
}
|
||||
else
|
||||
*pBuffer = '\0';
|
||||
|
||||
hb_itemPutCPtr( pItem, ( char * ) pBuffer, ulSize );
|
||||
hb_itemSetCMemo( pItem );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user