manifold.js disabled TYPE_LIST_OF_RECORDS in _record_equals
authorLoic Baron <loic.baron@lip6.fr>
Sun, 5 Oct 2014 15:55:31 +0000 (17:55 +0200)
committerLoic Baron <loic.baron@lip6.fr>
Sun, 5 Oct 2014 15:55:31 +0000 (17:55 +0200)
manifoldapi/static/js/manifold.js

index e2b06cf..ca111de 100644 (file)
@@ -785,6 +785,7 @@ var manifold = {
             switch (this_type) {
                 case TYPE_VALUE:
                 case TYPE_LIST_OF_VALUES:
+                case TYPE_LIST_OF_RECORDS:
                     if (this_value != other_value)
                         return false;
                     break;
@@ -792,6 +793,9 @@ var manifold = {
                     if (!(_record_equals(this_value, other_value, key_fields)))
                         return false;
                     break;
+                /*
+                XXX WARNING = disabled for OpenFlow plugin !!!
+
                 case TYPE_LIST_OF_RECORDS:
                     if (this_value.length != other_value.length)
                         return false;
@@ -799,6 +803,7 @@ var manifold = {
                         if (!(_record_equals(this_value[j], other_value[j], key_fields)))
                             return false;
                     break;
+                */
             }
         }
         return true;