Update notes for 2018-09-24

This commit is contained in:
2018-09-24 16:35:43 +03:00
parent 8521594ea0
commit 9993ecc196
3 changed files with 10 additions and 8 deletions

View File

@ -433,5 +433,6 @@ sqlite> INSERT INTO items(id, views) VALUES(0, 7) ON CONFLICT(id) DO UPDATE SET
- Oh nice, I finally finished the Falcon API route to page through all the results using SQLite's amazing `LIMIT` and `OFFSET` support
- But when I deployed it on my Ubuntu 16.04 environment I realized Ubuntu's SQLite is old and doesn't support `UPSERT`, so my indexing doesn't work...
- Apparently `UPSERT` came in SQLite 3.24.0 (2018-06-04), and Ubuntu 16.04 has 3.11.0
- Ok this is hilarious, I manually downloaded the [libsqlite3 3.24.0 deb from Ubuntu 18.10 "cosmic"](https://packages.ubuntu.com/cosmic/libsqlite3-0) and installed it in Ubnutu 16.04 and now the Python `indexer.py` works
<!-- vim: set sw=2 ts=2: -->