Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324375 - Unable to run with comparasion to integers less than INTEGER.MAXVALUE
Summary: Unable to run with comparasion to integers less than INTEGER.MAXVALUE
Status: RESOLVED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 01:09 EDT by Ashwani Kr Sharma CLA
Modified: 2011-05-17 17:55 EDT (History)
0 users

See Also:


Attachments
Creating WhereInt for values less than Integer.MAX (2.37 KB, text/plain)
2010-09-03 01:17 EDT, Ashwani Kr Sharma CLA
no flags Details
Patch for updated version of QueryTransformer (1.71 KB, patch)
2010-09-08 08:05 EDT, Ashwani Kr Sharma CLA
wayne.beaton: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashwani Kr Sharma CLA 2010-09-03 01:09:19 EDT
Build Identifier: 

Query like following throws errors and does not run:
from Manuscript as m select m.format where m.pages >=200

Reproducible: Always

Steps to Reproduce:
Open the Demo Query Editor. Run the query:
from Manuscript as m select m.format where m.pages >=200

It does not fetch any result
Comment 1 Ashwani Kr Sharma CLA 2010-09-03 01:17:56 EDT
Created attachment 178118 [details]
Creating WhereInt for values less than Integer.MAX

If the values compared is more than Integer.MAX WhereLong is created else WhereInt is created
Comment 2 Bernd Kolb CLA 2010-09-07 06:12:32 EDT
We missed that, indeed

Patch applied
Bernd
Comment 3 Bernd Kolb CLA 2010-09-07 06:14:44 EDT
I have difficulties committing the fix due to some CVS issue. I have to ask the webmaster. --> Reopened until the CVS issue is fixed
Comment 4 Bernd Kolb CLA 2010-09-08 06:41:03 EDT
Can you please attach a patch to fix it in the new version?

Thx
Bernd
Comment 5 Ashwani Kr Sharma CLA 2010-09-08 08:05:55 EDT
Created attachment 178389 [details]
Patch for updated version of QueryTransformer
Comment 6 Bernd Kolb CLA 2010-09-08 08:50:28 EDT
Fixed