From b8e6c1f8d04e9da1161a959bbd9ca2b945f5cab2 Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Mon, 9 Jul 2007 13:01:25 +0000 Subject: [PATCH] tassi: ported to the new DB architecture. since the 'user' db is mandatory, a fake one should be provided --- helm/software/daemons/whelp/searchEngine.ml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helm/software/daemons/whelp/searchEngine.ml b/helm/software/daemons/whelp/searchEngine.ml index f2ec31ac1..533e9df12 100644 --- a/helm/software/daemons/whelp/searchEngine.ml +++ b/helm/software/daemons/whelp/searchEngine.ml @@ -507,8 +507,10 @@ let _ = flush stdout; Unix.putenv "http_proxy" ""; let dbd () = - let dbspec = LibraryDb.parse_dbd_conf () in - HSql.quick_connect dbspec + let dbd = LibraryDb.instance () in + MetadataTypes.ownerize_tables "searchEngine"; + LibraryDb.create_owner_environment (); + dbd in restore_environment (); read_notation (); -- 2.39.2