Problem/Motivation
Follow-up issue to #1837118: UPDATE foo SET bar=(SELECT...) is not supported for PostgreSQL driver.
We need to implement sub select in update queries.
Proposed resolution
Compile arguments in expression if instance of SelectInterface (or SelectQueryInterface in D7).
Patch ported by chx, David_Rothstein, mradcliffe
Remaining tasks
- Attach patch from old issue.
- Run against tests.
User interface changes
None.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1837118-55.patch | 1 KB | mradcliffe |
Comments
Comment #1
mradcliffeComment #2
mradcliffeComment #3
mradcliffeDoes not need back port this issue should have the patch for both #2350465: UPDATE foo SET bar=(SELECT...) is not supported in D7?.
Comment #4
fabianx commentedSo does that not still miss some new tests from the old issue?
Would be sad to loose some test coverage ...
Comment #5
mradcliffeUpdateComplexTest is still in core.
Patch passes UpdateComplexTest on drupalci_testbot.
Comment #6
fabianx commentedRTBC then :)
Comment #7
bzrudi71 commentedPerfect, local test run with patch from #1 applied makes UpdateComplexTest pass. +1 and RTBC from my side.
Comment #8
alexpottCommitted 2c88a12 and pushed to 8.0.x. Thanks!