<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Put two commits into one: I don’t see reason to divide them.</div><div><br class=""></div><div>Also, add functional tests on INDEXED BY clause.</div><div>Now, you are checking only correctness of grammar (and add more than one test)</div><div>but "indexed by" should also compel planner use given index:</div><div><a href="https://www.sqlite.org/lang_indexedby.html" class="">https://www.sqlite.org/lang_indexedby.html</a></div><div><br class=""></div><div>You can do it using EXPLAIN QUERY PLAN statement.</div><div><br class=""></div></body></html>