blob: f23587f4a08ce77db63d1628ce46c0a8fd3fcd1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// @tags: [
// requires_non_retryable_commands,
//
// # applyOps uses the oplog that require replication support
// requires_replication,
// ]
(function() {
'use strict';
// SERVER-33854: This should fail and not cause any invalid memory access.
assert.commandFailed(db.adminCommand(
{applyOps: [{'op': 'c', 'ns': 'admin.$cmd', 'o': {applyOps: [{'op': 'i', 'o': {x: 1}}]}}]}));
})();
|