[ovs-git] Open vSwitch: ovsdb: Correctly implement conditions that include multiple clauses. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Nov 28 21:55:21 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  40f280c781639c24176e054abc20bb7270da9e7a (commit)
      from  2c8fcc9cd6a7bbb948f6c79879e89c7ed791c9b1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 40f280c781639c24176e054abc20bb7270da9e7a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=40f280c781639c24176e054abc20bb7270da9e7a
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Correctly implement conditions that include multiple clauses.
		
Multiple-clause conditions in OVSDB operations with "where" clauses are
supposed to be conjunctions, that is, the condition is true only if every
clause is true.  In fact, the implementation only checked a single clause
(not necessarily the first one) and ignored the rest.  This fixes the
problem and adds test coverage for multiple-clause conditions.

Reported-by: Shih-Hao Li <shli at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 ovsdb/condition.c        |   93 +++++++++++++++++++++++++---------------------
 tests/ovsdb-condition.at |   52 ++++++++++++++++++--------
 2 files changed, 87 insertions(+), 58 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list