1. 16 Aug, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      sql_select.cc: · 9693dc6a
      igor@rurik.mysql.com authored
        Fixed bug #11479.
        The JOIN::reinit method cannot call setup_tables
        after the optimization phase since this function
        removes some optimization settings for joined
        tables. E.g. it resets values of the null_row flag to 0.
      subselect.result, subselect.test:
        Added a test case for bug #11479.
      9693dc6a
  2. 15 Aug, 2005 5 commits
  3. 13 Aug, 2005 4 commits
  4. 12 Aug, 2005 5 commits
  5. 11 Aug, 2005 7 commits
  6. 10 Aug, 2005 5 commits
  7. 09 Aug, 2005 3 commits
  8. 08 Aug, 2005 10 commits
    • igor@rurik.mysql.com's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 25388380
      igor@rurik.mysql.com authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      25388380
    • igor@rurik.mysql.com's avatar
      subselect.test, subselect.result: · 73be194f
      igor@rurik.mysql.com authored
        Added a test case for bug #12392.
      item_cmpfunc.cc:
        Fixed bug #12392.
        Missing handling of rows containing NULL components
        when evaluating IN predicates caused a crash.
      73be194f
    • monty@mysql.com's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7b1aed3f
      monty@mysql.com authored
      into  mysql.com:/home/my/mysql-4.1
      7b1aed3f
    • monty@mysql.com's avatar
      Review of new pushed code · 99cb0835
      monty@mysql.com authored
      - Fixed some error condtion when handling dates with 'T'
      - Added extra test for bug #11867 (Wrong result with "... WHERE ROW( a, b ) IN ( SELECT DISTINCT a, b WHERE ...)" to show it's not yet fixed
      - Safety fixes and cleanups
      99cb0835
    • patg@krsna.patg.net's avatar
      BUG #12119 · 74c71689
      patg@krsna.patg.net authored
      Removed unnecessary error message from mysql.cc (client program)
      74c71689
    • 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
      Bug#5439 : mysql_server_init() crashes if ShiftJIS path is passed · 281c8ec1
      bar@mysql.com authored
      (important for Adobe).
      
      mf_pack.c, mf_dirname.c, charset.c, my_sys.h:
      
        - adding fs_character_set() function on Windows
        - ignoring fake slashes which are just multibyte
          parts in several functions in /mysys
      
      Verified by Shu to work on WinXP and Win2k.
      Test is not possible, or very hard to do.
      281c8ec1
    • bar@mysql.com's avatar
      func_system.result, func_system.test: · e6f96b49
      bar@mysql.com authored
        adding test case
      item_strfunc.cc:
        Bug#12351
        CONCAT with USER()/DATEBASE() and
        a column gets strange results.
        Mark created Item_str as constant, so CONCAT
        cannot reuse it for optimization purposes.
      e6f96b49
    • 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