diff options
author | Ben Pfaff <blp@nicira.com> | 2011-06-01 16:14:46 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-06-06 08:58:02 -0700 |
commit | 1cb29ab050c601448a89eb7311a9f07095921bbd (patch) | |
tree | 0b7fad0cb8643886cfc8c5707f7a9a8c908548e0 /tests | |
parent | 9d9a0a0452a957472b0f3a9c132aea19cfb4e568 (diff) |
ovsdb: Make ovsdb_column_set_from_json() take table schema instead of table.
This function took a struct ovsdb_table but only used the 'schema' member.
An upcoming patch needs to parse a column set when only the schema is
available, so to prepare for that this patch changes
ovsdb_column_set_from_json() to only take the schema that it really needs.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-ovsdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c index 8fe17276..5b8f4519 100644 --- a/tests/test-ovsdb.c +++ b/tests/test-ovsdb.c @@ -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. */ |