Skip to content
Snippets Groups Projects
Commit 1f187a05 authored by Marcin's avatar Marcin
Browse files

deterministic order of saved mentions

parent beae8766
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!295Fixed bug in mentions update ignoring posts having creation time earlier than...
...@@ -30,6 +30,7 @@ BEGIN ...@@ -30,6 +30,7 @@ BEGIN
)T( id_post, mention, author_id, block_num ) )T( id_post, mention, author_id, block_num )
)T( id_post, mention, author_id, block_num ) ON ha.name = T.mention )T( id_post, mention, author_id, block_num ) ON ha.name = T.mention
WHERE ha.id != T.author_id WHERE ha.id != T.author_id
ORDER BY T.id_post
ON CONFLICT DO NOTHING; ON CONFLICT DO NOTHING;
END END
......
Subproject commit e1439046adf7900ba3d6cbaeb5615d4dc6c837b5 Subproject commit ee534480e5739b75968089859ee3663dfdabb126
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment