Project: | Proparse Project |
Component: | Code |
Category: | bug report |
Priority: | critical |
Assigned: | Unassigned |
Status: | active |
When you have a sports2000 database connected parsing the following code fails:
DEFINE TEMP-TABLE customer NO-UNDO
FIELD test AS CHARACTER.
DEFINE BUFFER bufcustomer FOR TEMP-TABLE customer.
The error:
---------------------------
Error (Press HELP to view stack trace)
---------------------------
org.prorefactor.refactor.RefactorException: c:\test.p:3 Storetype mismatch between proparse.dll and treeparser01: customer 1103 1102 -> File: c:\test.p Line: 3 Column: 8 Type: BUFFER Text: BUFFER
---------------------------
OK Help
---------------------------
Why would one want to do this? I encoutered it in a file where a temp-table with a fairly generic name was defined long ago and someone else defined a completely different temp-table with the same name in the temp-db database. (I know that is a nasty situation but fixing it is non trivial.)
(I am using proparse.NET from within ABL but I think you would have this with java as well.)