1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/sql/sql_update.h
Rucha Deodhar 9b325e1b7d MDEV-39179: Incorrect NULL handling in UPDATE ... RETURNING result
Analysis:
OLD_VALUE() swapped only field->ptr, leaving null_ptr pointing to the
current record. This caused incorrect NULL results.

Fix:
Store null_ptr_old for record[1] and swap it together with ptr to
preserve correct NULL semantics.
2026-04-30 09:41:26 -04:00

3.7 KiB