Skip to content

db2_last_insert_id() may return null #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

phansys
Copy link
Contributor

@phansys phansys commented Feb 23, 2023

See:

if (last_id[0] != '\0') {
ZEND_RETURN_STRING(last_id, 0);
} else {
RETURN_NULL();
}

@phansys phansys marked this pull request as ready for review February 23, 2023 23:33
@NattyNarwhal NattyNarwhal merged commit 44da4e8 into php:master Feb 24, 2023
@phansys phansys deleted the last_insert_id branch February 24, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants