Hi all,
me again - I found the error.....
I delete a line in the database with a malformed request - so the next ReqID was calculated wrong because this is done on the number of entries ( not such a good idea I think, it prevents from cleaning up the DB partialy )
I'm sorry but which version do you use? All versions 0.9.1.2 and later have a changed algorithm to avoid such things. These version determine the last entry in the table and calculate the next serial from this object.
The serial is calculated this way:
1. load object 2. shift right the serial with the module_shift (usually 8 bit) 3. take the serial without the module identifier and add one 4. shift left the serial and add the module_id again
32-bit serial: 24 bit serial + 8 bit module_id
take the last item
shift 8 bits right
24 bit serial + 1
shift 8 bits left
add the module id
new 32 bit serialThe following systems have no problem with this error:
0.9.1.2 0.9.1.3 CVS HEAD
Michael
P.S. BTW I plan to publish 0.9.1.4 on the weekend and this will work too. -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
