Page MenuHomePhabricator

Fix a fulltext search issue where finding token length and stopwords could fail
ClosedPublic

Authored by epriestley on Apr 13 2017, 2:20 AM.
Tags
None
Referenced Files
F17900113: D17673.id.diff
Tue, Jul 29, 8:56 AM
F17869624: D17673.diff
Mon, Jul 28, 11:52 AM
Unknown Object (File)
Jun 20 2025, 8:33 AM
Unknown Object (File)
Jun 19 2025, 11:32 AM
Unknown Object (File)
Apr 25 2025, 9:38 AM
Unknown Object (File)
Apr 18 2025, 7:18 AM
Unknown Object (File)
Apr 17 2025, 10:16 AM
Unknown Object (File)
Mar 31 2025, 5:25 PM
Subscribers
None
Tokens
"Pirate Logo" token, awarded by epriestley.

Details

Summary

Ref T12137. If a database is missing the InnoDB or MyISAM table engines, the big combined query to get both will fail.

Instead, try InnoDB first and then MyISAM.

(I have both engines locally so this worked until I deployed it.)

Test Plan

Faked an InnoDB error like secure, got a MyISAM result.

Diff Detail

Repository
rP Phabricator
Branch
search1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16435
Build 21870: Run Core Tests
Build 21869: arc lint + arc unit