Skip to content
Permalink
Browse files
Skip sourceDataType in ResultSet when reading an MColumn
Oracle does not always return this column. Columns both before and
after it were already guarded with `if(r.hasMoreColumns)` in
`MColumn.getColumns`, so this looks like an oversight.
  • Loading branch information
szeiger authored and hvesalai committed Mar 2, 2018
1 parent 40ed6cf commit a7ffe07
Showing 1 changed file with 1 addition and 1 deletion.
@@ -24,7 +24,7 @@ object MColumn {
case _ => None
}, r.<<, r.<<, r.skip.skip.<<, r.<<, DatabaseMeta.yesNoOpt(r),
if(r.hasMoreColumns) MQName.optionalFrom(r) else None,
r.nextObjectOption(),
if(r.hasMoreColumns) r.nextObjectOption() else None,
if(r.hasMoreColumns) DatabaseMeta.yesNoOpt(r) else None)
}
}

0 comments on commit a7ffe07

Please sign in to comment.