fix: reduce/foreach state variable should not be reset each iteration (#3205)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When the UPDATE query in a reduce or foreach syntax does not emit a value, it should simply skip updating the state variable. But currently it resets the state variable to null.
authored by itchyny · committed by GitHub · parent 8619f8a · Browse files · 2 files+10 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+10 added−2 removed
- tests:+8 added−0 removed
- other:+2 added−2 removed