Skip to content

Commit

Permalink
Added support for the packed decimal type, used by object attributes …
Browse files Browse the repository at this point in the history
…with

historical types DECIMAL and NUMERIC
(oracle/python-cx_Oracle#212).
  • Loading branch information
anthony-tuininga committed Aug 16, 2018
1 parent 58e1201 commit 67d9d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/dpiImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ extern unsigned long dpiDebugLevel;
#define DPI_SQLT_INT 3
#define DPI_SQLT_FLT 4
#define DPI_SQLT_VNU 6
#define DPI_SQLT_PDN 7
#define DPI_SQLT_LNG 8
#define DPI_SQLT_VCS 9
#define DPI_SQLT_DAT 12
Expand Down
1 change: 1 addition & 0 deletions src/dpiOracleType.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ static dpiOracleTypeNum dpiOracleType__convertFromOracle(uint16_t typeCode,
return DPI_ORACLE_TYPE_VARCHAR;
case DPI_SQLT_FLT:
case DPI_SQLT_NUM:
case DPI_SQLT_PDN:
case DPI_SQLT_VNU:
case DPI_SQLT_BFLOAT:
case DPI_SQLT_BDOUBLE:
Expand Down

0 comments on commit 67d9d58

Please sign in to comment.