ovsdb: Implement a "lock" feature in the database protocol.
[openvswitch] / ovsdb / ovsdb-tool.c
index 822eb6b2edc68e6b5abcd9a0d63cf0531e27baba..74dfa5a5b99ffa84e5df63edccbe475ebc38fe42 100644 (file)
@@ -311,7 +311,7 @@ transact(bool read_only, const char *db_file_name, const char *transaction)
     check_ovsdb_error(ovsdb_file_open(db_file_name, read_only, &db, NULL));
 
     request = parse_json(transaction);
-    result = ovsdb_execute(db, request, 0, NULL);
+    result = ovsdb_execute(db, NULL, request, 0, NULL);
     json_destroy(request);
 
     print_and_free_json(result);