mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
Grammar?
This commit is contained in:
parent
31faf966bb
commit
e69bc7330c
|
|
@ -22,7 +22,7 @@ CREATE TABLE IF NOT EXISTS previous_events (
|
||||||
`
|
`
|
||||||
|
|
||||||
// Insert an entry into the previous_events table.
|
// Insert an entry into the previous_events table.
|
||||||
// The there is already an entry indicating that an event references that previous event then
|
// If there is already an entry indicating that an event references that previous event then
|
||||||
// add the event NID to the list to indicate that this event references that previous event as well.
|
// add the event NID to the list to indicate that this event references that previous event as well.
|
||||||
// This should only be modified while holding a "FOR UPDATE" lock on the row in the rooms table for this room.
|
// This should only be modified while holding a "FOR UPDATE" lock on the row in the rooms table for this room.
|
||||||
// The lock is necessary to avoid data races when checking whether an event is already referenced by another event.
|
// The lock is necessary to avoid data races when checking whether an event is already referenced by another event.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue