2002-04-24 09:04 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar>
* include/hbrddcdx.h
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/dbfcdx/dbfcdx1.h
* source/rdd/dbfcdx/dbfcdx2.h
+ multiple CDXs support for:
hb_cdxOrderListAdd, hb_cdxOrderListFocus, hb_cdxGoCold,
hb_cdxGoHot, hb_cdxGetTagByNumber, hb_cdxGetActiveTag,
DBOI_ORDERCOUNT, DBOI_UNIQUE, ordName, ordBagName.
! fixed a bug in: gotop, gobbotom, skip
+ begin of hb_cdxZap
+ added support for: DBOI_ISCOND, DBOI_ISDESC, DBOI_FILEHANDLE
+ added index locking routines
! fixed some structures definitions for gcc/vc/...
! fixed autopen bug on Linux
! fixed recno() while indexing
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -58,9 +58,9 @@
|
||||
#define LOCK_FILE 0x3FFFFFFFL
|
||||
#define MEMO_BLOCK 64
|
||||
#define CDX_MAX_KEY 240
|
||||
#define CDX_MAX_TAG_NAME_LEN 10
|
||||
#define CDX_BLOCK_SIZE 512
|
||||
*/
|
||||
#define CDX_MAX_TAG_NAME_LEN 10
|
||||
|
||||
#define CDX_INTERNAL_SPACE 500
|
||||
#define CDX_EXTERNAL_SPACE 488
|
||||
|
||||
@@ -133,8 +133,16 @@ static void hb_cdxSortAddExternal( LPSORTINFO pSort, USHORT Lvl, LONG Tag, LONG
|
||||
LPKEYINFO Value );
|
||||
static void hb_cdxSortAddInternal( LPSORTINFO pSort, USHORT Lvl, LONG Tag, LONG Link,
|
||||
LPKEYINFO Value );
|
||||
static LPCDXTAG hb_cdxGetActiveTag( LPCDXINDEX PIF );
|
||||
|
||||
/* static LPCDXTAG hb_cdxGetActiveTag( LPCDXINDEX PIF ); */
|
||||
static LPCDXTAG hb_cdxGetActiveTag( CDXAREAP pArea );
|
||||
static USHORT hb_cdxFindTag( CDXAREAP pArea, LPDBORDERINFO pOrderInfo );
|
||||
static LPCDXTAG hb_cdxGetTagByNumber(CDXAREAP pArea, USHORT uiTag );
|
||||
static PHB_ITEM hb_cdxKeyGetItem( LPKEYINFO pKey, PHB_ITEM pItem, USHORT uiType );
|
||||
|
||||
static USHORT hb_cdxIndexCheckVersion( LPCDXINDEX pIndex );
|
||||
static USHORT hb_cdxIndexUnLockRead( LPCDXINDEX pIndex, LPCDXTAG pTag );
|
||||
static USHORT hb_cdxIndexLockRead( LPCDXINDEX pIndex, LPCDXTAG pTag );
|
||||
static USHORT hb_cdxIndexLockWrite ( LPCDXINDEX pIndex, LPCDXTAG pTag );
|
||||
static USHORT hb_cdxIndexUnLockWrite ( LPCDXINDEX pIndex, LPCDXTAG pTag );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user