[tracker/wip/carlosg/backports-3.3: 4/7] tests: Specify missing order in test




commit 6c876ead4107da65bb0bf23dae554443c4c62887
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jul 3 22:32:23 2022 +0200

    tests: Specify missing order in test
    
    The order of the returned resultset was implicit and up to SQLite, but
    the order for this test started changing starting with SQLite 3.39.0.
    Make the order explicit, so that SQLite implementation details don't
    leak up here.
    
    Closes: https://gitlab.gnome.org/GNOME/tracker/-/issues/370

 tests/libtracker-data/algebra/filter-scope-1.rq | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/libtracker-data/algebra/filter-scope-1.rq b/tests/libtracker-data/algebra/filter-scope-1.rq
index 7ee5a24ad..a8cd89ca9 100644
--- a/tests/libtracker-data/algebra/filter-scope-1.rq
+++ b/tests/libtracker-data/algebra/filter-scope-1.rq
@@ -7,3 +7,4 @@ SELECT ?v ?w ?v2
       OPTIONAL {  :x :p ?v2 FILTER(?v = 1) }
     }
 }
+ORDER BY ?v ?w ?v2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]