diff options
author | Ben Pfaff <blp@nicira.com> | 2011-07-26 10:24:17 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-07-26 16:50:09 -0700 |
commit | da897f41cd795e325ec5ce773a70a819100bd26e (patch) | |
tree | 23635409122e1f95c3a73af8b8f50b8495ab0ef6 /tests | |
parent | e317253b1391c7b0a84c8dd51eaf1f3cc16eff56 (diff) |
ovsdb: Implement a "lock" feature in the database protocol.
This provides clients a way to coordinate their access to the database.
This is a voluntary, not mandatory, locking protocols, that is, clients
are not prevented from modifying the database unless they cooperate with
the locking protocol. It is also not related to any of the ACID properties
of database transactions. It is strictly a way for clients to coordinate
among themselves.
The following commit will introduce one user.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-ovsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c index e151dd8b..1cdf69ae 100644 --- a/tests/test-ovsdb.c +++ b/tests/test-ovsdb.c @@ -1258,7 +1258,7 @@ do_execute(int argc OVS_UNUSED, char *argv[]) char *s; params = parse_json(argv[i]); - result = ovsdb_execute(db, params, 0, NULL); + result = ovsdb_execute(db, NULL, params, 0, NULL); s = json_to_string(result, JSSF_SORT); printf("%s\n", s); free(s); |