<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:38 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>[SERVER-1300] use memcmp, not strcmp for comparing BSON strings</title>
                <link>https://jira.mongodb.org/browse/SERVER-1300</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Don&apos;t want to stop at &apos;\0&apos;. Note will change index order in some cases.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12253">SERVER-1300</key>
            <summary>use memcmp, not strcmp for comparing BSON strings</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="dwight@mongodb.com">Dwight Merriman</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Jun 2010 12:00:34 +0000</created>
                <updated>Tue, 12 Jul 2016 00:27:25 +0000</updated>
                            <resolved>Fri, 1 Jul 2011 19:19:34 +0000</resolved>
                                                    <fixVersion>1.9.1</fixVersion>
                                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="48669" author="mag" created="Mon, 15 Aug 2011 20:32:56 +0000"  >&lt;p&gt;i&apos;m still using 1.4.0. might be obsolete in the meantime,.&lt;br/&gt;
i think these indexing options have been added later on? willl take a look into that... &lt;br/&gt;
(was just a kwick hack to make it working)&lt;/p&gt;</comment>
                            <comment id="48665" author="redbeard0531" created="Mon, 15 Aug 2011 20:13:21 +0000"  >&lt;p&gt;@Mario, Please don&apos;t do that as it will break indexing. See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-90&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-90&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1920&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-1920&lt;/a&gt; for the correct solution.&lt;/p&gt;</comment>
                            <comment id="48662" author="mag" created="Mon, 15 Aug 2011 20:01:31 +0000"  >&lt;p&gt;i guess this could cause problems later on when going to i18n?&lt;br/&gt;
in my local installation i use strcoll() in jsobj.h to enable locale sensitive sorting which seems to work well for my purposes..&lt;/p&gt;</comment>
                            <comment id="48475" author="dwight_10gen" created="Sat, 13 Aug 2011 13:26:33 +0000"  >&lt;p&gt;some users store unicode via bson without translation?&lt;/p&gt;

&lt;p&gt;i guess nothing bad would happen except regex won&apos;t work&lt;/p&gt;</comment>
                            <comment id="48458" author="redbeard0531" created="Sat, 13 Aug 2011 00:17:28 +0000"  >&lt;p&gt;Since NUL is a valid unicode code point it is possible for users to have it in their strings. I think most drivers allow it.&lt;/p&gt;</comment>
                            <comment id="48444" author="cwestin" created="Fri, 12 Aug 2011 22:29:28 +0000"  >&lt;p&gt;Can you say more about the rationale for this change?  According to &lt;a href=&quot;http://en.wikipedia.org/wiki/UTF-8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://en.wikipedia.org/wiki/UTF-8&lt;/a&gt;, because the continuation bytes always start with a 10 bit pattern, they are never zero, so a null byte should never occur in the middle of a string.  So what was the concern that led to the conclusion we should use memcmp() instead of strcmp()?&lt;/p&gt;</comment>
                            <comment id="35935" author="dwight_10gen" created="Fri, 3 Jun 2011 13:56:47 +0000"  >
&lt;p&gt;e104e01f8410cef79e29e766d66133458df85220&lt;/p&gt;</comment>
                            <comment id="31532" author="auto" created="Mon, 9 May 2011 02:13:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;dwight&apos;, u&apos;name&apos;: u&apos;dwight&apos;, u&apos;email&apos;: u&apos;dwight@10gen.com&apos;}
&lt;p&gt;Message: towards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1300&quot; title=&quot;use memcmp, not strcmp for comparing BSON strings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1300&quot;&gt;&lt;del&gt;SERVER-1300&lt;/del&gt;&lt;/a&gt; allow zeros in utf8 strings&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4d72b66db321d11841bc885613d2948a8c56db6b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4d72b66db321d11841bc885613d2948a8c56db6b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="29355" author="dwight_10gen" created="Wed, 20 Apr 2011 12:04:09 +0000"  >&lt;p&gt;not quite sure how to do this seamlessly with backward compatibility (old indexes still working).  i suppose it would behave exactly the same for strings without embedded nulls.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20528">SERVER-3538</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="21062">SERVER-3614</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="10892">SERVER-429</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 20 Apr 2011 12:04:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 27 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 27 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>cwestin</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>mag</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpksn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrikov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22004</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hszzdr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>