Skip to content

Conversation

paurkedal
Copy link
Collaborator

@paurkedal paurkedal commented Nov 4, 2024

This PR is based on #60, so we should merge that first.

@paurkedal paurkedal requested a review from ygrek as a code owner November 4, 2024 06:51
@ygrek ygrek removed their request for review November 24, 2024 19:06
This commit adds bindings for get_server_info, get_server_version,
get_host_info, and get_proto_info.
@paurkedal paurkedal merged commit 572396b into ocaml-community:master Apr 10, 2025
@paurkedal paurkedal deleted the server-properties branch April 10, 2025 09:19
paurkedal added a commit to paurkedal/opam-repository that referenced this pull request May 8, 2025
CHANGES:

  - The `mariadb_config` and `mysql_config` scripts are now used, if
    available, to discover MariaDB client library (ocaml-community/ocaml-mariadb#65 by Albert Peschar).
  - Added server-side properties `get_server_info`, `get_server_version`,
    `get_host_info` and `get_proto_info` (ocaml-community/ocaml-mariadb#62 by Petter A. Urkedal).
  - Avoid calling `mysql_stmt_free_result` if there is no result set, since
    this is not allowed by recent versions of the client library (by Petter
    A. Urkedal, fixes ocaml-community/ocaml-mariadb#64).
  - Avoid possibly blocking calls to `mysql_free_result` in the nonblocking
    implementation.  This was only an issue if a previous result set had not
    been consumed (ocaml-community/ocaml-mariadb#68 by Petter A. Urkedal, fixes ocaml-community/ocaml-mariadb#67).
  - Fix memory leak in non-blocking test suite (Petter A.  Urkedal, fixes
    ocaml-community/ocaml-mariadb#29).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant