1--TEST-- 2Bug #77289: PDO MySQL segfaults with persistent connection 3--SKIPIF-- 4<?php 5require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc'); 6require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); 7MySQLPDOTest::skip(); 8?> 9--FILE-- 10<?php 11require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); 12 13$dsn = MySQLPDOTest::getDSN(); 14$user = PDO_MYSQL_TEST_USER; 15$pass = PDO_MYSQL_TEST_PASS; 16$pdo = new PDO($dsn, $user, $pass, [PDO::ATTR_PERSISTENT => true]); 17$pdo->exec("DROP TABLE IF EXISTS bug77289"); 18$pdo->exec("CREATE TEMPORARY TABLE bug77289 (x INT)"); 19$pdo->exec("UPDATE bug77289 SET x = x"); 20 21?> 22===DONE=== 23--EXPECT-- 24===DONE=== 25