Ticket #2876 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by warmerdam

  • keywords OCI Oracle added
  • status changed from new to assigned
  • version changed from unspecified to 1.6.0
  • component changed from default to OGR_SF
  • milestone set to 1.6.1

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

Changed 4 years ago by warmerdam

Applied in 1.6 branch as well (r16516).

Changed 4 years ago by warmerdam

  • status changed from assigned to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.