Chat2DB Edition
Chat2DB Community
Chat2DB Version
5.3.0
Deployment
Web
Operating System
macOS
Operating System Version
12
Database and Version
SQLite
Problem Summary
SqliteColumnTypeEnum.buildDataType guards with if (columnSize == null || decimalDigits == null) return columnType. The || decimalDigits == null causes an early return for sized columns without scale (VARCHAR(255), INTEGER(10)) — the size is lost. The size-only branch at line 152 is unreachable dead code because line 149 already returned. Every sibling guards on columnSize == null only.
Expected Behavior
Guard on columnSize == null only, making the size-only branch reachable.
Actual Behavior
SqliteColumnTypeEnum.java:149 — if (columnSize == null || decimalDigits == null) return columnType.
Impact
Limited or cosmetic impact
Workaround
N/A
Submission Checklist
Chat2DB Edition
Chat2DB Community
Chat2DB Version
5.3.0
Deployment
Web
Operating System
macOS
Operating System Version
12
Database and Version
SQLite
Problem Summary
SqliteColumnTypeEnum.buildDataType guards with if (columnSize == null || decimalDigits == null) return columnType. The || decimalDigits == null causes an early return for sized columns without scale (VARCHAR(255), INTEGER(10)) — the size is lost. The size-only branch at line 152 is unreachable dead code because line 149 already returned. Every sibling guards on columnSize == null only.
Expected Behavior
Guard on columnSize == null only, making the size-only branch reachable.
Actual Behavior
SqliteColumnTypeEnum.java:149 — if (columnSize == null || decimalDigits == null) return columnType.
Impact
Limited or cosmetic impact
Workaround
N/A
Submission Checklist