ovsdb-data: Short-circuit ovsdb_datum_includes_all() in trivial case.
[openvswitch] / lib / table.c
index 86366d0dca90cdaf2bf3e6f1e5771901f585a01b..ff11e7816ffcdccaf8dcd98dee1346a4f2636fc3 100644 (file)
@@ -23,6 +23,7 @@
 #include "dynamic-string.h"
 #include "json.h"
 #include "ovsdb-data.h"
+#include "ovsdb-error.h"
 #include "util.h"
 
 struct column {
@@ -54,6 +55,7 @@ cell_to_text(struct cell *cell, const struct table_style *style)
                     cell->text = ds_steal_cstr(&s);
                 } else {
                     cell->text = json_to_string(cell->json, JSSF_SORT);
+                    ovsdb_error_destroy(error);
                 }
             }
         } else {