SQLite is smart about opening connections - see http://www.mail-archive.com/sqlite-users@sqlite.org/msg30130.html, combined with (from chx):
$ grep sqlite3_open sqlite_driver.c
i = sqlite3_open(filename, &H->db)
sqlite3_open uses utf8, thus our PRAGMA query is unnecesarry
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | pragma_redundant.patch | 1.81 KB | dmitrig01 |
| pragma_redundant.patch | 1.81 KB | dmitrig01 |
Comments
Comment #1
chx commentedYup.
Comment #2
dmitrig01 commentedreroll
Comment #3
webchickCommitted to HEAD. Thanks!