1. 29 Jan, 2006 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 50abf1e4
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      sql/handler.h:
        Auto merged
      50abf1e4
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 167e534c
      unknown authored
      into  govinda.patg.net:/home/patg/mysql-build/mysql-5.1-new-wl2986
      
      
      167e534c
    • unknown's avatar
      WL# 2986 · ff5d0124
      unknown authored
      Final patch
      -----------
      
      This WL is about using this bitmap in all parts of the partition handler.
      Thus for:
      rnd_init/rnd_next
      index_init/index_next and all other variants of index scans
      read_range_... the various range scans implemented in the partition handler.
      
      Also use those bitmaps in the various other calls that currently loop over all
      partitions.
      
      
      
      
      mysql-test/r/partition_pruning.result:
        WL# 2986
        
        New results reflecting bitmap being used to determine if a partition is to be
        included
      mysql-test/t/partition_pruning.test:
        WL# 2986
        
        New tests to show bitmap being used in ha_partition
      sql/ha_partition.cc:
        WL# 2986
        
        Used work from 2682 and removed the partition select code.
            
        Added do {} while loop to any iteration over partitions to now utilise 
        m_part_info->used_partitions bitmap to determine if a partition should be
        used.
      sql/ha_partition.h:
        WL# 2986
        
        Removed unused member
      sql/handler.h:
        WL# 2986
        
        Removed unused member
      sql/opt_range.cc:
        WL# 2986
        
        Added bitmap_clear_all to clear bitmap prior to pruning
        DBUG code for testing
      sql/sql_partition.cc:
        WL# 2986
        
        Changed < to <=, which fixes the problem with edge cases going awry.
      ff5d0124
  2. 28 Jan, 2006 3 commits
    • unknown's avatar
      two buffer overflows fixed · 3b476a8f
      unknown authored
      
      sql/sp.cc:
        use strxnmov, just in case
      sql/sql_parse.cc:
        init thd->security_ctx->priv_host,
        otherwise - buffer overflow in db_create_routine
      sql/unireg.cc:
        not too nice to do bzero(buf, 9) after char buf[5], eh ?
      3b476a8f
    • unknown's avatar
      Merge · 9bd64152
      unknown authored
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      sql/sql_table.cc:
        SCCS merged
      9bd64152
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 5de6e071
      unknown authored
      into debian.(none):/M51/mysql-5.1
      
      
      5de6e071
  3. 27 Jan, 2006 24 commits
  4. 26 Jan, 2006 10 commits