Skip to content

fix: avoid double-prefixing in BaseConnection::callFunction()#9959

Merged
michalsn merged 1 commit intocodeigniter4:developfrom
michalsn:fix/function-call
Feb 18, 2026
Merged

fix: avoid double-prefixing in BaseConnection::callFunction()#9959
michalsn merged 1 commit intocodeigniter4:developfrom
michalsn:fix/function-call

Conversation

@michalsn
Copy link
Member

Description
This PR fixes a bug where BaseConnection::callFunction() could incorrectly prepend the driver function prefix even when the passed function name was already prefixed.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added bug Verified issues on the current code behavior or pull requests that will fix them database Issues or pull requests that affect the database layer labels Feb 18, 2026
@michalsn michalsn merged commit c0c7792 into codeigniter4:develop Feb 18, 2026
50 checks passed
@michalsn
Copy link
Member Author

Thank you for the reviews!

@michalsn michalsn deleted the fix/function-call branch February 18, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them database Issues or pull requests that affect the database layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments