Skip to content

Commit 852e353

Browse files
committed
Additional fix for mysqli_fork test
1 parent c42b7dd commit 852e353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_fork.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if (!have_innodb($link))
111111
continue;
112112
$tmp = mysqli_fetch_assoc($pres);
113113
mysqli_free_result($pres);
114-
if ($tmp['msg_id'] == $msg_id)
114+
if (!$tmp || $tmp['msg_id'] == $msg_id)
115115
/* no new message */
116116
continue;
117117
if ($tmp['msg'] == 'stop')

0 commit comments

Comments
 (0)