|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2019-06-21 09:41 UTC] sjon@php.net
-Status: Open
+Status: Verified
[2019-06-21 09:41 UTC] sjon@php.net
[2019-06-21 10:00 UTC] cmb@php.net
[2019-06-26 09:50 UTC] vquatrevieux at b2pweb dot com
[2019-06-28 10:38 UTC] cmb@php.net
[2019-06-28 10:38 UTC] cmb@php.net
-Status: Verified
+Status: Closed
[2019-06-28 10:40 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 18:00:01 2025 UTC |
Description: ------------ This bug occurs on php 7.2.0 and it is not fixed in v7.3.6. The test script has been launched on docker image php:7.2-cli and php:7.3-cli The test case fail with pdo_sqlite but works fine with SQLite3 No changes set on docker images. The php.ini file is the same. Test script: --------------- <?php $connection = new \PDO('sqlite::memory:'); $connection->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); $connection->query('CREATE TABLE user (id INTEGER PRIMARY KEY NOT NULL, name VARCHAR(255) NOT NULL)'); $stmt = $connection->prepare('INSERT INTO user (id, name) VALUES(:id, :name)'); $stmt->execute([ 'id' => 10, 'name' => 'test', ]); $stmt = $connection->prepare('SELECT * FROM user WHERE id = :id'); $stmt->execute(['id' => 10]); $stmt->fetchAll(\PDO::FETCH_ASSOC); $connection->query('ALTER TABLE user ADD new_col VARCHAR(255)'); $stmt->execute(['id' => 10]); // SegFault here