git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INSTALL.Linux: Mention that SSL options require building with SSL support.
[sliver-openvswitch.git]
/
ovsdb
/
mutation.c
diff --git
a/ovsdb/mutation.c
b/ovsdb/mutation.c
index
bd6986d
..
9f09d59
100644
(file)
--- a/
ovsdb/mutation.c
+++ b/
ovsdb/mutation.c
@@
-310,7
+310,7
@@
mutate_scalar(const struct ovsdb_type *dst_type, struct ovsdb_datum *dst,
}
}
}
}
- error = ovsdb_datum_sort(dst, dst_type);
+ error = ovsdb_datum_sort(dst, dst_type
->key.type
);
if (error) {
ovsdb_error_destroy(error);
return ovsdb_error("constraint violation",
if (error) {
ovsdb_error_destroy(error);
return ovsdb_error("constraint violation",
@@
-379,6
+379,9
@@
ovsdb_mutation_set_execute(struct ovsdb_row *row,
ovsdb_datum_subtract(dst, dst_type, arg, arg_type);
error = ovsdb_mutation_check_count(dst, dst_type);
break;
ovsdb_datum_subtract(dst, dst_type, arg, arg_type);
error = ovsdb_mutation_check_count(dst, dst_type);
break;
+
+ default:
+ NOT_REACHED();
}
if (error) {
return error;
}
if (error) {
return error;