Skip to content

Fix GH-22854: assertion failure at link_errno_read in ext/mysqli/mysqli_prop.c#22864

Open
khaledalam wants to merge 1 commit into
php:masterfrom
khaledalam:fix-gh22854-mysqli-errno-assertion
Open

Fix GH-22854: assertion failure at link_errno_read in ext/mysqli/mysqli_prop.c#22864
khaledalam wants to merge 1 commit into
php:masterfrom
khaledalam:fix-gh22854-mysqli-errno-assertion

Conversation

@khaledalam

Copy link
Copy Markdown
Contributor

Fixes GH-22854.

Problem

Reading the errno or error property of a mysqli object whose connection failed aborts the process with:

Assertion `p' failed. Aborted (core dumped)

(link_errno_read, ext/mysqli/mysqli_prop.c:225)

@kamil-tekiela

Copy link
Copy Markdown
Member

I think I tried something similar #20117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assertion failure at link_errno_read in ext/mysqli/mysqli_prop.c

2 participants