--TEST-- PDO_DBLIB: Segmentation fault on pdo_dblib::nextRowset --SKIPIF-- --FILE-- query($sql); $resultset1 = $stmt->fetchAll(PDO::FETCH_ASSOC); if (true !== $stmt->nextRowset()) { die('expect TRUE on nextRowset'); } $resultset2 = $stmt->fetchAll(PDO::FETCH_ASSOC); if (false !== $stmt->nextRowset()) { die('expect FALSE on nextRowset'); } $stmt->closeCursor(); echo "OK\n"; ?> --EXPECT-- OK