We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb072f commit cc588d4Copy full SHA for cc588d4
examples/blocking/blocking_stress_test.ml
@@ -19,7 +19,8 @@ let connect () =
19
20
let test () =
21
let dbh = connect () |> or_die "connect" in
22
- let mk_stmt () = M.prepare dbh "SELECT ?" |> or_die "prepare" in
+ (* without CAST result is typed as NULL for some reason *)
23
+ let mk_stmt () = M.prepare dbh "SELECT CAST(? AS BINARY)" |> or_die "prepare" in
24
let stmt = ref (mk_stmt ()) in
25
for _ = 1 to 100 do
26
let n = Random.int (1 lsl Random.int 8) in
0 commit comments