1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00
Files
mariadb/mysql-test/suite/compat/oracle/t/sp-default-param.test
Raghunandan Bhat 29d8f65470 MDEV-37489: SIGSEGV in get_param_default_value | store_schema_params
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.
2025-10-15 19:41:50 +05:30

6.6 KiB