Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SERVER-3771 -- part 1 (reissue 2) -- don't let 'prompt' become undefined #122

Merged
merged 1 commit into from
Nov 1, 2011

Conversation

tadmarshall
Copy link
Contributor

This is a reissue of my earlier fix. I'm trying to break them down into
bite-sized parts to make them easier to pull.

Test the return value from a call to a function prompt (included regex)
and only use it if it is a string. If we have no string prompt, display
the default prompt = sayReplSetMemberState()+"> "; . Edited for style.

This is a reissue of my earlier fix.  I'm trying to break them down into
bite-sized parts to make them easier to pull.

Test the return value from a call to a function prompt (included regex)
and only use it if it is a string.  If we have no string prompt, display
the default prompt = sayReplSetMemberState()+"> "; .  Edited for style.
erh added a commit that referenced this pull request Nov 1, 2011
SERVER-3771 -- part 1 (reissue 2) -- don't let 'prompt' become undefined
@erh erh merged commit 751896b into mongodb:master Nov 1, 2011
patrickfreed pushed a commit that referenced this pull request Dec 3, 2018
* Make BulkWriteOptions ordered argument optional

This preserves the true default value.

* Remove redundant ".json" suffix from CRUD test filenames

* Sort BulkWriteResult insertedIds before comparing

Swift dictionaries are unordered, while the spec tests assume a particular order. Sort the dictionary before comparison to avoid random test failures.

* Make insertMany() consistent with bulkWrite() and test continue-on-error

This introduces MongoError.insertManyError, which can include an InsertManyResult and any write/WC errors.

The CRUD test harness has been updated to respect the "error" outcome, while still verifying the write result (if available).

* Resync CRUD spec write tests

Synced with mongodb/specifications@76125be
BradBarnich pushed a commit to BradBarnich/mongo that referenced this pull request Feb 6, 2019
…ate-db

Add audit::logCreateDatabase event for mmapv1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants