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