Skip to content
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

Changed return value for PDO::lastInsertId for 8.1+ #1332

Merged
merged 1 commit into from
Nov 19, 2021
Merged

Conversation

yitam
Copy link
Contributor

@yitam yitam commented Nov 19, 2021

In case of exception, when running against php8.1 RC, returning NULL throws an exception. Changed to return an empty zend_string instead.
Related to the recent fix in #1330

@codecov
Copy link

codecov bot commented Nov 19, 2021

Codecov Report

Merging #1332 (7a2f570) into dev (f52fb48) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #1332   +/-   ##
=======================================
  Coverage   83.43%   83.43%           
=======================================
  Files          22       22           
  Lines        7829     7829           
=======================================
  Hits         6532     6532           
  Misses       1297     1297           

@yitam yitam merged commit 14aa449 into dev Nov 19, 2021
@yitam yitam deleted the fix81ReturnId branch November 19, 2021 00:38
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.

1 participant