mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-25 01:01:53 -04:00
MariaDB is deprecating mysql-prefixed utility names (mysqldump, mysql) in favour of its own (mariadb-dump, mariadb). Add findDbCommand() to ZoneMinder::General that probes for the MariaDB-native binary first and falls back to the legacy name. Results are cached per-process. Update the three call sites in zmupdate.pl.in and zmcamtool.pl.in. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>