[CDRIVER-1104] Remove -priv.so and MONGOC_I_AM_A_DRIVER Created: 09/Feb/16  Updated: 08/Aug/17  Resolved: 16/May/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Improvement Priority: Major - P3
Reporter: Hannes Magnusson Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Public API for PHP drivers

 Description   

Currently we compile both libmongoc.so and libmongoc-priv.so as a workaround for drivers written ontop of mongoc to be able to access some of our gory internals.

Once bulk of CDRIVER-1062 has been fixed, we should remove this completely, including the MONGOC_I_AM_A_DRIVER checks



 Comments   
Comment by Githook User [ 08/Aug/17 ]

Author:

{'username': 'ajdavis', 'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis'}

Message: Merge remote-tracking branch 'upstream/master'

Comment by Githook User [ 07/Aug/17 ]

Author:

{'username': 'bjori', 'email': 'bjori@php.net', 'name': 'Hannes Magnusson'}

Message: CDRIVER-1104 Don't error when adding -pthread on clang
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b51fdf8fd39d9c1e220d5b9bd057f52bb2aa6e40

Comment by Githook User [ 07/Aug/17 ]

Author:

{'name': 'Hannes Magnusson', 'username': 'bjori', 'email': 'bjori@php.net'}

Message: CDRIVER-1104 Actually remove the -priv.so creation
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/225a0f86490648ce886de24f29728dc9a13e048d

Comment by Githook User [ 18/May/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1104: Remove no-longer-used MONGOC_I_AM_A_DRIVER
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5b00c86a795d0d1b416ab42b8871ae981853ace4

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1104 remove MONGOC_I_AM_A_DRIVER and libmongoc-priv

PHP drivers need no longer define the MONGOC_I_AM_A_DRIVER preprocessor
symbol or access private APIs. The check is removed from headers, and
libmongoc-priv.so is no longer installed.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5b0ed27c9a9ddc4f39fcafa97e1d52228752d7ca

Generated at Wed Feb 07 21:11:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.