Consultor Eletrônico



Kbase P4077: Temp Table with different field names raises an error in v8, not in v9
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

SYMPTOM(s):

Temp Table with different field names raises an error in v8, not in v9

Under 8.2a the following code raises an error:
emp1.p
--------
define new shared temp-table tt_colin
field field_one as char
field field_two as char
field field_three as char.

create tt_colin.
assign tt_colin.field_one = 'one'
tt_colin.field_two = 'two'
tt_colin.field_three = 'three'.

run temp2.p


temp2.p
--------
define shared temp-table tt_colin
field field_one as char
field field_three as char
field field_two as char.

find first tt_colin.
display tt_colin with 1 column.

In procedure <procedure>, shared temp-table <table-name> has a conflict in field, index or undo status. (2075)

FIX:

No fix, product is working correctly, we do not consider a field name change as significant, we only check that datatypes match correctly