diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2024-09-05 19:14:20 +0200 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2024-09-05 19:14:20 +0200 |
commit | 8919bafb3af724de4021854ac374fde7f1911f7f (patch) | |
tree | 6f96e6f9c56b0915efa755110a32aa9883fd4908 /vendor/golang.org/x/sys/internal/unsafeheader | |
parent | 6f3e8d47722b8bd7fb60e07a2c3ab68394bda4d1 (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/golang.org/x/sys/internal/unsafeheader')
0 files changed, 0 insertions, 0 deletions