Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix duplicate review and comments #472

Open
alphatownsman opened this issue Dec 26, 2023 · 1 comment
Open

fix duplicate review and comments #472

alphatownsman opened this issue Dec 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@alphatownsman
Copy link
Member

No description provided.

@alphatownsman alphatownsman converted this from a draft issue Dec 26, 2023
@alphatownsman alphatownsman added this to the 0.9.3 milestone Dec 26, 2023
@alphatownsman
Copy link
Member Author

SELECT count(1) from (SELECT (t1.title = t2.title and t2.body = t1.body) as x FROM journal_review t1, journal_review t2
WHERE t1.owner_id = t2.owner_id
AND t1.item_id = t2.item_id
AND t1.piece_ptr_id < t2.piece_ptr_id ) AS Y where x = false;

 count
-------
   345

SELECT count(1) from (SELECT (t1.text = t2.text) as x FROM journal_comment t1, journal_comment t2
WHERE t1.owner_id = t2.owner_id
AND t1.item_id = t2.item_id
AND t1.piece_ptr_id < t2.piece_ptr_id ) AS Y where x = false;

 count
-------
   332

@alphatownsman alphatownsman added the bug Something isn't working label Dec 29, 2023
@alphatownsman alphatownsman removed this from the 0.9.3 milestone Dec 29, 2023
@alphatownsman alphatownsman moved this from In Progress to Planned in NeoDB Roadmap Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Planned
Development

No branches or pull requests

1 participant