From: Enrico Tassi Date: Wed, 1 Jun 2005 14:40:03 +0000 (+0000) Subject: fix_escaping X-Git-Tag: PRE_INDEX_1~75 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=7d425434a70ed1eae2ef83ebff5adbbbeeaec099;p=helm.git fix_escaping --- diff --git a/helm/matita/matitaDb.ml b/helm/matita/matitaDb.ml index aef37a2d0..d4f5d01b1 100644 --- a/helm/matita/matitaDb.ml +++ b/helm/matita/matitaDb.ml @@ -138,7 +138,8 @@ let remove_uri uri = [obj_tbl;sort_tbl;rel_tbl;name_tbl;(*conclno_tbl;conclno_hyp_tbl*)count_tbl]; (* and now the debug job *) let dbg_q = - sprintf "SELECT source FROM %s WHERE h_occurrence LIKE '%s%%'" obj_tbl suri + sprintf "SELECT source FROM %s WHERE h_occurrence LIKE '%s%%'" obj_tbl + (Mysql.escape suri) in try let rc = Mysql.exec dbd dbg_q in