Patch Number

Ticket Number

Change type

5_20439

648971

Enhancement

1. Description

New configuration option error_numbers_are_single_attribute to return only the error number.

2. Previous Release Behavior

Prior to this patch, error numbers would always be returned as a dynamic array.

3. Current Release Behavior

When error_numbers_are_single_attribute = true is set then errors are returned as a single attribute from a SETTING/RETURNING clause.

For example, legacy code would have:

EXECUTE 'SELECT file SETTING err.num'
IF err.num = '401'

We currently return:

401:@VM:QLNONSEL

When the emulation option is set then we now return:

401