Create following procedure on Sybase ASE 15.7 and then try to debug with value "1". It fails in ADS 18.0.9, while it works in ADS 17.0.1
|
122 KB
|
87 KB
|
70 KB
It looks like the extracted AFParameter#baseType is set to NULL in parameter extraction. This causes AFTableColumn.getColumnInfo(connSettings, param._baseType, null) to return a AFTableColumnInfo with _columnType == AFTableColumnInfo.STRING, causing ScriptProcedure#debuggerScriptEXECUTE to produce debug script with single quotes around the integer parameter value.
This seems to be broken by VA#7108 fix.
We modified extraction so that the base type was only extracted for user defined types. All other types base type was been change to extract as null since it matches its actual datatype. I have modified the code so that when base type is null it will be set to the datatype. Code fixed and checked in to v18 with Committed revision: 54302 & 54304. Will port code to trunk
We modified extraction so that the base type was only extracted for user defined types. All other types base type was been change to extract as null since it matches its actual datatype. I have modified the code so that when base type is null it will be set to the datatype. Code fixed and checked in to v18 with Committed revision: 54302 & 54304. Will port code to trunk
Changes have been ported to trunk with Committed revision: 54305
Changes have been ported to trunk with Committed revision: 54305
Verified in ADS v18.0.11-3 and v19.0.0-alpha-4
Verified in ADS v18.0.11-3 and v19.0.0-alpha-4
Issue #15210 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build v18.0.11-3, v19.0.0-alpha-4 |
No time estimate |
It looks like the extracted AFParameter#baseType is set to NULL in parameter extraction. This causes AFTableColumn.getColumnInfo(connSettings, param._baseType, null) to return a AFTableColumnInfo with _columnType == AFTableColumnInfo.STRING, causing ScriptProcedure#debuggerScriptEXECUTE to produce debug script with single quotes around the integer parameter value.
This seems to be broken by VA#7108 fix.