1. 08 Aug, 2005 6 commits
    • patg@krsna.patg.net's avatar
      item_strfunc.cc: · 6128521b
      patg@krsna.patg.net authored
        BUG #11104 
            Took out the offset-=delimiter_length-1 out of the for loop. It was causing
            basically this: 
            select substring_index('the king of the the hill', 'the', -2) to not work.
            The first iteration, offset would be initialised to 24, then strstr would 
            point at 'the king of the the* hill' ('*'means right before the 
            character following), returning a offset of 16. The for loop would then 
            decrement offset by two (3 - 1), to 14, now pointing at 
            "the king of th*e the hill", _skipping_ past the 'e' in the second to last
            'the', and therefore strstr would never have a chance of matching the 
            second to last 'the', then moving on to the 'the' at the begginning of the 
            string!
            In a nutshell, offset was being decremented by too great a value, preventing
            the second to last 'the' from being ever found, hence the result of 
            'king of the the hill' from the query that is reported in the bug report
      func_str.test:
        BUG #11104
        Added tests to make sure fix addresses issues in original bug report
      func_str.result:
        BUG #11104 
        New results for new tests
      6128521b
    • bar@mysql.com's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0ff109f1
      bar@mysql.com authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b10892
      0ff109f1
    • bar@mysql.com's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8545cf92
      bar@mysql.com authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b10892
      8545cf92
    • bar@mysql.com's avatar
      item.cc: · 2c8fc886
      bar@mysql.com authored
        After review fix
      2c8fc886
    • monty@mishka.local's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a422fc3
      monty@mishka.local authored
      into  mishka.local:/home/my/mysql-4.1
      9a422fc3
    • monty@mishka.local's avatar
      Fix for BUG #11642: [Patch]es x86 Assembler and text relocations · 70170382
      monty@mishka.local authored
      Changed assembler functions to not access global variables or variables in text segement
      Added wrapper function in C to longlong2str() to pass _dig_vec_upper as an argument
      70170382
  2. 07 Aug, 2005 6 commits
  3. 06 Aug, 2005 1 commit
  4. 05 Aug, 2005 1 commit
  5. 04 Aug, 2005 20 commits
  6. 03 Aug, 2005 6 commits