<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:13 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-17] return value / error reporting overhaul</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-17</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;There is currently no way to know whether a bson operation succeeded or failed aside from if the program has exited or not.  A different setup by which errors could be handled in the calling program would be preferable.&lt;/p&gt;

&lt;p&gt;Currently, most functions in the api return the bson* or bson_buffer* they were provided and exit() on error.  In most cases, these pointers are not useful.  One possible solution involves returning negative errors on failure, with the option to register an abortive error handler callback.&lt;/p&gt;

&lt;p&gt;This type of change would break old code, but make future code significantly more robust.&lt;/p&gt;</description>
                <environment>all</environment>
        <key id="12273">CDRIVER-17</key>
            <summary>return value / error reporting overhaul</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="kbanker">Kyle Banker</assignee>
                                    <reporter username="dkuebric">dan k</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Jun 2010 16:38:12 +0000</created>
                <updated>Wed, 19 Oct 2016 22:33:18 +0000</updated>
                            <resolved>Thu, 7 Jul 2011 19:22:52 +0000</resolved>
                                                    <fixVersion>0.4</fixVersion>
                                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="35651" author="auto" created="Wed, 1 Jun 2011 22:14:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;banker&apos;, u&apos;name&apos;: u&apos;Kyle Banker&apos;, u&apos;email&apos;: u&apos;kylebanker@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-17&quot; title=&quot;return value / error reporting overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-17&quot;&gt;&lt;del&gt;CDRIVER-17&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-70&quot; title=&quot;Store last error status in connection object.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-70&quot;&gt;&lt;del&gt;CDRIVER-70&lt;/del&gt;&lt;/a&gt; Continued error overhaul. Removed&lt;br/&gt;
C-based exception mechanism. getlasterror commands store&lt;br/&gt;
result in connection object.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ce41c067593db63c18803ad8c3c69c031186bbc9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ce41c067593db63c18803ad8c3c69c031186bbc9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="35650" author="auto" created="Wed, 1 Jun 2011 22:14:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;banker&apos;, u&apos;name&apos;: u&apos;Kyle Banker&apos;, u&apos;email&apos;: u&apos;kylebanker@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-17&quot; title=&quot;return value / error reporting overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-17&quot;&gt;&lt;del&gt;CDRIVER-17&lt;/del&gt;&lt;/a&gt; BSON error reporting overhaul&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9370ecd353da522df7fbd3143392f3db30efb00a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9370ecd353da522df7fbd3143392f3db30efb00a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="33571" author="auto" created="Thu, 19 May 2011 21:10:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;banker&apos;, u&apos;name&apos;: u&apos;Kyle Banker&apos;, u&apos;email&apos;: u&apos;kylebanker@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-49&quot; title=&quot;Check for valid field names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-49&quot;&gt;&lt;del&gt;CDRIVER-49&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-60&quot; title=&quot;Check for UTF-8 strings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-60&quot;&gt;&lt;del&gt;CDRIVER-60&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-17&quot; title=&quot;return value / error reporting overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-17&quot;&gt;&lt;del&gt;CDRIVER-17&lt;/del&gt;&lt;/a&gt; Check field names, utf8, and start of new error API.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/24e9c5d9bbbc3124ecd52ea18b5575ecc311e540&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/24e9c5d9bbbc3124ecd52ea18b5575ecc311e540&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh727:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13943</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>