mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-28 04:11:06 -05:00

More often than not passing bytes to `txn.execute` is a bug (where we meant to pass a string) that just happens to work if `BYTEA_OUTPUT` is set to `ESCAPE`. However, this is a bit of a footgun so we want to instead error when this happens, and force using `bytearray` if we actually want to use bytes.