[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Configured without bdb but tries to load libsvn_fs_base anyway

From: Jacek Nitkiewicz <kcestay_at_poczta.onet.pl>
Date: 2006-02-11 06:28:17 CET

Hi All

Does it make any sense to define filesystem module "base" in fs-loader.c
if subversion is configured not to use berkeley db?

It leads to problems when you have older libs installed because e.g.
`svnadmin h' tries to load the old libsvn_fs_base and just prints:

Mismatched FS module version for 'bdb': found 1.3.0, expected 1.1.4

The following patch seems to solve the problem. Maybe you could
consider applying it in the next version?

--- fs-loader.c.orig 2006-02-11 04:14:58.000000000 +0100
+++ fs-loader.c 2006-02-11 04:20:34.000000000 +0100
@@ -58,12 +58,12 @@
   const char *fsap_name;
   fs_init_func_t initfunc;
 } fs_modules[] = {
+#ifdef SVN_LIBSVN_FS_LINKS_FS_BASE
   {
     SVN_FS_TYPE_BDB, "base",
-#ifdef SVN_LIBSVN_FS_LINKS_FS_BASE
     svn_fs_base__init
-#endif
   },
+#endif

   {
     SVN_FS_TYPE_FSFS, "fs",

Thanks,
Jacek

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 11 06:25:44 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.