mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
Problem: When an SP instruction fails during execution, it is re-parsed. During this process, the items created on-behalf of the SP instruction are cleaned up, re-parsed and SP instruction state is updated. The clean up step frees the default parameters and the update step partially updates the SP instruction state, leaving the `default_value` in `sp_variable` pointing to the dangling reference. Fix: The SP instruction state is updated correctly, making the `default_value` in `sp_variable` ponit to the re-parsed item.
6.6 KiB
6.6 KiB