Re: [ovs-dev] [PATCH] ovsdb-client: Avoid assertion with multiple databases.

2013-05-06 Thread Justin Pettit
On May 6, 2013, at 3:43 PM, Ben Pfaff wrote: > On Mon, May 06, 2013 at 12:50:52PM -0700, Justin Pettit wrote: >> When using ovsdb-client with an ovsdb-server with multiple databases, an >> assertion could trigger due to them being returned in non-sorted order. >> This commit changes the fetch_dbs

Re: [ovs-dev] [PATCH] ovsdb-client: Avoid assertion with multiple databases.

2013-05-06 Thread Ben Pfaff
On Mon, May 06, 2013 at 12:50:52PM -0700, Justin Pettit wrote: > When using ovsdb-client with an ovsdb-server with multiple databases, an > assertion could trigger due to them being returned in non-sorted order. > This commit changes the fetch_dbs() function to always return databases > in sorted o

[ovs-dev] [PATCH] ovsdb-client: Avoid assertion with multiple databases.

2013-05-06 Thread Justin Pettit
When using ovsdb-client with an ovsdb-server with multiple databases, an assertion could trigger due to them being returned in non-sorted order. This commit changes the fetch_dbs() function to always return databases in sorted order, since both callers are expecting that behavior. Signed-off-by: J