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 Dec 7, 2017
1 parent 40ed6cf commit a7ffe072568e5551673a01acc055022fa1eca034
Showing with 1 addition and 1 deletion.
  1. +1 −1 slick/src/main/scala/slick/jdbc/meta/MColumn.scala
@@ -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.