]> granicus.if.org Git - php/commit
Ignore the return value of sqlite3->busyTimeout() if their "API Armor" is not enabled.
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 20 Oct 2016 08:56:08 +0000 (10:56 +0200)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 20 Oct 2016 08:56:08 +0000 (10:56 +0200)
commit6ca38e8cf8a4fa4b11a4a92131ef8f476659b7a9
tree491a9ccad57fbca9dad06c50083f3d39dfe65fc6
parentb4a6408029b6202af8bc4df2e0116f17b1067e88
Ignore the return value of sqlite3->busyTimeout() if their "API Armor" is not enabled.

The sqlite3_busy_timeout() function can only ever return SQLITE_OK if the armor is not compiled in, which means we can skip this error check
ext/sqlite3/sqlite3.c