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

This commit is contained in:
2026-09-14 23:01:16 +02:00
parent 59e48c8f21
commit 05e1d0eeb9
4 changed files with 40 additions and 32 deletions
+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()'));
}
}