Add detailed error information to SQLite.
commit42b47a870453b661b0912b45eb0700968ae3c454
authorJulia Pitts <jupi@fb.com>
Sat, 10 Aug 2019 00:01:40 +0000 (9 17:01 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 10 Aug 2019 00:17:03 +0000 (9 17:17 -0700)
tree06314741dbf380fb391a60779dfd240d5c21afe3
parent00a597f29da3daaa358499a4c5184094794a754a
Add detailed error information to SQLite.

Summary: During the course of debugging, there's nothing more frustrating that just seeing "SQLite operation failed: CONSTRAINT."  SQLite offers a way to get a nice error string, so let's use it!

Reviewed By: arxanas

Differential Revision: D16697973

fbshipit-source-id: 23623bab0998230e200508e7e7de753ea98e2b6e
hphp/hack/src/facts/symbols/sqliteSymbolIndexWriter.ml
hphp/hack/src/naming/naming_table.ml
hphp/hack/src/search/sqliteSearchService.ml
hphp/hack/src/utils/sqlite/sqlite_utils.ml