Page MenuHomePhabricator

Give ConpherenceThreadQuery a primary table alias
ClosedPublic

Authored by epriestley on Jun 8 2016, 2:37 PM.
Tags
None
Referenced Files
F14056874: D16080.id38690.diff
Sat, Nov 16, 10:58 PM
F14035448: D16080.diff
Sun, Nov 10, 6:02 AM
F14011683: D16080.id38690.diff
Fri, Nov 1, 4:30 AM
F14011434: D16080.diff
Fri, Nov 1, 12:33 AM
F13955244: D16080.id38689.diff
Oct 14 2024, 12:40 AM
Unknown Object (File)
Oct 11 2024, 12:07 PM
Unknown Object (File)
Oct 11 2024, 8:25 AM
Unknown Object (File)
Oct 5 2024, 4:17 AM
Subscribers
None

Details

Summary

Fixes T11113. On the 2nd+ page, we could end up with an ambiguous id WHERE clause because we don't define a primary table alias on this query. Define one.

Test Plan

Changed SearchEngine to return pages of size 5, searched for my threads, toggled to second page, no exception.

Used DarkConsole to examine that second-page query, saw that it had thread.id explicitly instead of id implicitly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Give ConpherenceThreadQuery a primary table alias.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 8 2016, 2:37 PM
This revision was automatically updated to reflect the committed changes.