<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:08:39 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>[MONGOCRYPT-431] Preserve $db</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-431</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If $db is included in the input command, preserve it in the output command.&lt;/li&gt;
	&lt;li&gt;If $db is not included in the input command, do not add it to the output command.&lt;/li&gt;
	&lt;li&gt;Always omit the $db to the command for mongocryptd.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Original description&lt;/b&gt;&lt;br/&gt;
Currently $db is stripped from the encryption result. With mongocryptd, .Net driver added $db field in MONGOCRYPT_CTX_NEED_MONGO_MARKINGS state. Adding an option to preserve $db, would eliminate the serialization roundtrip for adding $db field in .Net driver.&lt;br/&gt;
&#160;&lt;br/&gt;
/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;mongocrypt_ctx_setopt_include_db configures whether $db is included in the final command.&lt;/li&gt;
	&lt;li&gt;If include is true, $db is included in final command.&lt;/li&gt;
	&lt;li&gt;If include is false, $db is excluded in final command.&lt;/li&gt;
	&lt;li&gt;The default behavior is to exclude $db.&lt;br/&gt;
 */&lt;br/&gt;
MONGOCRYPT_EXPORT&lt;br/&gt;
bool&lt;br/&gt;
mongocrypt_ctx_setopt_include_db (mongocrypt_ctx_t *ctx, bool include);&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2049699">MONGOCRYPT-431</key>
            <summary>Preserve $db</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="boris.dogadov@mongodb.com">Boris Dogadov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 May 2022 16:17:33 +0000</created>
                <updated>Sat, 28 Oct 2023 10:25:45 +0000</updated>
                            <resolved>Mon, 23 May 2022 22:08:28 +0000</resolved>
                                                    <fixVersion>1.5.0-alpha2</fixVersion>
                    <fixVersion>1.5.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4567877" author="xgen-internal-githook" created="Mon, 23 May 2022 22:08:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-431&quot; title=&quot;Preserve $db&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-431&quot;&gt;&lt;del&gt;MONGOCRYPT-431&lt;/del&gt;&lt;/a&gt; Preserve $db (#343)&lt;/p&gt;

&lt;p&gt;Append $db to output if included in input.&lt;/p&gt;

&lt;p&gt;Always omit $db from command to mongocryptd.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/374828ea49b5f14c4ef3c57b02f09189219b36b2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/374828ea49b5f14c4ef3c57b02f09189219b36b2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <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|i0ea6o:</customfieldvalue>

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