X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2Fpattern.ml;h=b68baa9a4e4970880aac74dc6eb8057229c72072;hb=2ef44e8d1a908a08d31e6114c15898ae7dc8109e;hp=cc03b61b8dc3a8d33dc61783d72e166a3685e07f;hpb=3b401fbefb3830d4f3cdce189ac31559c0219a0d;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/pattern.ml b/helm/ocaml/mathql_interpreter/pattern.ml index cc03b61b8..b68baa9a4 100644 --- a/helm/ocaml/mathql_interpreter/pattern.ml +++ b/helm/ocaml/mathql_interpreter/pattern.ml @@ -33,8 +33,9 @@ open Eval;; let pattern_ex apreamble apattern afragid = let c = pgc () in - let r1 = helm_class_id "MathResource" in - let qq = "select att0 from t" ^ r1 ^ " where att0 " ^ (pattern_match apreamble apattern afragid) ^ " order by t" ^ r1 ^ ".att0 asc" in + (*let r1 = helm_class_id "MathResource" in*) + (*let qq = "select att0 from t" ^ r1 ^ " where att0 " ^ (pattern_match apreamble apattern afragid) ^ " order by t" ^ r1 ^ ".att0 asc" in*) + let qq = "select uri from registry where uri " ^ (pattern_match apreamble apattern afragid) ^ " order by registry.uri asc" in (*let _ = print_endline qq in*) let res = c#exec (qq)