Repository navigation
Backport executeaudited stable5 - #5640
Merged
Merged
Conversation
Conflicts: lib/files/cache/cache.php
|
Test failed. |
Contributor
Author
|
@VicDeo @DeepDiver1975 please review |
|
Test passed. |
updated some PHPDoc comments fixing undefined variable in line 789 - actually unrelated but well ....
|
Test passed. |
Contributor
|
👍 Looks good |
Contributor
|
👍 I'm happy with this code now as well |
DeepDiver1975
added a commit
that referenced
this pull request
Oct 31, 2013
Backport executeaudited stable5
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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