Files
harbour-core/contrib/rddads
Przemysław Czerpak 03e7b6da6e 2015-03-03 16:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/rddads/ads1.c
    ! use AdsSetLongLong() (if available) instead of AdsSetDouble() to not
      strip less significant bits from 64bit integer number during conversion
      to double
    * allow ADS to decide if writing into rowver and modtime fields is legal
      instead of generating our own arbitrary RTE

  * include/dbinfo.ch
  * src/rdd/workarea.c
    + added new dbInfo() action DBI_TRANSREC
      It indicates if area is destination table of currently processed COPY TO
      or APPEND FROM operation.

  * include/hbapirdd.h
  * src/rdd/wafunc.c
    + added new C function:
         HB_ERRCODE hb_dbTransCounters( LPDBTRANSINFO lpdbTransInfo );
      It copies field counters from source into destination table used
      in transfer operation.

  * src/rdd/dbcmd.c
  * src/rdd/wafunc.c
    + call DBI_TRANSREC to inform destination area that record transfer
      operation starts and stop. It allows destination RDD to change
      rules used for assign to automatically updated fields, i.e. unblock
      such operation.
    + call hb_dbTransCounters() to update counters in destination table
      after COPY TO operation

  * src/rdd/sdf1.c
  * src/rdd/delim1.c
    * clear AutoInc flag

  * src/rdd/dbf1.c
    + allow to set get and set counter for RowVer fields using DBS_COUNTER
      action
    * return HB_FAILURE for DBS_COUNTER and DBS_STEP if it's not supported
      by given field.
    + added support for DBI_TRANSREC - in case of DBF* RDDs it unblocks
      writing to automatically updated fields
2015-03-03 16:26:28 +01:00
..

RDD for Advantage Database Server
Alexander Kresin <alex@belacy.belgorod.su>


For using this RDD you need to have all required dynamic libraries
installed on your system.

For building executables don't forget to include rddads.hbc in your
hbmk2 project.

You need to include in your prg file the following lines:

   REQUEST ADS

and then you can set default RDD using one of the following functions:

   rddSetDefault( "ADT" )
   rddSetDefault( "ADSNTX" )
   rddSetDefault( "ADSCDX" )
   rddSetDefault( "ADSVFP" )

You can also use:

   REQUEST ADT | ADSNTX | ADSCDX | ADSVFP

instead of REQUEST ADS.

for backward compatibility with old code it's possible to use also:
   rddSetDefault( "ADS" )
and then
   #include "ads.ch"
   SET FILETYPE TO NTX | CDX | ADT | VFP
command or AdsSetFileType() function to set table type (default is CDX)

By default RDD is tuned for remote server. To change this you may
use commands, defined in ads.ch:

  SET SERVER LOCAL

or function AdsSetServerType().