keplerproject/luasql — pull request #8 by ignacio (2012-09-03 18:25:15+00:00)
Title: Use _v2 APIs for SQLite version 3.6.13 and above.

This PR tries addresses the issue mentioned [in the mailing list](http://kepler-platform-mailing-list.1133559.n2.nabble.com/luasql-sqlite3-fetch-from-pragma-td5589445.html) a while ago.

Some pragmas won't return a cursor anymore since SQLite 3.6.23. Using _sqlite3_open_v2_ and _sqlite3_prepare_v2_ fixes that.