From: Enrico Tassi Date: Fri, 18 Jul 2008 08:30:09 +0000 (+0000) Subject: exception inside regex callback not re-raised if equal to sys.break X-Git-Tag: make_still_working~4915 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=76ec6b95c6f462f7fdedf0bc87354fb874ef4a46;p=helm.git exception inside regex callback not re-raised if equal to sys.break --- diff --git a/helm/software/components/hmysql/hSqlite3.ml b/helm/software/components/hmysql/hSqlite3.ml index efec9c2b9..707b482bc 100644 --- a/helm/software/components/hmysql/hSqlite3.ml +++ b/helm/software/components/hmysql/hSqlite3.ml @@ -118,7 +118,8 @@ let quick_connect else Sqlite3.Data.INT 0L | _ -> raise (Error "wrong types to 'REGEXP'") - with exn -> HLog.error (Printexc.to_string exn); raise exn); + with Sys.Break -> Sqlite3.Data.INT 0L + | exn -> HLog.error (Printexc.to_string exn); raise exn); Some db ;;