ovsdb: Make ovsdb_column_set_from_json() take table schema instead of table.
[openvswitch] / tests / test-ovsdb.c
index 8fe1727671527d3647acd7a5b037880ab160719b..5b8f4519cb8bca095fe30310d9933d091420e48d 100644 (file)
@@ -1109,7 +1109,8 @@ do_query_distinct(int argc OVS_UNUSED, char *argv[])
 
     /* Parse column set. */
     json = parse_json(argv[4]);
-    check_ovsdb_error(ovsdb_column_set_from_json(json, table, &columns));
+    check_ovsdb_error(ovsdb_column_set_from_json(json, table->schema,
+                                                 &columns));
     json_destroy(json);
 
     /* Parse rows, add to table. */