aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/puddle/v2/internal/genstack
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2024-09-05 19:14:20 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2024-09-05 19:14:20 +0200
commit8919bafb3af724de4021854ac374fde7f1911f7f (patch)
tree6f96e6f9c56b0915efa755110a32aa9883fd4908 /vendor/github.com/jackc/puddle/v2/internal/genstack
parent6f3e8d47722b8bd7fb60e07a2c3ab68394bda4d1 (diff)
fix broken SQL update
This fixes a bug in the generation of the SQL query, that was introduced in 49dac92034f352698429ee1d78d4bfb070006693. There were two issues with the generation: 1. the check ids were sometimes not added to the arguments 2. the whereVals were not extracted as arguments This lead to all arguments being treated as one, which caused all sorts of errors in the frontend. By extracting all whereVals and always building it with the check ids first the update starts working correctly again. Found-By: Parsa Yousefi <parsa.yousefi@ionos.com>
Diffstat (limited to 'vendor/github.com/jackc/puddle/v2/internal/genstack')
0 files changed, 0 insertions, 0 deletions