• thek@adventure.(none)'s avatar
    Bug#26977 exception handlers never hreturn · ae10d3d9
    thek@adventure.(none) authored
      - In some cases, flow control optimization implemented in sp::optimize
        removes hreturn instructions, causing SQL exception handlers to:
          * never return
          * execute wrong logic
      - This patch overrides default short cut optimization on hreturn instructions
        to avoid this problem.
    ae10d3d9
sp_head.h 29.9 KB