[SERVER-9631] Client example changes Created: 09/May/13  Updated: 11/Jul/16  Resolved: 01/Jul/13

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.4.3
Fix Version/s: 2.5.1

Type: Improvement Priority: Minor - P4
Reporter: Abhijit Chandrakant Pawar Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux build


Backwards Compatibility: Fully Compatible
Participants:

 Description   

1. client/example: Port number parameter message

Provide the error message if the port number parameter is not provided.

2. client/example: use uniform coding style for verify macro

Change the MONGO_verify macro usage to verify so as to make the examples make use of the uniform coding style

3. client/example: cursor check and return values

Check for the valid cursor before moving forward and add the correct return values for the application exit.



 Comments   
Comment by Matt Kangas [ 14/May/13 ]

Note: this pull request only touches files under src/mongo/client/examples. Risk of merging is minimal.

Comment by Abhijit Chandrakant Pawar [ 09/May/13 ]

Added patch to fix this issue.

Generated at Thu Feb 08 03:21:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.