+ contrib/rddads/adsx.c
+ added implementation of local indexing support for ADS driver.
Local indexing is used in case server can not do index
creation, for example: index key depends on relation child area
fields, index key uses user defined functions, index is created
using codeblock, but not expression, etc.
; This code implements no update index! Partial index update could
also be implemented, but I didn't have a need for this. Besides
that partial index implementation will be a little more
complicated than in other RDD. Database update operations are
not done in a single goCold() method. So, index update should
be called, from many methods: append(), putValue(), delete(),
recall(), etc., or ADS RDD structure should be changed to
support real goCold(). For implementation of partial index,
I'd suggest to use tree index (instead of a simple sorted array
and binary search). B-tree code could be found in
contrib/rddsql/sqlmix.c.
; Please check makefiles, and other compilers, platforms.
20 lines
278 B
Makefile
20 lines
278 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
LIBNAME = $(LIBPREF)rddads
|
|
|
|
LIB_PATH = $(LIB_DIR)$(LIBNAME)$(LIBEXT)
|
|
|
|
PRG_HEADERS = \
|
|
ads.ch \
|
|
|
|
LIB_OBJS = \
|
|
$(OBJ_DIR)ads1$(OBJEXT) \
|
|
$(OBJ_DIR)adsfunc$(OBJEXT) \
|
|
$(OBJ_DIR)adsmgmnt$(OBJEXT) \
|
|
$(OBJ_DIR)adsx$(OBJEXT) \
|
|
|
|
all: \
|
|
$(LIB_PATH) \
|