summaryrefslogtreecommitdiff
path: root/SECURITY.md
diff options
context:
space:
mode:
authorDiogo Galvão <diogo.galvao@fiocruz.br>2025-11-21 17:54:54 -0300
committerDamien Regad <dregad@mantisbt.org>2025-11-22 00:46:22 +0100
commit99390853e507056351f1b4dd38f35cd700179c30 (patch)
treefdf54682213dfae49a3abccaddb7c5426aefc08d /SECURITY.md
parent481bb5292033af2918bea9a9af4b551781d17f5f (diff)
downloadadodb-99390853e507056351f1b4dd38f35cd700179c30.tar.gz
adodb-99390853e507056351f1b4dd38f35cd700179c30.tar.bz2
adodb-99390853e507056351f1b4dd38f35cd700179c30.zip
Fix autoExecute() skipping updates
AutoExecute fetches a row from the table prior to performing an insert or update. When $forceUpdate is false, only modified columns should be updated. However, the WHERE clause was not being used when fetching the row, so the comparison was always made against an arbitrary row, causing differences to be detected or missed by chance. This change makes use of the $where parameter when fetching the row from the table, making the comparison work as intended. Fixes #1146
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions