Skip to content

Commit 91cf753

Browse files
author
Bogdan Degtyariov
committed
Merge branch 'master' of myrepo.no.oracle.com:mysql-connector-cpp
2 parents a03c4b7 + 79b66ed commit 91cf753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mysqlx/xdevapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ void CollectionOptions::do_set<CollectionOptions::VALIDATION>(CollectionValidati
12491249
m_data.validation.m_data.used.test(CollectionValidation::SCHEMA))
12501250
throw_error("Validation already set.");
12511251

1252-
m_data.used.test(CollectionOptions::VALIDATION);
1252+
m_data.used.set(CollectionOptions::VALIDATION);
12531253
m_data.validation.m_data.used.set(CollectionValidation::LEVEL);
12541254
m_data.validation.m_data.used.set(CollectionValidation::SCHEMA);
12551255

0 commit comments

Comments
 (0)