1--TEST--
2PDO::ATTR_PREFETCH
3--SKIPIF--
4<?php
5require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
6require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
7MySQLPDOTest::skip();
8$db = MySQLPDOTest::factory();
9?>
10--FILE--
11<?php
12    require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
13    $db = MySQLPDOTest::factory();
14    var_dump($db->getAttribute(PDO::ATTR_PREFETCH));
15    var_dump($db->setAttribute(PDO::ATTR_PREFETCH, true));
16    print "done!";
17?>
18--EXPECTF--
19Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
20bool(false)
21bool(false)
22done!
23