Closed cyberhuman closed 2 months ago
Since integers are 63-bit in ocaml, the following code does not work properly when trying to bind negative integers:
https://github.com/andrenth/ocaml-mariadb/blob/master/lib/bind.ml#L123
The effect is when trying to bind -1 to an integer placeholder, it takes the value 2147483647.
-1
ref #43
Since integers are 63-bit in ocaml, the following code does not work properly when trying to bind negative integers:
https://github.com/andrenth/ocaml-mariadb/blob/master/lib/bind.ml#L123
The effect is when trying to bind
-1
to an integer placeholder, it takes the value 2147483647.