emqx/apps
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 chore: bump app versions following last merge-back 2023-03-10 16:44:15 +03:00
emqx_authn chore: bump app versions following last merge-back 2023-03-10 16:44:15 +03:00
emqx_authz Merge remote-tracking branch 'origin/release-50' into 0308-merge-release-50-back-to-master 2023-03-08 16:46:45 +01:00
emqx_auto_subscribe docs: fix bad i18n files 2023-02-08 17:25:22 +01:00
emqx_bridge chore: bump app versions following last merge-back 2023-03-10 16:44:15 +03:00
emqx_conf fix(schema): binary string for default values 2023-02-21 09:09:51 +01:00
emqx_connector fix(mysql): ensure proper escaping in batch inserts 2023-03-10 18:42:04 +03:00
emqx_ctl chore: change 'emqx_ctl' usage to 'emqx ctl' 2023-02-22 13:57:55 +01:00
emqx_dashboard fix(dashboard): fix swagger spec generation 2023-02-23 22:09:36 +02:00
emqx_exhook fix(schema): binary string for default values 2023-02-21 09:09:51 +01:00
emqx_gateway Merge remote-tracking branch 'origin/release-50' into 0308-merge-release-50-back-to-master 2023-03-08 16:46:45 +01:00
emqx_machine Merge remote-tracking branch 'origin/release-50' into 0308-merge-release-50-back-to-master 2023-03-08 16:46:45 +01:00
emqx_management fix(emqx_management): ensure binary string for log_path 2023-03-01 07:45:36 +01:00
emqx_modules fix(dashboard): fix swagger spec generation 2023-02-23 22:09:36 +02:00
emqx_plugin_libs fix(mysql): ensure proper escaping in batch inserts 2023-03-10 18:42:04 +03:00
emqx_plugins fix(schema): binary string for default values 2023-02-21 09:09:51 +01:00
emqx_prometheus fix(schema): binary string for default values 2023-02-21 09:09:51 +01:00
emqx_psk ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_resource chore: bump app versions following last merge-back 2023-03-10 16:44:15 +03:00
emqx_retainer Merge pull request #9994 from sstrigler/EMQX-3688-emqx-mgmt 2023-02-22 14:30:36 +01:00
emqx_rule_engine fix: debug log for rulesql parse failed 2023-03-09 11:28:27 +08:00
emqx_slow_subs fix(schema): binary string for default values 2023-02-21 09:09:51 +01:00
emqx_statsd fix: set statsd flush_time_interval = max(flush_time_interval, sample_time_interval) 2023-03-03 22:24:00 +02:00