Feature #2161
Changing UNDO attribute of dynamic table
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/12/2013
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
Related issues
History
#1 Updated by Stanislav Lomany almost 13 years ago
UNDO attribute can be changed (and takes effect!) after a table has been prepared. I'll leave this "feature" for future releases. Testcase:
def var th1 as handle no-undo.
create temp-table th1.
th1:add-new-field("field1", "integer").
th1:temp-table-prepare("table1").
th1:default-buffer-handle:buffer-create.
th1:undo = true.
blk:
do transaction:
th1:default-buffer-handle:buffer-field("field1"):buffer-value = 123.
undo blk, leave blk.
end.
message th1:default-buffer-handle:buffer-field("field1"):buffer-value. /* output is "0" */
#2 Updated by Eric Faulhaber almost 13 years ago
- Parent task deleted (
#1652)