]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql_interpreter/relation.ml
Debugging prints removed.
[helm.git] / helm / ocaml / mathql_interpreter / relation.ml
index 54f42a7e5b3f0d9350685412249e4970817bc366..ea4fb9cc3525061ff92a2bfd67fe82780e46f271 100644 (file)
@@ -55,7 +55,7 @@ let relation_ex inv rop path rset attl =
   let rset_list =  (* lista di singoletti:resource_set di un elemento *)
   (List.fold_left (fun acc (uri,l) ->
     let tv = pgresult_to_string (c#exec ("select id from registry where uri='" ^ uri ^ "'")) in
-    let qq = "select uri, context from t" ^ tv ^ " where prop_id='" ^ usek ^ "' order by uri asc" in
+    let qq = "select uri, position from t" ^ tv ^ " where prop_id='" ^ usek ^ "' order by uri asc" in
     let res = c#exec qq in
     (List.map
     (function