Skip to content

Commit 43767c0

Browse files
committed
Bug #32765048 DEVAPI: UNIFORM ERROR MESSAGE WHEN REPLACING DOCUMENT
1 parent 2875993 commit 43767c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devapi/crud.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ struct Value_expr_check_id
264264
void str(const string &val) override
265265
{
266266
if (m_id != val)
267-
throw mysqlx::Error(R"(Document "_id" and replace id are different!)");
267+
throw mysqlx::Error(R"(Replacement document has an _id that is different than the matched document.)");
268268
m_value_prc->str(val);
269269
}
270270

0 commit comments

Comments
 (0)