aboutsummaryrefslogtreecommitdiff
path: root/lib/sql/db.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2025-01-17 20:48:43 +0100
committerSébastien Dailly <sebastien@dailly.me>2025-01-22 12:22:26 +0100
commit8e012f4804ecf1665819e761283120a3c0e73643 (patch)
treec168efe3e1f0edf5e45695c643e62b3e5447be37 /lib/sql/db.ml
parentbf2af26d896bb499f2c312a4f1ecd3210e2d7780 (diff)
Switched from OUnit to alcotest
Diffstat (limited to 'lib/sql/db.ml')
-rw-r--r--lib/sql/db.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sql/db.ml b/lib/sql/db.ml
index 0f06f15..f1aee8c 100644
--- a/lib/sql/db.ml
+++ b/lib/sql/db.ml
@@ -16,7 +16,7 @@ let reset = T.reset
let insert_header = Header.insert_header
let query_headers = Header.query_headers
-let with_db : string -> (Sqlite3.db -> unit T.result) -> unit T.result =
+let with_db : string -> (Sqlite3.db -> 'b T.result) -> 'b T.result =
fun filename f ->
let db = Sqlite3.db_open filename in