Página 1 de 1

Vida loga ao DBF !!!

Enviado: 17 Out 2014 11:08
por Itamar M. Lins Jr.
Que a FORÇA esteja nos DBF´s!
2014-10-17 14:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbrddcdx.h
* src/rdd/dbfcdx/dbfcdx1.c
+ added support for large index files over 4GB length.
These are slightly modified CDX indexes which stores index page numbers
instead of index page offsets inside index file. This trick increase
maximum index files size from 2^32 (4GB) to 2^41 (2TB). This index
format is enabled automatically when DB_DBFLOCK_HB64 is used. This is
the same behavior as in DBFNTX and DBFNSX for which I added support
for large indexes (up to 4TB) few years ago.
Warning: new CDX indexes are not backward compatible and cannot be
read by other systems or older [x]Harbour versions.
If you try to open new indexes using older [x]Harbour RDDs
then RTE "DBFCDX/1012 Corruption detected" is generated.
When current Harbour *DBFCDX/SIXCDX RDD open index file
then it automatically recognize type of index file so it
will work correctly with both versions without any problem.
In short words: People using DB_DBFLOCK_HB64 should remember
that after reindexing with new Harbour applications old ones
cannot read new CDX indexes.
; In next step I plan to add support for user defined page size in CDX
index files.

* doc/xhb-diff.txt
* added information about extended CDX format to section "NATIVE RDDs"

* src/rdd/dbfcdx/dbfcdx1.c
* src/rdd/dbfnsx/dbfnsx1.c
* src/rdd/dbfntx/dbfntx1.c
* disable record readahead buffer used during indexing when only
one record can be stored inside
! generate RTE when data cannot be read into record readahead buffer
during indexing

best regards
Przemek
Como dizia o Capitão Spock "fascinante", vida longa e prosperidade!!

Saudações,
Itamar M. Lins Jr.

Vida loga ao DBF !!!

Enviado: 17 Out 2014 13:29
por Pablo César
Obrigado Itamar por informar.

Ainda aguardo que o DBF seja capaz de armazenar em UNICODE.

Vida loga ao DBF !!!

Enviado: 17 Out 2014 14:42
por Itamar M. Lins Jr.
Uai!!
Não armazena ?

Saudações,
Itamar M. Lins Jr.

Vida loga ao DBF !!!

Enviado: 17 Out 2014 17:39
por Pablo César
Itamar M. Lins Jr. escreveu:Uai!!
Não armazena ?

Saudações,
Itamar M. Lins Jr.
Não, em UNICODE. :(

Vida loga ao DBF !!!

Enviado: 19 Out 2014 17:35
por Itamar M. Lins Jr.
Qual é a sua versão do Harbour ?
Tem como mostrar porque o Harbour não trabalha com DBF usando unicode(UTF) ?

Saudações,
Itamar M. Lins Jr.