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
Branch
T15891 (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1894
Build 1894: arc lint + arc unit