[haiku-bugs] [Haiku] #10976: [BFS] Inconsistent query results between theoretically comparable predicates for certain filenames

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 24 Jun 2014 00:08:13 -0000

#10976: [BFS] Inconsistent query results between theoretically comparable
predicates for certain filenames
------------------------------+------------------------------
 Reporter:  anevilyak         |        Owner:  axeld
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  R1
Component:  File Systems/BFS  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 Attached is a test program which creates a test file on the boot volume,
 whose name contains a single quotation mark. It then attempts to query the
 volume for said file, using both a simple predicate constructed by hand,
 as well as one generated automatically via the RPN-style {{{Push*()}}}
 methods. The former finds the file as expected. However, the latter does
 not.

 Similar behavior can be observed when asking Tracker to find the file by
 name, though the latter uses the same RPN methodology to construct the
 query, with the distinction that 1) it encloses it in wild cards, and 2)
 it asks for a case insensitive match. Nonetheless, the result is the same,
 which is to say no results are returned.

 Behavior on R5 has not yet been verified, but results will be posted as
 soon as available. Assigning this ticket to BFS until it can be
 ascertained if the problem is in BQuery or in BFS's parsing logic.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10976>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: