1. 26 Dec, 2005 1 commit
    • unknown's avatar
      WL#2985 "Partition Pruning": post-review fixes: · a4a1bb0e
      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)
      a4a1bb0e
  2. 22 Dec, 2005 1 commit
    • unknown's avatar
      WL#2985 "Partition Pruning" · f19fb870
      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 ..."
      f19fb870
  3. 20 Dec, 2005 3 commits
  4. 19 Dec, 2005 9 commits
    • unknown's avatar
      my_global.h: · a62aaaef
      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.
      a62aaaef
    • unknown's avatar
      Bug fix for bug #15843 "Added mmap support in myisam creates compile problem · ec7a7ac2
      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)
      ec7a7ac2
    • unknown's avatar
      mysql-test/t/federated_transactions.test · 32279956
      unknown authored
          Fix a typo: Trailing ";" for "source" command.
      
      
      mysql-test/t/federated_transactions.test:
        Fix a typo: Trailing ";" for "source" command.
      32279956
    • unknown's avatar
      Merge hholzgraefe@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e57903f5
      unknown authored
      into  mysql.com:/home/hartmut/projects/mysql/dev/5.1
      
      
      extra/Makefile.am:
        Auto merged
      e57903f5
    • unknown's avatar
      federated_transactions.test: · a466e280
      unknown authored
        Test require Berkeley DB
      
      
      mysql-test/t/federated_transactions.test:
        Test require Berkeley DB
      a466e280
    • unknown's avatar
      Merge · b39c4c77
      unknown authored
      b39c4c77
    • unknown's avatar
      mysql-test-run.pl: · 21620190
      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
      21620190
    • unknown's avatar
      disabled.def: · f6160c7d
      unknown authored
        Disabled 'type_time' until 15805 is closed
      
      
      mysql-test/t/disabled.def:
        Disabled 'type_time' until 15805 is closed
      f6160c7d
    • unknown's avatar
      mysql.spec.sh, make_binary_distribution.sh, Makefile.am, mysql.sln: · 2a5aa3f2
      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"
      2a5aa3f2
  5. 18 Dec, 2005 6 commits
    • unknown's avatar
      Merge · a5ecdeba
      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
      a5ecdeba
    • unknown's avatar
      Merge · 2de5c141
      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
      2de5c141
    • unknown's avatar
      Makefile.am: · a3a5df43
      unknown authored
        Added 5.0 specific build scripts
      
      
      BUILD/Makefile.am:
        Added 5.0 specific build scripts
      a3a5df43
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · de1c06b9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      BUILD/Makefile.am:
        Auto merged
      de1c06b9
    • unknown's avatar
      Merge · aa6d8551
      unknown authored
      aa6d8551
    • unknown's avatar
      Makefile.am: · e97a4a4a
      unknown authored
        Adjusted listing of files to put into source TAR
      
      
      e97a4a4a
  6. 17 Dec, 2005 1 commit
  7. 16 Dec, 2005 6 commits
  8. 15 Dec, 2005 13 commits
    • unknown's avatar
      Fixed stress parts in shell and perl versions of mysql-test-run script to limit stress testing · 7c4ada14
      unknown authored
      with 20 test loops in case when any limit parameter was specified
      
      
      
      mysql-test/lib/mtr_stress.pl:
        Limit stress testing with 20 test loops in case when any limit parameter was specified
      mysql-test/mysql-test-run.pl:
        Limit stress testing with 20 test loops in case when any limit parameter was specified
      mysql-test/mysql-test-run.sh:
        Limit stress testing with 20 test loops in case when any limit parameter was specified
      7c4ada14
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 6f3f33b5
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.1.clean
      
      
      6f3f33b5
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-new · 49a22151
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.1.clean
      
      
      49a22151
    • unknown's avatar
      tests fixed as we implement informative error message · 9008814e
      unknown authored
      
      mysql-test/r/partition_list.result:
        test result fixed
      mysql-test/r/partition_range.result:
        test result fixed
      mysql-test/t/partition_list.test:
        test fixed
      mysql-test/t/partition_range.test:
        test fixed
      9008814e
    • unknown's avatar
      Merge mysql.com:/home/alexi/dev/mysql-4.1-12440 · 4db14a57
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-5.0-12440
      
      
      mysql-test/r/type_time.result:
        Auto merged
      ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      ndb/src/ndbapi/NdbRecAttr.cpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      zlib/Makefile.am:
        Auto merged
      4db14a57
    • unknown's avatar
      Fixed BUG #12440: "Incorrect processing of time values containing · 52c04400
      unknown authored
       long fraction and/or large exponent part".
      
      
      mysql-test/r/type_time.result:
        Fixed testcases results (bug #12440)
      mysql-test/t/type_time.test:
        Added testcases for bug #12440
      sql-common/my_time.c:
        Fixed bug #12440: "Incorrect processing of time values containing
         long fraction and/or large exponent part".
         Modified str_to_time(). Process properly fraction part containing
         more than 6 digits. Check for existence of exponent part which
         may result from %g formatting applied to time value specified as
         large real number.
      52c04400
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-release · a848d91e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
      
      
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/t/ndb_basic.test:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      mysql-test/r/ndb_multi.result:
        merge
      mysql-test/t/ndb_multi.test:
        merge
      sql/ha_ndbcluster.cc:
        merge
      a848d91e
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4ede1ed3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
      
      
      4ede1ed3
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M51/mysql-5.1 · cb179dd3
      unknown authored
      into trift-lap.fambruehe:/MySQL/M51/work-5.1
      
      
      mysql-test/r/skip_name_resolve.result:
        Auto merged
      mysql-test/t/skip_name_resolve.test:
        Auto merged
      cb179dd3
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-new · 36736898
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.1.clean
      
      
      36736898
    • unknown's avatar
      bug #15524 (partitioning range/list violation error message is insufficient) · a3cc718c
      unknown authored
      
      include/my_base.h:
        HA_ERR_NO_PARTITION_FOUND added
      mysql-test/r/partition_error.result:
        test result fixed
      mysql-test/t/partition_error.test:
        test case added
      sql/ha_partition.cc:
        now we launch the informative error message here
      sql/share/errmsg.txt:
        Error message added
      a3cc718c
    • unknown's avatar
      bug #15521 (Cannot reorganise a partition with a new name equal to the old name) · 1b74cbd9
      unknown authored
      
      mysql-test/r/partition.result:
        result fixed
      mysql-test/r/partition_mgm_err.result:
        result fixed
      mysql-test/t/partition.test:
        test case added
      mysql-test/t/partition_mgm_err.test:
        test modified to produce the declared error
      sql/handler.h:
        check_reorganise_list interface
      sql/sql_partition.cc:
        check_reorganise_list implementation
      sql/sql_table.cc:
        now we call check_reorganise_list to do proper test.
        Also we should set right no_parts value as it can change here
      1b74cbd9
    • unknown's avatar
      Merge joerg@trift2:/M50/part3-kent-joerg · ed1efa7c
      unknown authored
      into trift-lap.fambruehe:/MySQL/M51/merge-5.1
      
      
      mysql-test/r/skip_name_resolve.result:
        Auto merged
      mysql-test/t/skip_name_resolve.test:
        Auto merged
      ed1efa7c