Open martindsouza opened 6 years ago
I reported this on AskTom a while ago: https://asktom.oracle.com/pls/apex/asktom.search?tag=plsql-optimize-level-3-produces-wrong-function-result
Basically PLSQL_OPTIMIZE_LEVEL = 3 strips away the is_valid_x function and returns always TRUE, because the converted result (the number/date variable) is never used.
Told to me by @ragFOEX. Peter can you please provide more information?
Issue seems to be that since we're not using the variable the compiler ignores it.