mirror of https://github.com/mongodb/mongo
SERVER-115513: move bson_utf8 logic into validate (#45196)
GitOrigin-RevId: 2c89f66e82680f6b45ad40886610eb72f6459e98
This commit is contained in:
parent
02888731a6
commit
02472279a6
|
|
@ -123,7 +123,6 @@ mongo_cc_library(
|
||||||
"//src/mongo/base:validate_locale.cpp",
|
"//src/mongo/base:validate_locale.cpp",
|
||||||
"//src/mongo/bson:bson_comparator_interface_base.cpp",
|
"//src/mongo/bson:bson_comparator_interface_base.cpp",
|
||||||
"//src/mongo/bson:bson_depth.cpp",
|
"//src/mongo/bson:bson_depth.cpp",
|
||||||
"//src/mongo/bson:bson_utf8.cpp",
|
|
||||||
"//src/mongo/bson:bsonelement.cpp",
|
"//src/mongo/bson:bsonelement.cpp",
|
||||||
"//src/mongo/bson:bsonelementvalue.cpp",
|
"//src/mongo/bson:bsonelementvalue.cpp",
|
||||||
"//src/mongo/bson:bsonmisc.cpp",
|
"//src/mongo/bson:bsonmisc.cpp",
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ mongo_cc_unit_test(
|
||||||
"bson_iterator_test.cpp",
|
"bson_iterator_test.cpp",
|
||||||
"bson_obj_data_type_test.cpp",
|
"bson_obj_data_type_test.cpp",
|
||||||
"bson_obj_test.cpp",
|
"bson_obj_test.cpp",
|
||||||
"bson_utf8_test.cpp",
|
|
||||||
"bson_validate_test.cpp",
|
"bson_validate_test.cpp",
|
||||||
"bsonelement_test.cpp",
|
"bsonelement_test.cpp",
|
||||||
"bsonobjbuilder_test.cpp",
|
"bsonobjbuilder_test.cpp",
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,6 @@ extern "C" {
|
||||||
#include "mongo/base/error_codes.h"
|
#include "mongo/base/error_codes.h"
|
||||||
#include "mongo/base/status.h"
|
#include "mongo/base/status.h"
|
||||||
#include "mongo/bson/bson_depth.h"
|
#include "mongo/bson/bson_depth.h"
|
||||||
#include "mongo/bson/bson_utf8.h"
|
|
||||||
#include "mongo/bson/bsonmisc.h"
|
#include "mongo/bson/bsonmisc.h"
|
||||||
#include "mongo/bson/bsonobj.h"
|
#include "mongo/bson/bsonobj.h"
|
||||||
#include "mongo/bson/bsonobjbuilder.h"
|
#include "mongo/bson/bsonobjbuilder.h"
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ mongo_cc_library(
|
||||||
mongo_cc_library(
|
mongo_cc_library(
|
||||||
name = "validate_results",
|
name = "validate_results",
|
||||||
srcs = [
|
srcs = [
|
||||||
|
"bson_utf8.cpp",
|
||||||
"validate_results.cpp",
|
"validate_results.cpp",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
|
|
@ -103,6 +104,7 @@ mongo_cc_library(
|
||||||
mongo_cc_unit_test(
|
mongo_cc_unit_test(
|
||||||
name = "db_validate_test",
|
name = "db_validate_test",
|
||||||
srcs = [
|
srcs = [
|
||||||
|
"bson_utf8_test.cpp",
|
||||||
"collection_validation_test.cpp",
|
"collection_validation_test.cpp",
|
||||||
"index_consistency_test.cpp",
|
"index_consistency_test.cpp",
|
||||||
"validate_results_test.cpp",
|
"validate_results_test.cpp",
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
* it in the license file.
|
* it in the license file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mongo/bson/bson_utf8.h"
|
#include "mongo/db/validate/bson_utf8.h"
|
||||||
|
|
||||||
#include "mongo/base/string_data.h"
|
#include "mongo/base/string_data.h"
|
||||||
#include "mongo/bson/bsonelement.h"
|
#include "mongo/bson/bsonelement.h"
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
* it in the license file.
|
* it in the license file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mongo/bson/bson_utf8.h"
|
#include "mongo/db/validate/bson_utf8.h"
|
||||||
|
|
||||||
#include "mongo/base/string_data.h"
|
#include "mongo/base/string_data.h"
|
||||||
#include "mongo/bson/bsonmisc.h"
|
#include "mongo/bson/bsonmisc.h"
|
||||||
|
|
@ -30,9 +30,9 @@
|
||||||
#include "mongo/db/validate/validate_results.h"
|
#include "mongo/db/validate/validate_results.h"
|
||||||
|
|
||||||
#include "mongo/base/string_data.h"
|
#include "mongo/base/string_data.h"
|
||||||
#include "mongo/bson/bson_utf8.h"
|
|
||||||
#include "mongo/bson/bsonobj.h"
|
#include "mongo/bson/bsonobj.h"
|
||||||
#include "mongo/bson/bsonobjbuilder.h"
|
#include "mongo/bson/bsonobjbuilder.h"
|
||||||
|
#include "mongo/db/validate/bson_utf8.h"
|
||||||
#include "mongo/db/validate/validate_options.h"
|
#include "mongo/db/validate/validate_options.h"
|
||||||
#include "mongo/util/namespace_string_util.h"
|
#include "mongo/util/namespace_string_util.h"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue