1. 08 3月, 2000 3 次提交
    • T
      Someone (probably me) forgot about handling of typecasts applied to · 9606f362
      Tom Lane 提交于
      parameters.
      9606f362
    • B
      91124a2f
    • B
      Sorting for the inet data type randomly returns the wrong result · 52d39d51
      Bruce Momjian 提交于
      when you have networks with the same prefix, but different netmasks.
      
      This is due to the fact that occassionally there is random
      (uninitialized?)
      data in the extra bits past the point where the netmask cares about
      them.
      
      ie (real data from a real live database):
      
        10.0/10 == 00001010.00100000.00100000.00011000
        10.0/11 == 00001010.00000000.00000000.00000000
                              ^ Bad data, normally never seen
      
      The v4bitncmp() function was only taking one bit length argument so
      it would determine that the networks were different, even though
      they really aren't (and the netmask test wouldn't be used).  This
      ONLY happens if the tuple with the longer bit length is used as the
      ip_bits() for the v4bitncmp call AND there happens to be junk data
      in place in the shorter tuple.  Odd and random, but I saw it happen
      a couple times so...
      
      
      Ryan Mooney
      52d39d51
  2. 07 3月, 2000 1 次提交
  3. 06 3月, 2000 1 次提交
  4. 05 3月, 2000 2 次提交
  5. 03 3月, 2000 4 次提交
  6. 02 3月, 2000 9 次提交
  7. 01 3月, 2000 4 次提交
  8. 29 2月, 2000 4 次提交
  9. 28 2月, 2000 11 次提交
  10. 27 2月, 2000 1 次提交