From 9c67eded501cab6f8284d9afb3a3fcbeb8f8ec8b Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Thu, 19 Jul 2007 10:02:11 +0000 Subject: [PATCH] the cade was escaping the table name and not the uri --- helm/software/components/metadata/sqlStatements.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/software/components/metadata/sqlStatements.ml b/helm/software/components/metadata/sqlStatements.ml index 2164f5724..f96b877a4 100644 --- a/helm/software/components/metadata/sqlStatements.ml +++ b/helm/software/components/metadata/sqlStatements.ml @@ -213,9 +213,9 @@ let move_content (name1, tbl1) (name2, tbl2) buri dtype dbd = let direct_deps refObj uri dtype dbd = sprintf "SELECT * FROM %s WHERE source = \"%s\";" - (HSql.escape dtype dbd refObj) (UriManager.string_of_uri uri) + refObj (HSql.escape dtype dbd (UriManager.string_of_uri uri)) let inverse_deps refObj uri dtype dbd = sprintf "SELECT * FROM %s WHERE h_occurrence = \"%s\";" - (HSql.escape dtype dbd refObj) (UriManager.string_of_uri uri) + refObj (HSql.escape dtype dbd (UriManager.string_of_uri uri)) -- 2.39.2