Skip to content

Commit

Permalink
Apply review suggests to confirm actual dump
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Nov 18, 2021
1 parent 33349c4 commit d604fea
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,21 @@ try {
dropTable($conn, "table1");
dropTable($conn, "table2");
dropTable($conn, "table3");

// Should trigger exception
$tsql = "SELECT * FROM dummy";
$conn->exec($tsql);

unset($conn);
} catch (PDOException $e) {
var_dump($e);
print_r($e->getMessage());
exit;
}


?>
--EXPECT--
int(2)
int(2)
int(2)
--EXPECTREGEX--
int\(2\)
int\(2\)
int\(2\)
.*Invalid object name \'dummy\'\.

0 comments on commit d604fea

Please sign in to comment.