<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11:45 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-1160] configure flag for MONGOC_NO_AUTOMATIC_GLOBALS</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1160</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;mongoc uses nondeterministic constructors and destructors to automatically init and cleanup mongoc.&lt;/p&gt;

&lt;p&gt;This is contrast to our documented requirement of needing explicit mongoc_init () and mongoc_cleanup ().&lt;br/&gt;
It is also compiler specific, along with being platforms specific.&lt;br/&gt;
It also creates absurd situations when the memory allocator is overloaded.&lt;/p&gt;


&lt;p&gt;A flag was added for this, which defaults to false &amp;#8211; but we have no way of configuring this behavior to turn it off, other then explicit via cflags.&lt;/p&gt;

&lt;p&gt;We should add &lt;tt&gt;--enable-automatic-globals=[default yes]&lt;/tt&gt;. Or maybe even default to false since this has been undocumented behavior all along?&lt;/p&gt;</description>
                <environment></environment>
        <key id="272747">CDRIVER-1160</key>
            <summary>configure flag for MONGOC_NO_AUTOMATIC_GLOBALS</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="bjori">Hannes Magnusson</assignee>
                                    <reporter username="bjori">Hannes Magnusson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Mar 2016 20:32:40 +0000</created>
                <updated>Fri, 27 May 2016 04:23:24 +0000</updated>
                            <resolved>Mon, 21 Mar 2016 20:49:40 +0000</resolved>
                                    <version>1.4.0</version>
                                    <fixVersion>1.3.5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1210160" author="xgen-internal-githook" created="Mon, 21 Mar 2016 20:16:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1160&quot; title=&quot;configure flag for MONGOC_NO_AUTOMATIC_GLOBALS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1160&quot;&gt;&lt;del&gt;CDRIVER-1160&lt;/del&gt;&lt;/a&gt;: configure flag for MONGOC_NO_AUTOMATIC_GLOBALS&lt;br/&gt;
Branch: r1.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3c2a0efa57cc3f06715a5f26883f2154ce2612c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3c2a0efa57cc3f06715a5f26883f2154ce2612c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1210157" author="xgen-internal-githook" created="Mon, 21 Mar 2016 20:15:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1160&quot; title=&quot;configure flag for MONGOC_NO_AUTOMATIC_GLOBALS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1160&quot;&gt;&lt;del&gt;CDRIVER-1160&lt;/del&gt;&lt;/a&gt;: configure flag for MONGOC_NO_AUTOMATIC_GLOBALS&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4c7633683b95c212637bb32d431becc358bcf036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4c7633683b95c212637bb32d431becc358bcf036&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1206488" author="jesse" created="Thu, 17 Mar 2016 11:48:56 +0000"  >&lt;p&gt;Let&apos;s update the Debian package to compile the driver with auto-initialization turned off.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="276092">PHPC-657</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="273616">CDRIVER-1165</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="191911">CDRIVER-592</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="287026">CDRIVER-1233</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="272532">PHPC-632</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hsjgcn:</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>