From b442f18d6c5b8b9417e90d72a678eaa9bdacc7e4 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 --- daemons/whelp/searchEngine.ml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/daemons/whelp/searchEngine.ml b/daemons/whelp/searchEngine.ml index f2ec31ac1..533e9df12 100644 --- a/daemons/whelp/searchEngine.ml +++ b/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