SQLite Forum

Question regarding dangling commas in CREATE VIRTUAL TABLE queries
Login
Hello there!

It seems that when creating virtual tables, dangling commas are allowed, I'm wondering if there are some reasons to why? Thank you very much in advance!

Here are the testing queries that has been tested to be working on 3.7.17:

```sql
CREATE VIRTUAL TABLE test_fts4 USING FTS4(id, name, content='test',);
CREATE VIRTUAL TABLE test_rtree USING RTREE(id, name, content,);
```

The above and the following queries also tested to be working on 3.32.3:

```sql
CREATE VIRTUAL TABLE test_fts5 USING FTS5(id, name, content='test',);
```