# \[ANN\] OCaml-MariaDB 0.10.0

**URL:** <https://discuss.ocaml.org/t/ann-ocaml-mariadb-0-10-0/1209>\
**Category:** Community\
**Tags:** announce\
**Created:** [November 29, 2017, 8:08pm UTC](https://discuss.ocaml.org/t/ann-ocaml-mariadb-0-10-0/1209 "2017-11-29T20:08:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrenth](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/andrenth/32/546_2.png) [@andrenth](https://discuss.ocaml.org/u/andrenth)\
**Post date:** [November 29, 2017, 8:08pm UTC](https://discuss.ocaml.org/t/ann-ocaml-mariadb-0-10-0/1209/1 "2017-11-29T20:08:39Z")

</div>

Hi

Yet another OCaml-MariaDB release… Petter Urkedal noticed a design flaw where after executing a statement that doesn’t return rows (i.e. SELECT, INSERT, UPDATE), it was impossible to access the execution result, so there was no way to call functions like `affected_rows`.

This release fixes that by changing `Stmt.execute` to always return a `Res.t`.

Cheers,  
Andre
