Skip to content

Backport executeaudited stable5 - #5640

Merged
DeepDiver1975 merged 4 commits into
stable5from
backport_executeaudited_stable5
Oct 31, 2013
Merged

DeepDiver1975 merged 4 commits into
stable5from
backport_executeaudited_stable5

Conversation

@butonic

@butonic butonic commented Oct 30, 2013

Copy link
Copy Markdown
Contributor

while the executeAudited() wrapper of OC_DB has become obsolete in master with the introduction of doctrine stable5 still needs to check the result of statement executions because MDB2 is used at runtime when running on oracle, not only during schema migration.

The first commit of this PR is not really a backport from master, but rather a cherry pick of #3654 which made it into OC6 but was never backported to stable5.

The second commit uses executeAudited for all queries in the file cache. It makes debugging problems with the storage and cache parts of the filesystem a little bit less impossible. And I need that for a customer.

@DeepDiver1975 @icewind1991 @karlitschek

@ghost

ghost commented Oct 30, 2013

Copy link
Copy Markdown

Comment thread lib/files/cache/cache.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover

@butonic

butonic commented Oct 31, 2013

Copy link
Copy Markdown
Contributor Author

@VicDeo @DeepDiver1975 please review

@ghost

ghost commented Oct 31, 2013

Copy link
Copy Markdown

@ghost ghost assigned butonic Oct 31, 2013
updated some PHPDoc comments
fixing undefined variable in line 789 - actually unrelated but well ....
@ghost

ghost commented Oct 31, 2013

Copy link
Copy Markdown

@VicDeo

VicDeo commented Oct 31, 2013

Copy link
Copy Markdown
Contributor

👍 Looks good

@DeepDiver1975

Copy link
Copy Markdown
Contributor

👍 I'm happy with this code now as well

DeepDiver1975 added a commit that referenced this pull request Oct 31, 2013
@DeepDiver1975
DeepDiver1975 merged commit fb7cff5 into stable5 Oct 31, 2013
@DeepDiver1975
DeepDiver1975 deleted the backport_executeaudited_stable5 branch October 31, 2013 17:28
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants