1. 08 Oct, 2007 1 commit
  2. 06 Oct, 2007 1 commit
  3. 05 Oct, 2007 18 commits
    • unknown's avatar
      Bug #31094: Forcing index-based sort doesn't work anymore if joins are done · 8446b015
      unknown authored
      A rule was introduced by the 5.1 part of the fix for bug 27531 to 
      prefer filesort over indexed ORDER BY when accessing all of the rows of a 
      table (because it's faster). This new rule was not accounting for the 
      presence of a LIMIT clause.
      Fixed the condition for this rule so it will prefer filesort over 
      indexed ORDER BY only if no LIMIT.
      
      
      mysql-test/r/compress.result:
        Bug #31094: LIMIT is not considered a full index scan
      mysql-test/r/join.result:
        Bug #31094: test case
      mysql-test/r/select.result:
        Bug #31094: LIMIT is not considered a full index scan
      mysql-test/r/ssl.result:
        Bug #31094: LIMIT is not considered a full index scan
      mysql-test/r/ssl_compress.result:
        Bug #31094: LIMIT is not considered a full index scan
      mysql-test/t/join.test:
        Bug #31094: test case
      sql/sql_select.cc:
        Bug #31094: prefer filesort over indexed ORDER BY only if no LIMIT
      8446b015
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · ca87c441
      unknown authored
      into  mysql.com:/home/hf/work/30286/my51-30286
      
      ca87c441
    • unknown's avatar
      Merge mhansson@bk-internal:/home/bk/mysql-5.1-opt · ad3a8038
      unknown authored
      into  dl145s.mysql.com:/data0/mhansson/bug30942/my51-bug30942
      
      ad3a8038
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my50-30286 · 88579c03
      unknown authored
      into  mysql.com:/home/hf/work/30286/my51-30286
      
      
      mysql-test/r/gis.result:
        Auto merged
      mysql-test/t/gis.test:
        Auto merged
      88579c03
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my41-30286 · 6c799e0f
      unknown authored
      into  mysql.com:/home/hf/work/30286/my50-30286
      
      
      mysql-test/t/gis.test:
        Auto merged
      sql/gstream.cc:
        Auto merged
      mysql-test/r/gis.result:
        SCCS merged
      6c799e0f
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30955/my41-30955 · b340abe7
      unknown authored
      into  mysql.com:/home/hf/work/30286/my41-30286
      
      b340abe7
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my50-30286 · 9826be32
      unknown authored
      into  mysql.com:/home/hf/work/30286/my51-30286
      
      9826be32
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my41-30286 · 3ab86f83
      unknown authored
      into  mysql.com:/home/hf/work/30286/my50-30286
      
      3ab86f83
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my41-30286 · 2ec5e389
      unknown authored
      into  mysql.com:/home/hf/work/30286/my51-30286
      
      2ec5e389
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1-opt · ec48fce4
      unknown authored
      into  mysql.com:/home/hf/work/30286/my41-30286
      
      ec48fce4
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · 23a04585
      unknown authored
      into  mysql.com:/home/hf/work/30286/my50-30286
      
      23a04585
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · bc4e8f5d
      unknown authored
      into  mysql.com:/home/hf/work/30286/my51-30286
      
      bc4e8f5d
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my50-30286 · 8f0122de
      unknown authored
      into  mysql.com:/home/hf/work/30286/my51-30286
      
      
      mysql-test/r/gis-rtree.result:
        Auto merged
      mysql-test/t/gis-rtree.test:
        Auto merged
      storage/myisam/rt_index.c:
        Auto merged
      storage/myisam/rt_mbr.c:
        Auto merged
      8f0122de
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30286/my41-30286 · ba0449d9
      unknown authored
      into  mysql.com:/home/hf/work/30286/my50-30286
      
      
      myisam/rt_index.c:
        Auto merged
      myisam/rt_mbr.c:
        Auto merged
      mysql-test/t/gis-rtree.test:
        Auto merged
      mysql-test/r/gis-rtree.result:
        merging
      ba0449d9
    • unknown's avatar
      Bug #30286 spatial index cause corruption and server crash! · ffdd1f61
      unknown authored
      As the result of DOUBLE claculations can be bigger
      than DBL_MAX constant we use in code, we shouldn't use this constatn
      as a biggest possible value.
      Particularly the rtree_pick_key function set 'min_area= DBL_MAX' relying
      that any rtree_area_increase result will be less so we return valid
      key. Though in rtree_area_increase function we calculate the area
      of the rectangle, so the result can be 'inf' if the rectangle is
      huge enough, which is bigger than DBL_MAX.
      
      Code of the rtree_pick_key modified so we always return a valid key.
      
      
      myisam/rt_index.c:
        Bug #30286 spatial index cause corruption and server crash!
        
        always set the best_key with the first key we get, so we always return
        somthing valid.
      myisam/rt_mbr.c:
        Bug #30286 spatial index cause corruption and server crash!
        
        function comment extended
      mysql-test/r/gis-rtree.result:
        Bug #30286 spatial index cause corruption and server crash!
        test result
      mysql-test/t/gis-rtree.test:
        Bug #30286 spatial index cause corruption and server crash!
        test case
      ffdd1f61
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · fffd65b7
      unknown authored
      into  mysql.com:/home/hf/work/26527/my51-26527
      
      
      sql/ha_partition.cc:
        Auto merged
      fffd65b7
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · d6c114a0
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/r/information_schema.result:
        manual merge
      mysql-test/t/information_schema.test:
        manual merge
      d6c114a0
    • unknown's avatar
      test fix(to satisfy WIN) · c1eaaa6e
      unknown authored
      
      mysql-test/r/information_schema.result:
        result fix
      c1eaaa6e
  4. 04 Oct, 2007 10 commits
    • unknown's avatar
      Merge mhansson@bk-internal:/home/bk/mysql-5.1-opt · 805cbbbf
      unknown authored
      into  dl145s.mysql.com:/data0/mhansson/bug30942/my51-bug30942
      
      805cbbbf
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 747be9a2
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/func_misc.result:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Auto merged
      mysql-test/t/func_math.test:
        Auto merged
      mysql-test/t/func_misc.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      client/client_priv.h:
        manual merge
      747be9a2
    • unknown's avatar
      after merge fix · ee44d804
      unknown authored
      ee44d804
    • unknown's avatar
      Merge mhansson@bk-internal:/home/bk/mysql-5.1-opt · 101f16a3
      unknown authored
      into  dl145s.mysql.com:/data0/mhansson/bug30942/my51-bug30942
      
      
      sql/item_timefunc.h:
        Auto merged
      101f16a3
    • unknown's avatar
      manual merge · 3987c078
      unknown authored
      3987c078
    • unknown's avatar
      Bug#30079 A check for "hidden" I_S tables is flawed · 53fb65b5
      unknown authored
      added check for hidden I_S tables for 'show columns|keys' commands
      
      
      mysql-test/r/information_schema.result:
        test result
      mysql-test/t/information_schema.test:
        test case
      sql/sql_parse.cc:
        added check for hidden I_S tables for 'show columns|keys' commands
      53fb65b5
    • unknown's avatar
      after merge fix · c3a1674a
      unknown authored
      c3a1674a
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · e51ecad4
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/func_misc.result:
        Auto merged
      mysql-test/r/olap.result:
        Auto merged
      mysql-test/t/func_math.test:
        Auto merged
      mysql-test/t/func_misc.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      client/client_priv.h:
        manual merge
      mysql-test/r/mysqldump.result:
        manual merge
      mysql-test/r/view_grant.result:
        manual merge
      sql/field.cc:
        manual merge
      sql/sql_select.cc:
        manual merge
      tests/mysql_client_test.c:
        manual merge
      e51ecad4
    • unknown's avatar
      Merge linux-st28.site:/home/martin/mysql/src/bug30942/my50-bug30942 · f430a5c0
      unknown authored
      into  linux-st28.site:/home/martin/mysql/src/bug30942/my51-bug30942
      
      
      sql/item_timefunc.h:
        Auto merged
      mysql-test/r/type_date.result:
        Bug#30942: Manual merge
      mysql-test/t/type_date.test:
        Bug#30942: Manual merge
      f430a5c0
    • unknown's avatar
      Bug #30942: select str_to_date from derived table returns varying results · e74faf9b
      unknown authored
      The function str_to_date has a field to say whether it's invoked constant 
      arguments. But this member was not initialized, causing the function to
      think that it could use a cache of the format type when said cache was in 
      fact not initialized.
      Fixed by initializing the field to false.
      
      
      mysql-test/r/type_date.result:
        Bug#30942: Test result
      mysql-test/t/type_date.test:
        Bug#30942: Test case
      sql/item_timefunc.h:
        Bug#30942: Initialized const_item to false
      e74faf9b
  5. 03 Oct, 2007 5 commits
    • unknown's avatar
      mysqldump.c: · ec560a28
      unknown authored
        Post-merge fix.
      
      
      client/mysqldump.c:
        Post-merge fix.
      ec560a28
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-31077 · adbe87b4
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      client/client_priv.h:
        Merge with 5.0-opt.
      mysql-test/r/mysqldump.result:
        Merge with 5.0-opt.
      adbe87b4
    • unknown's avatar
      Bug #30955 geomfromtext() crasher. · 56c8fc86
      unknown authored
      end-of-line check missed in Gis_read_stream::get_next_word,
      what can lead to crashes (expecially with NULL strings).
      
      End-of-line check added
      
      
      sql/gstream.cc:
        Bug #30955 geomfromtext() crasher
      mysql-test/r/gis.result:
        Bug #30955 geomfromtext() crasher.
        
        test result
      mysql-test/t/gis.test:
        Bug #30955 geomfromtext() crasher.
        
        test case
      56c8fc86
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-31077 · baeb40c9
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      baeb40c9
    • unknown's avatar
      mysqldump.test, mysqldump.result: · 2908ce1c
      unknown authored
        Bug #31077: post-commit fix.
      
      
      mysql-test/t/mysqldump.test:
        Bug #31077: post-commit fix.
      mysql-test/r/mysqldump.result:
        Bug #31077: post-commit fix.
      2908ce1c
  6. 02 Oct, 2007 5 commits