This is an automated email from the ASF dual-hosted git repository.
amanin pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
new e0b32d6 fix(SQLStore): add missing origin table on SQL column
definition.
e0b32d6 is described below
commit e0b32d6f067de953e4af90fbd49f18ee012ffa20
Author: Alexis Manin <[email protected]>
AuthorDate: Wed Nov 27 15:33:14 2019 +0100
fix(SQLStore): add missing origin table on SQL column definition.
This information is not vital, but prevent proper geometry type
identification if missing.
---
.../src/main/java/org/apache/sis/internal/sql/feature/Analyzer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/Analyzer.java
b/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/Analyzer.java
index 861822f..7341cce 100644
---
a/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/Analyzer.java
+++
b/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/Analyzer.java
@@ -487,7 +487,7 @@ final class Analyzer {
final boolean isNullable =
Boolean.TRUE.equals(SQLUtilities.parseBoolean(reflect.getString(Reflection.IS_NULLABLE)));
final ColumnRef name = new
ColumnRef(getUniqueString(reflect, Reflection.COLUMN_NAME));
final int precision =
reflect.getInt(Reflection.COLUMN_SIZE);
- final SQLColumn col = new SQLColumn(type, typeName,
isNullable, name, precision);
+ final SQLColumn col = new SQLColumn(type, typeName,
isNullable, name, precision, source);
tmpList.add(col);
}