Project

General

Profile

empty_can_find.patch

Alexandru Lungu, 03/07/2023 04:58 AM

Download (662 Bytes)

View differences:

new/src/com/goldencode/p2j/persist/FindQuery.java 2023-02-28 12:43:51 +0000
811 811
      // otherwise the query is not accessing records by their rowid or the value is positive so
812 812
      // it must be checked against the database
813 813
      
814
      // short-circuit; we may already know that the table is empty so we "can't find anything"
815
      if (buffer.isTableDefinitelyEmpty())
816
      {
817
         return false;
818
      }
819
      
814 820
      boolean unique = false;
815 821
      
816 822
      switch (canFindMode)