Hi all,

I am hitting a failure in fts3rank test on big-endian architectures (ppc64, s390x; logs in [1][2]) running Fedora rawhide:

Time: fts3query.test 515 ms
! fts3expr5-1.5 expected: [1 {invalid matchinfo blob passed to function rank()}]
! fts3expr5-1.5 got:      [1 {wrong number of arguments to function rank()}]
Time: fts3rank.test 12 ms

This seems to have been introduced in version 3.21.0 (but is still present in 3.22.0). Checking the source of the failing test case it looks like an endianess issue due to the blob:

do_catchsql_test 1.5 {
  SELECT * FROM t1 ORDER BY rank(x'0100000001000000') DESC, rowid
} {1 {invalid matchinfo blob passed to function rank()}}

Seems similar to a different issue I hit before with fts3conf.test (fixed in [3]).

Petr

[1] https://kojipkgs.fedoraproject.org//work/tasks/2189/24412189/build.log
[2] https://kojipkgs.fedoraproject.org//work/tasks/2191/24412191/build.log
[3] https://www.sqlite.org/src/info/87ccdf9cbb928455

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to