Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can force Trafodion to abort and core dump on a specific error. Use one of these methods.

  • sqlci

set envar abort_on_error '<error-number>'

this method.

  • edit ms.env file shell (before running sqlci)

export ABORT_ON_ERROR=<error-number>

There is only one error number will take effect, so if you have two lines of ABORT_ON_ERROR, the last one win.

This will help you to debug when a query run into a SQL error, and it is hard to figure out which code path it runs into.