fix(dump): correct DI wiring, config types, and runtime version query

This commit is contained in:
haylan committed 2026-09-14 23:01:16 +02:00
1 parent 59e48c8f21
commit 05e1d0eeb9
4 files changed
+40 -32

No files matched your search

+4 -1
View File
@@ -40,6 +40,9 @@ class DumpBinaryLocator
private function isMariaDb(): bool
{
return MySqlVariant::isMariaDb($this->connection->getServerVersion());
// Connection::getServerVersion() is private in the DBAL version this
// repo pins against — SELECT VERSION() is the stable public way to get
// the same string.
return MySqlVariant::isMariaDb((string) $this->connection->fetchOne('SELECT VERSION()'));
}
}