Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upEmpty changeset is still executed, fails. #598
Comments
This comment has been minimized.
|
This should have been fixed in 0.9. Can you provide a script to reproduce? |
killercup
added
bug
missing reproduction steps
labels
Feb 17, 2017
This comment has been minimized.
|
I just tried it and got
I think this can be closed as we can't detect that there are no changes earlier than that. @Boscop Feel free to reopen if you think I'm wrong |
Eijebong
closed this
Aug 5, 2017
This comment has been minimized.
|
Just to clarify on why it is important that this is an error case, while inserting an empty vector is not: When you insert 0 rows, we always know exactly how to replicate the behavior that would have otherwise occurred ( In the absolute simplest case we'd need to do the equivalent |
This comment has been minimized.
This code ends up with the same error but for |
Boscop commentedJan 31, 2017
When an update is done with an empty changeset (all options None), it still tries to execute the query (which fails, at least with postgres), maybe that should be prevented earlier?