On Fri, 29 Jan 2010, Mindaugas Kavaliauskas wrote: Hi,
> dru...@users.sourceforge.net wrote: > >2010-01-28 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > > * harbour/src/rdd/dbfcdx/dbfcdx1.c > > + enabled automatic template order setting in Harbour SIXCDX RDD using > > the same method as SIX3 SIXCDX RDD seems to use: by checking leading > > character of key expression for: "sxChar(", "sxDate(", "sxNum(" and > > "sxLog(" > I'm not a good index locking and dbfcdx driver internals guru, but > new code looks like a little buggy. > dbfcdx1.c line 8414 has > hb_cdxIndexLockWrite( pTag->pIndex ); > but line 8437 > hb_cdxIndexUnLockWrite( pTag->pIndex ); > is protected by line 8434 > if( pKey ) > I guess if pKey == NULL index remains locked! > The same for lines 8465 and 8496. Yes. My fault. Thank you very much for checking it. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour