X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fdaemons%2Fwhelp%2FsearchEngine.ml;h=533e9df120a5261252d0503c3bb18fec3a8fdb34;hb=15c68b7390bae4e2d228056378f882764812b090;hp=dd3c8f2c42ba3b4db31bd176c1c373af6c88544e;hpb=8e86a0df58222538a2ced30ceb6290007ef389ec;p=helm.git diff --git a/helm/software/daemons/whelp/searchEngine.ml b/helm/software/daemons/whelp/searchEngine.ml index dd3c8f2c4..533e9df12 100644 --- a/helm/software/daemons/whelp/searchEngine.ml +++ b/helm/software/daemons/whelp/searchEngine.ml @@ -507,11 +507,10 @@ let _ = flush stdout; Unix.putenv "http_proxy" ""; let dbd () = - HMysql.quick_connect - ~host:(Helm_registry.get "db.host") - ~database:(Helm_registry.get "db.database") - ~user:(Helm_registry.get "db.user") - () + let dbd = LibraryDb.instance () in + MetadataTypes.ownerize_tables "searchEngine"; + LibraryDb.create_owner_environment (); + dbd in restore_environment (); read_notation ();