Project

General

Profile

Bug #3364

problems with TABLE-HANDLE and TABLE parameters related to BY-REFERENCE

Added by Greg Shah over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:

Related issues

Related to Database - Feature #3296: misc db features WIP
Related to Database - Feature #3816: table and table handle parameter options Closed

History

#1 Updated by Greg Shah over 6 years ago

#2 Updated by Greg Shah over 6 years ago

This was initially reported in #3296-9.

The following TABLE-HANDLE and TABLE parameter problems exist:

  1. runtime for TABLE-HANDLE ... BY-REFERENCE - I don't have testcases yet, but code in TemporaryBuffer.createDynamicTable should be similar to TemporaryBuffer.associate
  2. conversion for BY-REFERENCE and APPEND for TABLE-HANDLE and TABLE arguments at function calls: this is a parser issue too, as BY-REFERENCE and APPEND are emitted as a sibling to i.e. TABLE-HANDLE (as a direct child for the function call AST, i.e. FUNC_CHAR), and the conversion rules assume that BY-REFERENCE or APPEND are arguments for the function call, and not options. See uast/temp_table_by_ref_c.p which covers all the function/procedure cases for TABLE-HANDLE and TABLE, with BY-REFERENCE and/or APPEND. Just uncomment the commented code to see the error.

Other tests are these:

added uast/temp_table_by_ref.p
added uast/temp_table_by_ref2.p
added uast/temp_table_by_ref3.p
added uast/temp_table_by_ref_b.p
added uast/temp_table_by_ref_c.p

#3 Updated by Eric Faulhaber over 5 years ago

  • Related to Feature #3816: table and table handle parameter options added

Also available in: Atom PDF