@@ -271,13 +271,14 @@ let ocaml_of_tbl_fields xs =
271271let  open_db_module = 
272272  [
273273    " let __t = Context.database_of __context in" 
274-   ; " let module DB = (val (Db_cache.get __t) : Db_interface.DB_ACCESS) in" 
274+   ; " let module DB = (val (Xapi_database.Db_cache.get __t) : \
275+      Xapi_database.Db_interface.DB_ACCESS) in"  
275276  ]
276277
277278let  db_action  api  : O.Module.t  = 
278279  let  api =  make_db_api api in 
279280  let  expr =  " expr" in 
280-   let  expr_arg =  O. Named  (expr, " Db_filter_types.expr" in 
281+   let  expr_arg =  O. Named  (expr, " Xapi_database. Db_filter_types.expr" in 
281282  let  get_refs_where  (obj  : obj ) = 
282283    let  tbl =  Escaping. escape_obj obj.DT. name in 
283284    let  body = 
@@ -526,13 +527,13 @@ let db_action api : O.Module.t =
526527      |  FromObject  GetAllRecords  ->
527528          String. concat " \n " 
528529            [
529-               " let expr' = Db_filter_types.True in" 
530+               " let expr' = Xapi_database. Db_filter_types.True in" 
530531            ; " get_records_where ~" ^  Gen_common. context ^  "  ~expr:expr'" 
531532            ]
532533      |  FromObject  GetAllRecordsWhere  ->
533534          String. concat " \n " 
534535            [
535-               " let expr' = Db_filter.expr_of_string expr in" 
536+               " let expr' = Xapi_database. Db_filter.expr_of_string expr in" 
536537            ; " get_records_where ~" ^  Gen_common. context ^  "  ~expr:expr'" 
537538            ]
538539      |  _  ->
@@ -577,7 +578,7 @@ let db_action api : O.Module.t =
577578  O.Module. make ~name: _db_action
578579    ~preamble: 
579580      [
580-         " open Db_cache_types" 
581+         " open Xapi_database. Db_cache_types" 
581582      ; " module D=Debug.Make(struct let name=\" db\"  end)" 
582583      ; " open D" 
583584      ]
0 commit comments