[SERVER-39865] [FLE] Reject equality to null for encrypted field in match expression Created: 27/Feb/19  Updated: 29/Oct/23  Resolved: 05/Mar/19

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

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-39233 [FLE] Implement method for replacing ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-03-11
Participants:

 Description   

Mongocryptd should reject such queries, since we cannot guarantee the same semantics as if a field were unencrypted. The reason is because documents with a missing encrypted field will not be returned if mongocryptd were to mark the 'null' value for encryption.



 Comments   
Comment by Githook User [ 05/Mar/19 ]

Author:

{'name': 'Nick Zolnierz', 'username': 'nzolnierzmdb', 'email': 'nicholas.zolnierz@mongodb.com'}

Message: SERVER-39865 Reject equality to null for encrypted field in match expression
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f7ad9bd3583f2d23035ea9b6d7746865e07099ae

Generated at Thu Feb 08 04:53:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.