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