Revision: 12802
          
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12802&view=rev
Author:   druzus
Date:     2009-10-31 15:42:51 +0000 (Sat, 31 Oct 2009)

Log Message:
-----------
2009-10-31 16:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/contrib/rddads/ads1.c
    ! In APPEND metohd generate RT error EG_APPENDLOCK only if ACE returns
      1024 error code (Append Lock Failed). In all other cases generate
      EG_CORRUPTION RTE.
      This modifications allows to early detect some serious problems like
      index corruptions in Mindaugas example with long keys in ADSCDX.
      Warning! Before ADS RDD generated EG_APPENDLOCK for each errors
      returned by AdsAppendRecord() and they were caught by default error
      handler (ERRORSYS) and silently converted to NetErr().
      Now only for 1024 ACE error which is real append lock error
      EG_APPENDLOCK is generated and all other errors will not be silently
      ignored so it's also possible that this modification will exploit
      some errors in concurrent accessed which are not reported by ADS/ACE
      as 1024 and maybe we will have to report them as EG_APPENDLOCK too.
      In such case please send information about such error codes here.

Modified Paths:
--------------
    trunk/harbour/ChangeLog
    trunk/harbour/contrib/rddads/ads1.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to