Skip to content
Snippets Groups Projects
Commit 9d2b7b08 authored by Konstantin Shulgin's avatar Konstantin Shulgin
Browse files

Merge branch 'fix-box-check-config'

parents 7e9ab07f 713bca73
No related branches found
No related tags found
No related merge requests found
......@@ -1291,7 +1291,7 @@ mod_check_config(struct tarantool_cfg *conf)
continue;
}
if (namespace->enabled) {
if (!namespace->enabled) {
/* namespace disabled, skip it */
continue;
}
......@@ -1390,7 +1390,7 @@ mod_check_config(struct tarantool_cfg *conf)
case HASH:
/* check hash index */
/* hash index must has single-field key */
if (index_cardinality != 0) {
if (index_cardinality != 1) {
out_warning(0, "(namespace = %zu index = %zu) "
"hash index must has a single-field key", i, j);
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment