Tests should check sqlite version using PDO_sqlite extension

Created on 3 July 2023, 12 months ago
Updated 10 July 2023, 12 months ago

Problem/Motivation

Few tests are using \SQLite3::version()['versionString'] to check minimal sqlite version but core does not require sqlite PHP extension, it's using pdo_sqlite so the checks should be changed to use appropriate extension

Steps to reproduce

See the tests, sqlite3 class is a part of sqlite extension but https://git.drupalcode.org/project/drupal/-/blob/11.x/core/INSTALL.sqlit... said core needs only pdo_sqlite

Proposed resolution

Replace check with query to memory database

Remaining tasks

patch, review, commit

User interface changes

no

API changes

no

Data model changes

no

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.1

Component
SQLite driver 

Last updated 2 months ago

No maintainer
Created by

🇫🇷France andypost

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024