Hi Max

>I think you are right. I just checked the code and it seems that the 
export function does not keep the same order as the original db, but it 
saves the objects by using the serial as >their prefix in the filesystem 
(from export-import.lib):
>
>   my $serial  = $object->getSerial ($datatype [0]);
>
>That means when the objects are re-read to be imported, the order of 
insertion is derived from the serials' sorting (when readdir is used on 
the different object's sub-directories).
>
>This is definitely the origin of the error.
>
>To fix that, we need to write a patch that adds, in front of the 
filename, the rowid  - this should naturally provide the same order in 
import and export, thus obtaining the same >relative rowid order (not the 
same rowid as that is an auto-increment field).


I have tried programming this patch to no avail. Any help would be 
appreciated.

Dave
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to