Details
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/deleters/farcaster-channel-tag-deleters.js | ||
---|---|---|
29–34 | Initially tried to use RETURNING blob_holder AS blobHolder as part of the query (just like in deleteInviteLink); however, was getting a You have an error in your SQL syntax; error so created a separate query to get the blob holder and now everything works as expected | |
lib/types/community-types.js | ||
31 | Initially we were passing the blobHolder as part of the request since the blob holder was temporarily stored in redux; however, now that we can store the blobHolder in the communities table on the keyserver, the blob holder should never be in the client so we should remove it as part of the request |
keyserver/src/deleters/farcaster-channel-tag-deleters.js | ||
---|---|---|
29–34 | It seems like MariaDB doesn't support RETURNING with UPDATE statements https://mariadb.com/kb/en/update/. I can see some problems with the current implementation:
There are at least 3 possible solutions:
The chance for this edge case is really low, so we should decide if we really care about it. |