Issue #2795967 by daffie, Katiemouse: A query with a fetchAll(\PDO::FETCH_COLUMN) will fail for SQLite (cherry picked from commit a407037d)