diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2018-03-21 21:08:20 +0000 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2018-03-22 03:36:43 +0000 |
commit | 40d59f4bc8eec0fc585edec0f2c8833f09a4a853 (patch) | |
tree | f5654a7274c4925ad3be8d46e305f8478894c445 /src/mongo/idl/unittest.idl | |
parent | b7178eca18c1a56b05eb206fa9d202345c128df5 (diff) | |
download | mongo-40d59f4bc8eec0fc585edec0f2c8833f09a4a853.tar.gz |
SERVER-14900 Log operations that exceed slowMs on mongoS
Diffstat (limited to 'src/mongo/idl/unittest.idl')
-rw-r--r-- | src/mongo/idl/unittest.idl | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl index 01475aeccdc..4b35bea4702 100644 --- a/src/mongo/idl/unittest.idl +++ b/src/mongo/idl/unittest.idl @@ -68,22 +68,6 @@ types: ################################################################################################## # -# Test types that accept multiple serialization types -# -################################################################################################## - - safeInt32: - description: Accepts any numerical type within int32 range - cpp_type: std::int64_t - bson_serialization_type: - - long - - int - - decimal - - double - deserializer: "mongo::BSONElement::numberInt" - -################################################################################################## -# # Test types used in parser chaining testing # ################################################################################################## @@ -615,4 +599,18 @@ commands: type: string cpp_name: WellNamedCommand fields: - field1: int
\ No newline at end of file + field1: int + + int_type_command: + description: Command with custom type int + namespace: type + type: int + fields: + field1: int + + int_array_type_command: + description: Command with custom type for array of int + namespace: type + type: array<int> + fields: + field1: int |