1. 12 Jul, 2013 6 commits
    • Salvatore Sanfilippo's avatar
      Merge pull request #1193 from tnm/patch-1 · 34e20658
      Salvatore Sanfilippo authored
      Make sure the log standardizes on 'timeout'
      34e20658
    • Ted Nyman's avatar
      Make sure the log standardizes on 'timeout' · f39a0bdb
      Ted Nyman authored
      f39a0bdb
    • antirez's avatar
      123b221d
    • antirez's avatar
      SORT ALPHA: use collation instead of binary comparison. · cf1579a7
      antirez authored
      Note that we only do it when STORE is not used, otherwise we want an
      absolutely locale independent and binary safe sorting in order to ensure
      AOF / replication consistency.
      
      This is probably an unexpected behavior violating the least surprise
      rule, but there is currently no other simple / good alternative.
      cf1579a7
    • antirez's avatar
      Fixed compareStringObject() and introduced collateStringObject(). · 81e55ec0
      antirez authored
      compareStringObject was not always giving the same result when comparing
      two exact strings, but encoded as integers or as sds strings, since it
      switched to strcmp() when at least one of the strings were not sds
      encoded.
      
      For instance the two strings "123" and "123\x00456", where the first
      string was integer encoded, would result into the old implementation of
      compareStringObject() to return 0 as if the strings were equal, while
      instead the second string is "greater" than the first in a binary
      comparison.
      
      The same compasion, but with "123" encoded as sds string, would instead
      return a value < 0, as it is correct. It is not impossible that the
      above caused some obscure bug, since the comparison was not always
      deterministic, and compareStringObject() is used in the implementation
      of skiplists, hash tables, and so forth.
      
      At the same time, collateStringObject() was introduced by this commit, so
      that can be used by SORT command to return sorted strings usign
      collation instead of binary comparison. See next commit.
      81e55ec0
    • Salvatore Sanfilippo's avatar
      Merge pull request #1192 from badboy/ipv6-rediscli · 2ed64e1f
      Salvatore Sanfilippo authored
      Wrap IPv6 in brackets in the prompt.
      2ed64e1f
  2. 11 Jul, 2013 4 commits
  3. 10 Jul, 2013 3 commits
  4. 09 Jul, 2013 6 commits
  5. 08 Jul, 2013 21 commits