Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@felixxm
Copy link
Member

@felixxm felixxm commented Jul 9, 2017

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't checked out the patch locally but were these changes necessary for the patch to work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. EmptyResultSet exception is raised here, therefore I decided to move these variables inside the if clause where they are used.

@felixxm felixxm force-pushed the issue-28378 branch 2 times, most recently from 892a379 to 639cd33 Compare July 10, 2017 05:28
@felixxm
Copy link
Member Author

felixxm commented Jul 10, 2017

@charettes Thanks for review. I added release notes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chop comma

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with a queryset

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"exception" seems unneeded

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with UNION and with DIFFERENCE if the first queryset is nonempty.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd chop the blank lines around for_update_part.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd omit the blank lines.

@felixxm
Copy link
Member Author

felixxm commented Jul 10, 2017

@timgraham Thanks for review.

felixxm added 2 commits July 10, 2017 19:42
…queryset raising EmptyResultSet.

Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette
for the reviews.
@felixxm
Copy link
Member Author

felixxm commented Jul 10, 2017

Merged in 9bca0d0 and ca74e56.

@felixxm felixxm closed this Jul 10, 2017
@felixxm felixxm deleted the issue-28378 branch July 10, 2017 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants