https://sqlite.phxsoftware.com/forums/p/174/622.aspx#622
