1. 26 Dec, 2005 4 commits
    • unknown's avatar
      add missing DROP TABLE [IF EXISTS] clauses · a7c1e3f6
      unknown authored
      a7c1e3f6
    • unknown's avatar
      WL#2985 "Partition pruning": fixes to post-review fixes: when modifying SEL_TREE::keys, · fb796ece
      unknown authored
      adjust SEL_TREE::keys_map appropriately.
      
      fb796ece
    • unknown's avatar
      Fix typo bug in previous cset · 8c0712b9
      unknown authored
      8c0712b9
    • unknown's avatar
      WL#2985 "Partition Pruning": post-review fixes: · 8a32a4b7
      unknown authored
      - Added more comments.
      - Added a RANGE_OPT_PARAM::remove_jump_scans flag that disables construction of index_merge
        SEL_TREEs that represent unusable conditions like "key1part1<c1 OR key2part2<c2"
      - make prune_partitions() function handle the case where range analysis produces a list of 
        index_merge trees (it turned out that this is possible, appropriate test case added).
      - Other small fixes.
      
      
      mysql-test/r/partition_pruning.result:
        WL#2985 "Partition Pruning": post-review fixes: more test cases
      mysql-test/t/partition_pruning.test:
        WL#2985 "Partition Pruning": post-review fixes: more test cases
      sql/opt_range.cc:
        WL#2985 "Partition Pruning": post-review fixes:
        - Added more comments.
        - Fix the debug printouts
        - Added a RANGE_OPT_PARAM::remove_jump_scans flag that disables construction of index_merge
          SEL_TREEs that represent unusable conditions like "key1part1<c1 OR key2part2<c2"
        - make prune_partitions() function handle the case where range analysis produces a list of 
          index_merge trees (it turned out that this is possible, appropriate test case added).
      sql/sql_partition.cc:
        WL#2985 "Partition Pruning": post-review fixes: make requested edits in comments.
      sql/table.h:
        WL#2985 "Partition Pruning": post-review fixes: added bool TABLE::no_partitions_used
        (this change was missed when making the original cset)
      8a32a4b7
  2. 22 Dec, 2005 1 commit
    • unknown's avatar
      WL#2985 "Partition Pruning" · c4ef5317
      unknown authored
      
      sql/ha_ndbcluster.cc:
        WL#2985 "Partition Pruning": added part_info->used_partitions initialization
      sql/ha_partition.cc:
        WL#2985 "Partition Pruning": added part_info->used_partitions initialization
      sql/handler.h:
        WL#2985 "Partition Pruning": 
        Added function prototypes
        in partition_info:
         - Added 'used_partitions' bitmap
         - Added comments
      sql/item.h:
        WL#2985 "Partition Pruning": 
        - added enum monotonicity_info
        - added virtual Item::get_monotonicity_info()
      sql/item_timefunc.cc:
        WL#2985 "Partition Pruning": 
        - added Item_func_to_days::get_monotonicity_info()
        - added Item_func_year::get_monotonicity_info()
      sql/item_timefunc.h:
        WL#2985 "Partition Pruning": 
        - added Item_func_to_days::get_monotonicity_info()
        - added Item_func_year::get_monotonicity_info()
      sql/opt_range.cc:
        WL#2985 "Partition Pruning":
        - Split out PARAM structure into PARAM and RANGE_OPT_PARAM part.
        - Added partition pruning module code.
      sql/opt_range.h:
        WL#2985 "Partition Pruning": 
        Added prune_partitions() function declaration. This is the entry point for partition pruning 
        module
      sql/sql_class.cc:
        WL#2985 "Partition Pruning": added support for "EXPLAIN PARTITIONS SELECT ..."
      sql/sql_lex.h:
        WL#2985 "Partition Pruning": added support for "EXPLAIN PARTITIONS SELECT ..."
      sql/sql_partition.cc:
        WL#2985 "Partition Pruning": 
         - Added get_list_array_idx_for_endpoint and get_range_... functions to support partition 
           pruning on "partition_field < const"-like intervals.
         - Added partition_info::used_partitions bitmap.
         - Added make_used_partitions_str function
         - Fixed BUG#15819
      sql/sql_select.cc:
        WL#2985 "Partition Pruning": 
        - Added prune_partitions() invocation right before the range analysis
        - Added code to handle return value from prune_partitions()
        - Added support for "EXPLAIN PARTITIONS SELECT ..."
      sql/sql_yacc.yy:
        #2985 "Partition Pruning": added support for "EXPLAIN PARTITIONS SELECT ..."
      c4ef5317
  3. 20 Dec, 2005 3 commits
  4. 19 Dec, 2005 9 commits
    • unknown's avatar
      my_global.h: · cbedd5d2
      unknown authored
        Fix for bug #15841: Change in sql_map.cc and mmap breaks on HP-UX
        - in order to enable the mmap64() (and others) define
        _LARGEFILE64_SOURCE in case of _LARGEFILE_SOURCE defined on HPUX.
      
      
      include/my_global.h:
        Fix for bug #15841: Change in sql_map.cc and mmap breaks on HP-UX
        - in order to enable the mmap64() (and others) define
        _LARGEFILE64_SOURCE in case of _LARGEFILE_SOURCE defined on HPUX.
      cbedd5d2
    • unknown's avatar
      Bug fix for bug #15843 "Added mmap support in myisam creates compile problem · f9dc6584
      unknown authored
      on AIX 5.2"
      
      Added dummy definition of MAP_NORESERVE for systems which doesn't provide it,
      removed duplicates
      
      my_sys.h:
        added definition for MAP_NORESERVE
        (for Irix and AIX systems)
      sql_map.cc:
        removed definition of MAP_NORESERVE
      mi_packrec.c:
        removed definition of MAP_NORESERVE and MMAP_PRIVATE
      
      
      storage/myisam/mi_packrec.c:
        removed definition of MAP_NORESERVE and MMAP_PRIVATE
      sql/sql_map.cc:
        removed definition of MAP_NORESERVE
      include/my_sys.h:
        added definition for MAP_NORESERVE
        (for Irix and AIX systems)
      f9dc6584
    • unknown's avatar
      mysql-test/t/federated_transactions.test · d16e4f43
      unknown authored
          Fix a typo: Trailing ";" for "source" command.
      
      
      mysql-test/t/federated_transactions.test:
        Fix a typo: Trailing ";" for "source" command.
      d16e4f43
    • unknown's avatar
      Merge hholzgraefe@bk-internal.mysql.com:/home/bk/mysql-5.1-new · bf0f8ad4
      unknown authored
      into  mysql.com:/home/hartmut/projects/mysql/dev/5.1
      
      
      extra/Makefile.am:
        Auto merged
      bf0f8ad4
    • unknown's avatar
      federated_transactions.test: · e6a9cc21
      unknown authored
        Test require Berkeley DB
      
      
      mysql-test/t/federated_transactions.test:
        Test require Berkeley DB
      e6a9cc21
    • unknown's avatar
      Merge · 8972a984
      unknown authored
      8972a984
    • unknown's avatar
      mysql-test-run.pl: · 5842612f
      unknown authored
        Script "my_print_defaults" is to be searched for as executable
      
      
      mysql-test/mysql-test-run.pl:
        Script "my_print_defaults" is to be searched for as executable
      5842612f
    • unknown's avatar
      disabled.def: · a133a549
      unknown authored
        Disabled 'type_time' until 15805 is closed
      
      
      mysql-test/t/disabled.def:
        Disabled 'type_time' until 15805 is closed
      a133a549
    • unknown's avatar
      mysql.spec.sh, make_binary_distribution.sh, Makefile.am, mysql.sln: · 2333e68a
      unknown authored
        Added "client/mysqlslap"
      mysqlslap.vcproj, mysqlslap.def:
        new file
      
      
      VC++Files/mysql.sln:
        Added "client/mysqlslap"
      netware/Makefile.am:
        Added "client/mysqlslap"
      scripts/make_binary_distribution.sh:
        Added "client/mysqlslap"
      support-files/mysql.spec.sh:
        Added "client/mysqlslap"
      2333e68a
  5. 18 Dec, 2005 6 commits
    • unknown's avatar
      Merge · 94b52d9e
      unknown authored
      
      configure.in:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/r/ndb_multi.result:
        Auto merged
      mysql-test/r/skip_name_resolve.result:
        Auto merged
      mysql-test/r/type_time.result:
        Auto merged
      mysql-test/t/ndb_basic.test:
        Auto merged
      mysql-test/t/ndb_multi.test:
        Auto merged
      mysql-test/t/skip_name_resolve.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      storage/ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbRecAttr.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      zlib/Makefile.am:
        Auto merged
      94b52d9e
    • unknown's avatar
      Merge · 31cdf4fb
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/r/ndb_multi.result:
        Auto merged
      mysql-test/t/ndb_basic.test:
        Auto merged
      mysql-test/t/ndb_multi.test:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      31cdf4fb
    • unknown's avatar
      Makefile.am: · cb56c1f1
      unknown authored
        Added 5.0 specific build scripts
      
      
      BUILD/Makefile.am:
        Added 5.0 specific build scripts
      cb56c1f1
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · f0846e3c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      BUILD/Makefile.am:
        Auto merged
      f0846e3c
    • unknown's avatar
      Merge · 362c8533
      unknown authored
      362c8533
    • unknown's avatar
      Makefile.am: · c826080d
      unknown authored
        Adjusted listing of files to put into source TAR
      
      c826080d
  6. 17 Dec, 2005 1 commit
  7. 16 Dec, 2005 6 commits
  8. 15 Dec, 2005 10 commits