This repository was archived by the owner on Feb 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 323
Fixed transaction issues with GridFS #45
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0b128a5
Added a test case for PHP-310
derickr bd1b24e
Fixed some more memory leaks with GridFS.
derickr a9420d8
Allow GridFS files to be deleted by any type of ID.
derickr d868854
Fixed PHP-310: reverting with GridFS.
derickr 73b657a
Update test case. In order for this to work, you need safe mode.
derickr fa6d707
Force safe-mode for the meta-record of gridfs.
derickr 04e6a5c
Rename to correct bug number.
derickr 99b7163
Add expected result to test.
derickr 5bbf4b0
Fixed a memory leak when not freeing a cursor.
derickr b31f07b
Also implement the cleanups for storeBytes
derickr 472026c
Added a test case for storeBytes() case as well.
derickr dc98d5f
Added a test case for GridFS::delete() with random types for the _id …
derickr bc6e7c5
Added splitting of the options array as we're modifying it, and make …
derickr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you need to separate the zval to not modify the original array here?
Infact.. I don't see where the input argument is ever forced as array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Mon, 20 Feb 2012, Hannes Magnusson wrote:
Hmm, good point :-)
Also a good point. I noticed that in a lot of cases just a "z" is used
and not the actual. In this case however, changing "s|az" tp "s|as"
would be correct.
cheers,
Derick
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug