--TEST-- Complex Insert Query Test --DESCRIPTION-- Test the driver behavior with a complex insert query. --ENV-- PHPT_EXEC=true --SKIPIF-- --FILE-- closeCursor(); $stmt1 = null; $stmt2 = ExecuteQuery($conn1, $querySelect); $row = $stmt2->fetch(PDO::FETCH_NUM); printf("$count rows attempted; actual rows created = ".$row[0]."\n"); $stmt2 = null; $conn1 = null; EndTest($testName); } //-------------------------------------------------------------------- // Repro // //-------------------------------------------------------------------- function Repro() { try { ComplexInsert(1000); } catch (Exception $e) { echo $e->getMessage(); } } Repro(); ?> --EXPECT-- 1000 rows attempted; actual rows created = 1000 Test "PDO - Complex Insert Query" completed successfully.