#844186: Clarify merge queries introduced two regressions to the base MergeQuery implementation:
- The merge query key is used (needlessly) in the fields of the UPDATE query; this is a problem because some databases (like SQL Server) doesn't allow update of identity fields
- In a corner case, an exception message can be echoed directly to the browser
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 943042-merge-query-regressions.patch | 2.59 KB | damien tournoud |
| #2 | 943042-merge-query-regressions.patch | 2.59 KB | damien tournoud |
| #1 | 943042-merge-query-regressions.patch | 898 bytes | damien tournoud |
Comments
Comment #1
damien tournoud commentedComment #2
damien tournoud commentedClarify the documentation via @chx.
Comment #3
damien tournoud commentedEven more clarifications via @chx.
Comment #4
chx commentedYes. This makes sense. Even I got confused by the old code. Good that Damien catched this one.
Comment #6
Crell commented#3: 943042-merge-query-regressions.patch queued for re-testing.
Comment #7
chx commentedbot fluke.
Comment #8
dries commentedCommitted to CVS HEAD. Thanks.