From 76ec6b95c6f462f7fdedf0bc87354fb874ef4a46 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Fri, 18 Jul 2008 08:30:09 +0000 Subject: [PATCH] exception inside regex callback not re-raised if equal to sys.break --- helm/software/components/hmysql/hSqlite3.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ;; -- 2.39.2