[SERVER-21407] Match expression parsing class ExtensionsCallback should be a pure interface Created: 11/Nov/15  Updated: 05/Feb/16  Resolved: 22/Dec/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.3.0

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: David Storch
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QuInt E (01/11/16)
Participants:

 Description   

The match expression parsing class ExtensionsCallback defines all of its virtual methods; however, it is almost always an error to instantiate an ExtensionsCallback object directly, instead of using one of the derived classes (ExtensionsCallbackReal or ExtensionsCallbackNoop).

ExtensionsCallback should be changed to be a pure interface.



 Comments   
Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-21407 use ExtensionsCallbackDisallowExtensions in path_support_test
Branch: master
https://github.com/mongodb/mongo/commit/150376472b0accc353e1dfeefb730d509459c423

Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-21407 explicitly disallow $text/$where extensions during MatchExpression parsing
Branch: master
https://github.com/mongodb/mongo/commit/26bcf4ddd7e86885448e981f86aaf51fba0e2539

Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-21407 explicitly disallow $text/$where extensions during MatchExpression parsing
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/a60126ff273867341329279b3ab024fe9f7c3f25

Generated at Thu Feb 08 03:57:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.