Audit fixes (2026-09) - #5
Merged
Merged
Conversation
… #262/#263)
- Add run() to DbOpsInterface (unified execute-and-report shape), implemented natively by SapiDbOps (behind function_exists('ephpm_db_run')) and by the pdo_sqlite test double.
- Db::_do_query() now calls run() once instead of hand-rolling first-keyword routing between ephpm_db_query()/ephpm_db_execute(); has_rowset is read from the executed statement.
- Column names come from the statement metadata (ephpm_db_run/ephpm_db_columns), so get_col_info() works after a zero-row SELECT — removing the documented empty-rowset limitation. Updated its test.
- SapiDbOps keeps the older-ePHPm floor via a query()/execute()+columns() fallback; the translation layer is untouched.
- Refresh current-release string v0.8.6 -> v0.10.2.
|
ePHPm Preview — removed Preview deployment has been torn down. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Audited DB-bridge fixes for db-wordpress. Adopts the newer
ephpm_db_*natives (#259-#263: run/columns/in_transaction) behindfunction_exists(v0.6.3 floor preserved), fixes the\'->''escaping on the tenant path where present, and refreshes docs/CI. Tests added/updated (agent ran suites green in a php:8.3 container).