Skip to content

v2.0

Compare
Choose a tag to compare
@slegrand45 slegrand45 released this 10 Feb 20:59
· 46 commits to master since this release

This new release introduces backward incompatible changes:

  • the old native_data type is now private, you have to use the new data_* and to_ocaml_* functions to convert the data between OCaml world and MySQL world. See the interface mp_data.mli: https://github.com/slegrand45/mysql_protocol/blob/b55bed86898ae537710e393883e85529bffb8134/src/mp_data.mli
  • get_result_set function has a new signature:
    val get_result_set : result -> Mp_result_set_packet.result_select
  • insert_id is now a tuple of type (Int64.t * Big_int.big_int). The Int64 value must be used when the auto_increment field is not a BIGINT UNSIGNED, otherwise the Big_int value must be used.

You can read these links to get a more detailed view of changes: