Remove runSqlWithLock.