diff --git a/ext/pdo_mysql/tests/gh20122.phpt b/ext/pdo_mysql/tests/gh20122.phpt index fb3bd70a7e7f5..f4abc266335af 100644 --- a/ext/pdo_mysql/tests/gh20122.phpt +++ b/ext/pdo_mysql/tests/gh20122.phpt @@ -8,16 +8,15 @@ pdo_mysql require_once __DIR__ . '/inc/mysql_pdo_test.inc'; MySQLPDOTest::skip(); ?> ---XFAIL-- --FILE-- exec('CREATE TABLE test (bar JSON)'); -$db->exec('INSERT INTO test VALUES("[]")'); +$db->exec('CREATE TABLE test_gh20122 (bar JSON)'); +$db->exec('INSERT INTO test_gh20122 VALUES("[]")'); -$stmt = $db->query('SELECT * from test'); +$stmt = $db->query('SELECT * from test_gh20122'); $meta = $stmt->getColumnMeta(0); // Note: JSON is an alias for LONGTEXT on MariaDB! @@ -25,8 +24,9 @@ echo $meta['native_type'], "\n"; ?> --CLEAN-- query('DROP TABLE IF EXISTS test_gh20122'); ?> --EXPECTF-- %r(JSON|LONGTEXT)%r