Opened 15 years ago

Closed 15 years ago

#2876 closed defect (fixed)

OCI varchar2(4000)

Reported by: jimk Owned by: warmerdam
Priority: normal Milestone: 1.6.1
Component: OGR_SF Version: 1.6.0
Severity: normal Keywords: OCI Oracle
Cc:

Description

Currently OGR fails with a "ERROR 1: ORA-01406: fetched column value was truncated

in OCIStmtFetch" when a varchar2 column longer than 2048 bytes is fetched from the database. It would be better if this was changed to 4000 to correspond with the limit for the Oracle varchar2 type.

Change History (3)

comment:1 by warmerdam, 15 years ago

Component: defaultOGR_SF
Keywords: OCI Oracle added
Milestone: 1.6.1
Status: newassigned
Version: unspecified1.6.0

Fixed in trunk as suggested (r16515). working on 1.6 branch.

comment:2 by warmerdam, 15 years ago

Applied in 1.6 branch as well (r16516).

comment:3 by warmerdam, 15 years ago

Resolution: fixed
Status: assignedclosed

I'm not sure why this wasn't closed when the fixes were applied.

Note: See TracTickets for help on using tickets.