Andre Nathan

Results 39 comments of Andre Nathan

Hello I don't currently have the resources to work on supporting non-prepared statements, but I would gladly accept a PR implementing them.

Here they are [mariadb-bin.000001.zip](https://github.com/blackbeam/mysql_async/files/8545239/mariadb-bin.000001.zip) [mariadb-bin.000002.zip](https://github.com/blackbeam/mysql_async/files/8545238/mariadb-bin.000002.zip)

Yeah, I’ve just checked and the server is configured with `binlog_checksum = CRC32`. The Go `canal` package seems to identify these fake events [by checking if the header position is...

This seems to have worked, though it seems weird to me because the stripped-off bytes don't match the result from `event.calc_checksum()`: ```rust use futures_util::StreamExt; use mysql_async::{ binlog::events::{BinlogEventFooter, EventData}, BinlogRequest, Conn,...

Do you think this workaround makes sense? I'm not sure if the calculated checksums are really supposed to match with extra bytes after the file name.

I've tried replacing MariaDB with MySQL, and in that setup the extra bytes do not appear, even with `binlog_checksum = CRC32`. In MySQL, `event.fde().footer().get_checksum_alg()` returns `BinlogChecksumAlg::BINLOG_CHECKSUM_ALG_OFF`, while in MariaDB it...

Hi This is not correct. OCaml-MariaDB supports MariaDB's two connectors: 1) MariaDB C/Connector (libmariadb-dev): link with `-lmariadb` and include `mariadb/mysql.h` 2) MaraDB's libmysqlclient (libmariadbclient-dev): link with `-lmysqlclient` and include `mysql/mysql.h`...

Doesn't the MariaDB brew package come with a `mysql_config`?

Hi I agree, this and your idea of selectable behavior in #4 are nice suggestions. Currently I don't have the necessary time to work on stdint, but if you want...

For the record, the original implementation of Uint128 in the old ocaml-uint library was in pure OCaml. The code is still up in the old repository: https://github.com/andrenth/ocaml-uint/blob/master/lib/uint128.ml