]> matita.cs.unibo.it Git - helm.git/commitdiff
tassi: ported to the new DB architecture.
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 9 Jul 2007 13:01:25 +0000 (13:01 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 9 Jul 2007 13:01:25 +0000 (13:01 +0000)
since the 'user' db is mandatory, a fake one should be provided

daemons/whelp/searchEngine.ml

index f2ec31ac1c5a3ee9b0cbac78af774857680755dc..533e9df120a5261252d0503c3bb18fec3a8fdb34 100644 (file)
@@ -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 ();