pk: Properly handle SQLITE_BUSY in sql_setup_conn()
pk: Properly handle SQLITE_BUSY in sql_setup_conn()

- Properly check for SQLITE_BUSY when setting synchronous pragma

- Use pk_log_sqlerr() on query failure from sql_setup_conn()

cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr