Page MenuHomePhorge

Fix check in PhabricatorMySQLSetupCheck:shouldUseMySQLSearchEngine()
ClosedPublic

Authored by aklapper on Sat, Apr 26, 20:34.

Details

Summary

Per PHPStan static code analysis, currently
Instanceof between PhabricatorSearchService and PhabricatorMySQLSearchHost will always evaluate to false.
Per discussion in the task and per testing, make the check work.

Closes T15891

Test Plan

Probably set up a Phorge instance with recent MariaDB/MySQL, and set up a Phorge instance with ancient DB versions (MySQL 5.6.3 or older; MariaDB 10.0 or older) not supporting FULLTEXT indexes for InnoDB tables?

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable