Download src/php/php-src/ext/pdo_mysql/tests/bug77289.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug77289.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pdo_mysql/tests/bug77289.phpt
-
curl -L -o bug77289.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug77289.phpt
585 Bytes
| --TEST-- | |
| Bug #77289: PDO MySQL segfaults with persistent connection | |
| --EXTENSIONS-- | |
| pdo_mysql | |
| --SKIPIF-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| MySQLPDOTest::skip(); | |
| --FILE-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| $dsn = MySQLPDOTest::getDSN(); | |
| $user = PDO_MYSQL_TEST_USER; | |
| $pass = PDO_MYSQL_TEST_PASS; | |
| $pdo = new PDO($dsn, $user, $pass, [PDO::ATTR_PERSISTENT => true]); | |
| $pdo->exec("DROP TABLE IF EXISTS bug77289"); | |
| $pdo->exec("CREATE TEMPORARY TABLE bug77289 (x INT)"); | |
| $pdo->exec("UPDATE bug77289 SET x = x"); | |
| ===DONE=== | |
| --EXPECT-- | |
| ===DONE=== | |