Opened 16 years ago
Closed 7 years ago
#577 closed defect (fixed)
Oracle db installer creates number fields too large to be safely cast to Int32
| Reported by: | bweaver | Owned by: | bweaver |
|---|---|---|---|
| Priority: | critical | Milestone: | Release Candidate 3 |
| Component: | Installers | Version: | 2.0.1600 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | Oracle | |
| Operating System: | N/A |
Description
The oracle db installer code declares the type for int fields as "INTEGER". In Oracle parlance this means a 38 digit number. .NET Int32 datatype is limited to 232, or 2.1 billion (10 digits). To make sure we don't run into overflow problems down the road, the Oracle db installer should declare the type as "NUMBER(9,0)". This means the max. number in oracle is 999,999,999 (just shy of 1 billion). Making it 10 digits is too much, as Oracle would allow 9,999,999,999, which exceeds the .net limit of roughly 2,100,000,000.
Change History (3)
comment:1 by , 16 years ago
| Status: | new → addressed |
|---|
comment:2 by , 16 years ago
| Status: | addressed → released |
|---|
comment:3 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | released → closed |
Note:
See TracTickets
for help on using tickets.

(In [1652]) - fixes #601