Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.6.0-rc0
-
ALL
-
Description
When creating a hashed index over an array we get the wrong error code.
Actual:
WriteResult({
|
"nInserted" : 0,
|
"writeError" : {
|
"code" : 1,
|
"errmsg" : "Error: hashed indexes do not currently support array values"
|
}
|
})
|
Expected:
WriteResult({
|
"nInserted" : 0,
|
"writeError" : {
|
"code" : 16766,
|
"errmsg" : "Error: hashed indexes do not currently support array values"
|
}
|
})
|