From: Ferruccio Guidi Date: Mon, 9 Jul 2007 13:01:25 +0000 (+0000) Subject: tassi: ported to the new DB architecture. X-Git-Tag: 0.4.95@7852~362 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b442f18d6c5b8b9417e90d72a678eaa9bdacc7e4;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/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 ();