|
Issue Links:
|
Related
|
|
is related to
|
SERVER-58738
|
Update command response does not prop...
|
Backlog
|
|
| Assigned Teams: |
Query Execution
|
| Operating System: |
ALL
|
| Steps To Reproduce: |
> db.test.insertMany([{x: NumberInt("2")}, {x: "1,200"}])
|
{
|
"acknowledged" : true,
|
"insertedIds" : [
|
ObjectId("64af67c7b991883f3227645d"),
|
ObjectId("64af67c7b991883f3227645e")
|
]
|
}
|
> db.runCommand({delete: 'test', deletes: [{q: {$expr: {$toDecimal: "$x"}}, limit: 0}]})
|
{
|
"n" : 0, // This should be 1.
|
"writeErrors" : [
|
{
|
"index" : 0,
|
"code" : 241,
|
"errmsg" : "Failed to parse number '1,200' in $convert with no onError value: Failed to parse string to decimal"
|
}
|
],
|
"ok" : 1
|
}
|
> db.test.find()
|
{ "_id" : ObjectId("64af67c7b991883f3227645e"), "x" : "1,200" }
|
|
| Sprint: |
QE 2023-08-07, QE 2023-08-21, QE 2023-09-04, QE 2023-09-18, QE 2023-10-02, QE 2023-10-16, QE 2023-10-30, QE 2023-11-13, QE 2023-11-27, QE 2023-12-11, QE 2023-12-25, QE 2024-01-08, QE 2024-01-22, QE 2024-02-05, QE 2024-02-19 |
| Participants: |
|