We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a82d82 commit 0e334feCopy full SHA for 0e334fe
ext/mysqli/tests/test_setup/test_helpers.inc
@@ -112,11 +112,10 @@ function mysqli_check_skip_test(): void {
112
}
113
function mysqli_connect_or_skip() {
114
try {
115
- default_mysqli_connect();
+ return default_mysqli_connect();
116
} catch (\mysqli_sql_exception) {
117
die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
118
119
- return $link;
120
121
function have_innodb(mysqli $link): bool {
122
$res = $link->query("SELECT SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE = 'InnoDB'");
0 commit comments