mmottl / postgresql-ocaml

OCaml-bindings for the PostgreSQL database
Other
141 stars 23 forks source link

PQCancel returns 0 on error. Fixes #40. #41

Closed adept closed 4 years ago

adept commented 4 years ago

The fix is trivial (swapping branches of the if)

mmottl commented 4 years ago

Well spotted, thanks for the patch! I'll make a new release as soon as I've handled the latest other PRs.