Re: slight problem with refdb 0.9.8-1 distribution

"Markus Hoenicka" <[email protected]> Wed, 4 Jul 2007 00:38:27 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Markus Hoenicka writes:
 > > note the *dump.sqlite* has a .2.
 > >
 > > in line 190  of refdb-init.in in the same folder we have
 > >     checkFile "<pkgdatadir>/sql/refdb.dump.sqlite" "read" \
 > >
 > > and the lack of the .2. is a problem for refdb-init
 > >
 > 
 > That's me being careless... however, the 0.9.9 prereleases use a  
 > different mechanism to create or update the main database. refdbd now  
 > has a maintenance mode that takes care of this stuff. Therefore the  
 > line above no longer exists in refdb-init. To the best of my knowledge  
 > the new mechanism does not show this problem, but I'll check again to  
 > make sure. I'll probably make a fixed version of the old refdb-init  
 > available on the web page for those who still use 0.9.8-1.
 > 

I should have checked the facts before drawing my
conclusions. Actually, the maintenance mode of refdbd was already
implemented in 0.9.8, and the lines that cause the problem in
refdb-init (only if you use sqlite3 btw) are simply leftovers from
previous versions. The proper fix is to delete lines 190 through 193
and re-run make in the scripts subdirectory. The bug had been fixed
with other changes in refdb-init.in about three months ago, so the
0.9.9 prereleases are not affected by this problem. I'll also add a
news item to the RefDB homepage that mentions this problem.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/