[php-src] Issue #12633: sqlite3_defensive.phpt fails with sqlite 3.44.0
| From: | andypost | Date: | Wed, 08 Nov 2023 18:45:48 +0000 |
| Subject: | [php-src] Issue #12633: sqlite3_defensive.phpt fails with sqlite 3.44.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245765@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12633
Author: andypost
### Description
The
ext/sqlite3/tests/sqlite3_defensive.phpt test started to fail after upgrade of
SQLite to [3.44.0](http://www.sqlite.org/releaselog/3_44_0.html) on all arches
Resulted in this output:
```
TEST 12220/16282 [ext/sqlite3/tests/sqlite3_defensive.phpt]
========DIFF========
bool(true)
003+ int(0)
int(1)
004- int(1)
Warning: SQLite3::querySingle(): Unable to prepare statement: 1, table sqlite_master may not be
modified in %s on line %d
bool(false)
```
### PHP Version
PHP 8.1.25
### Operating System
Alpinelinux