From: Ferruccio Guidi Date: Mon, 9 Jul 2007 13:01:25 +0000 (+0000) Subject: tassi: ported to the new DB architecture. X-Git-Tag: make_still_working~6211 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b8e6c1f8d04e9da1161a959bbd9ca2b945f5cab2;p=helm.git tassi: ported to the new DB architecture. since the 'user' db is mandatory, a fake one should be provided --- 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 ();