Page MenuHomePhabricator

[keyserver] Make mediaFromRow return a Promise
ClosedPublic

Authored by ashoat on Jul 13 2022, 9:24 AM.
Tags
None
Referenced Files
F2204344: D4520.id14552.diff
Sat, Jul 6, 3:57 PM
F2204342: D4520.id14439.diff
Sat, Jul 6, 3:57 PM
F2204341: D4520.id.diff
Sat, Jul 6, 3:57 PM
F2204337: D4520.id14439.diff
Sat, Jul 6, 3:56 PM
Unknown Object (File)
Sat, Jul 6, 10:41 AM
Unknown Object (File)
Mon, Jul 1, 1:43 PM
Unknown Object (File)
Sat, Jun 29, 5:49 AM
Unknown Object (File)
Wed, Jun 26, 2:25 AM

Details

Summary

In D4521 we end up needing to await getDBType() in the message-fetchers.js code because we need to parse the query results differently depending on whether it came from MySQL 5.7 or MariaDB 10.8.

Depends on D4519

Test Plan

Flow; tested in combination with next diffs

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/mariadb
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Not super qualified to review js

Same as D4519:

The change makes sense, but explaining the higher level motivation in the Summary section could be helpful

This revision is now accepted and ready to land.Jul 15 2022, 12:46 PM