fix incorrect column info returned by metadata

Original commit: elastic/x-pack-elasticsearch@dfda0e498c
This commit is contained in:
Costin Leau 2017-09-29 15:21:39 +03:00
parent c8e69b160e
commit 1824d4771c
1 changed files with 1 additions and 1 deletions

View File

@ -832,7 +832,7 @@ class JdbcDatabaseMetaData implements DatabaseMetaData, JdbcWrapper {
row[ 3] = col.name;
row[ 4] = col.type.getVendorTypeNumber();
row[ 5] = col.type.getName();
row[ 6] = col.position; // NOCOMMIT this doesn't seem right
row[ 6] = col.size;
row[ 7] = null;
row[ 8] = null;
row[ 9] = 10;