Drew McArthur

Results 45 comments of Drew McArthur

@alu I don't know about interchangeable per se, but they should all be compatible with Rust's `String` type, yes.

here's another tidbit of helpful documentation: [13.3.4 The BLOB and TEXT Types](https://dev.mysql.com/doc/refman/8.4/en/blob.html) > `BLOB` values are treated as binary strings (byte strings). They have the `binary` character set and collation,...

@alvico you might be able to use my branch. just replace the version in your Cargo.toml to point at the branch for my pull request attached to this issue, i...

@eirnym oh good catch - my bandwidth is pretty low right now, so if you wanted to open a PR into my branch with those changes, or even just the...

Interesting, so running your example @AlphaKeks, I get ``` Failed to fetch `FooUuid`: error occurred while decoding column "bar": invalid length: expected 16 bytes, found 36 Failed to fetch `FooHyphenated`:...

so #3400 fixes the second test case (`Hyphenated`), but not the first. Looks like an issue with the `impl Decode for Uuid` block. changing it to this fixes the test...

Here is a slightly cleaner `impl` block; seems like the value is being stored as a `VARCHAR(32)` rather than `BINARY(16)`, which yields the wrong array of `u8`s with the previous...

what I still don't understand is why `encode` puts the `BINARY(16)` representation into the `buf`, but the value we get in `decode` isn't that same `buf`, but a utf8-encoded (decoded?)...

@Veykril is this something that got fixed or just was not reproducible? i'm getting around 40gb of memory usage on macOS, with an M2 mbp. 16gb of actual ram, so...

i think #16935 fixed my issue but i'll see if i can reproduce