Repository navigation
Commit 08e39d7
committed
When the type of a column is unrecognized, assign the type 'text' to this column.
Explanation: SQLite allows column types to be (almost) arbitrary strings.
While the SQL-IDE allows only a fixed set of types when creating tables within the SQL-IDE,
it is still possible to have tables with 'exotic' types by importing them.
This results in an undefined column type. When you run a select-query on such a table,
the application 'crashes' at line 502 of ResultsetPresenter.ts and no result table is shown.
Suggested Solution: If the column type is unrecognized, let it default to the type 'text'.1 parent cf866b5 commit 08e39d7
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
105 | | - | |
| 110 | + | |
0 commit comments