emqx/apps/emqx_plugin_libs/test
Andrew Mayorov 0a7f6c7d03
fix(mysql): ensure proper escaping in batch inserts
Also hexencode non-utf8 binaries. This is essentially an heuristic.
We don't know column types in runtime, and there's no simple way
to find them out. Since we're already doing full binary scan during
escaping it should be cheap to bail out on non-utf8 strings and
hexencode them instead.

Also introduce separate function to highlight that this escaping
is MySQL-specific.
2023-03-10 18:42:04 +03:00
..
emqx_placeholder_SUITE.erl fix(mysql): ensure proper escaping in batch inserts 2023-03-10 18:42:04 +03:00
emqx_plugin_libs_rule_SUITE.erl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00