1. 02 Oct, 2006 2 commits
    • unknown's avatar
      BUG#18198: Partition function handling · 93f4daf1
      unknown authored
      Fixes of after review fixes
      
      
      mysql-test/r/partition_hash.result:
        Fixed test cases
      mysql-test/r/partition_range.result:
        Fixed test cases
      mysql-test/t/partition_range.test:
        Fixed test cases
      sql/ha_ndbcluster.cc:
        Fixed error printout to avoid complex character set code in print_error
      sql/ha_partition.cc:
        Fixed error printout to avoid complex character set code in print_error
      sql/partition_info.cc:
        Fixed error printout to avoid complex character set code in print_error
      sql/partition_info.h:
        Fixed error printout to avoid complex character set code in print_error
      sql/sql_partition.cc:
        indendentation fix
      93f4daf1
    • unknown's avatar
      Bug fix · d8e3aebe
      unknown authored
      d8e3aebe
  2. 30 Sep, 2006 1 commit
    • unknown's avatar
      BUG#18198: Partition function handling · 417c38db
      unknown authored
      Review fixes
      
      
      mysql-test/r/partition_range.result:
        New test cases
      mysql-test/t/partition_hash.test:
        New test cases
      mysql-test/t/partition_range.test:
        New test cases
      sql/item.h:
        Review fixes
      sql/partition_info.cc:
        Review fixes
      sql/sql_partition.cc:
        Review fixes
      417c38db
  3. 28 Sep, 2006 3 commits
    • unknown's avatar
      Merge dator5.(none):/home/pappa/clean-mysql-5.1-kt · dc9613ca
      unknown authored
      into  dator5.(none):/home/pappa/bug18198
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/r/partition_range.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      mysql-test/t/partition_range.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/partition_error.result:
        SCCS merged
      mysql-test/t/partition_error.test:
        e
        C
        quit
        exit
      dc9613ca
    • unknown's avatar
      Merge dator5.(none):/home/pappa/clean-mysql-5.1 · f6230caa
      unknown authored
      into  dator5.(none):/home/pappa/bug18198
      
      
      sql/sql_table.cc:
        Auto merged
      f6230caa
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 2d48a1f2
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/5.1-runtime-new
      
      
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/sp.result:
        manual merge
      mysql-test/t/sp.test:
        manual merge
      storage/csv/ha_tina.cc:
        manual merge
      storage/myisam/ha_myisam.cc:
        manual merge
      2d48a1f2
  4. 27 Sep, 2006 3 commits
    • unknown's avatar
      Remove unused error messages (no release contains them · ac4b6623
      unknown authored
      at the moment, so we can safely do that). Update an error
      mesage to make it translateable.
      
      
      mysql-test/r/log_tables.result:
        update result file
      sql/share/errmsg.txt:
        remove unused error messages
      sql/sql_table.cc:
        Use name of the statements rather then English words.
        This way error message is translateable.
      ac4b6623
    • unknown's avatar
      Merge dator5.(none):/home/pappa/clean-mysql-5.1 · 51b1ec1f
      unknown authored
      into  dator5.(none):/home/pappa/bug18198
      
      
      sql/item.h:
        Auto merged
      51b1ec1f
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1 · 7c59445a
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-bug21414
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      mysql-test/r/sp.result:
        Manual merge.
      mysql-test/t/sp.test:
        Manual merge.
      7c59445a
  5. 26 Sep, 2006 8 commits
    • unknown's avatar
      Final step of Take 7 on review fixes of this · 288da1d7
      unknown authored
      fairly complex bug
      
      
      mysql-test/r/partition.result:
        Merge fix
      sql/partition_info.cc:
        Moved method from sql_partition.cc to the partition_info class
      sql/partition_info.h:
        Introduced a number of charset related arrays
        Removed some bools that could be checked by checking arrays instead
      sql/sql_partition.cc:
        Introduced a number of charset related arrays
        Removed some bools that could be checked by checking arrays instead
        Made method of common complex if-statement
        Made that method and check of partition function fields public methods
        to enable use from partition_info class.
        Moved method to partition_info class
        Optimised copy_to_part_field_buffers method to avoid as much as possible
        calculations in those. Also avoided double calls when both subpartitioning
        and partitioning
        Handled review comments
      sql/sql_partition.h:
        New methods public for use in partition_info class
      sql/sql_yacc.yy:
        Missed this in previous merge and review fixes
      288da1d7
    • unknown's avatar
      Added more tests of field conversions. · 5529b7fb
      unknown authored
      5529b7fb
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-runtime · 4e5b560d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-runtime
      
      
      4e5b560d
    • unknown's avatar
      Fix for bug#20208 · 770e9b4b
      unknown authored
      A better fix for bug#10025.
      
      Fixed test case plus added new tests.
      
      After fixing Bug#20208 "Blobs greater than 8K are being truncated to 8K"
      the fix to bug#10025 "Misleading error with COLLATE mediumtext and UNION"
      became more accurate. Earlier mediumtext got converted to longtext,
      although mediumtext was enough to contain the results. Now it converts
      correctly to mediumtext, if the length does not exceed that and if none
      of the original fields were type longtext.
      
      Type longtext still converts correctly to type longtext, as the extra
      tests prove.
      
      
      mysql-test/r/union.result:
        Fixed an earlier test case plus added two new tests.
      mysql-test/t/union.test:
        Fixed an earlier test case plus added two new tests.
      770e9b4b
    • unknown's avatar
      BUG#18198 · fad4962a
      unknown authored
      Fixed interface to check_partition_func_processor
      
      
      sql/partition_info.cc:
        Fixed interface to check_partition_func_processor
      fad4962a
    • unknown's avatar
      BUG#18198 · 35f1ee03
      unknown authored
      Review comments
      
      
      sql/item.h:
        Added comment after review
      sql/item_cmpfunc.h:
        Changed to either return TRUE or FALSE (check_partition_func_processor)
      sql/item_func.h:
        Changed to either return TRUE or FALSE (check_partition_func_processor)
      sql/item_strfunc.h:
        Changed to either return TRUE or FALSE (check_partition_func_processor)
      sql/item_timefunc.h:
        Changed to either return TRUE or FALSE (check_partition_func_processor)
      sql/item_xmlfunc.h:
        Changed to either return TRUE or FALSE (check_partition_func_processor)
      35f1ee03
    • unknown's avatar
      Merge dator5.(none):/home/pappa/clean-mysql-5.1 · 2c9ab3a1
      unknown authored
      into  dator5.(none):/home/pappa/bug18198
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/r/partition_range.result:
        Auto merged
      mysql-test/t/partition_range.test:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/partition_info.cc:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/t/partition.test:
        manual merge
      sql/item.h:
        manual merge
      sql/item_cmpfunc.h:
        manual merge
      2c9ab3a1
    • unknown's avatar
      Fixed bugs in check_part_func_fields · 03b65beb
      unknown authored
      03b65beb
  6. 25 Sep, 2006 7 commits
    • unknown's avatar
      Fix for bug#22662 Inconsistent values displayed for event_scheduler · 070c8e74
      unknown authored
      when set to DISABLED
        
      It was a silly ordering number error.
      
      
      
      sql/events.h:
        fix ordinal number, the cause for bug #22662
        Inconsistent values displayed for event_scheduler when set to DISABLED
      mysql-test/r/events_restart_phase0.result:
        New BitKeeper file ``mysql-test/r/events_restart_phase0.result''
      mysql-test/t/events_restart_phase0.log:
        New BitKeeper file ``mysql-test/t/events_restart_phase0.log''
      mysql-test/t/events_restart_phase0.result:
        New BitKeeper file ``mysql-test/t/events_restart_phase0.result''
      070c8e74
    • unknown's avatar
      Fix for bug#22397 Events: crash with procedure which alters events · 6c9400b9
      unknown authored
        
      ALTER EVENT in stored procedure body led to a crash during the
      procedure call. Affected was only ALTER EVENT which changed the
      interval of the event. No problems with AT, STARTS, ENDS and so on.
      
      
      
      mysql-test/r/events_bugs.result:
        fix result
      mysql-test/t/events_bugs.test:
        add test case for bug 22397 : Events, crash with procedure which alters body
      sql/event_data_objects.cc:
        fix copy&paste error in code, which resulted in bug#22397
        Events: crash with procedure which alters body
      6c9400b9
    • unknown's avatar
      cleanups - fix a test and remove unneeded declaration · 038fbc27
      unknown authored
      
      mysql-test/r/events.result:
        test result
      mysql-test/t/events.test:
        fix test
      sql/sql_show.cc:
        remove unneeded declaration
      038fbc27
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug22379_runtime/my50-bug22379_runtime · cd6a5b87
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug22379_runtime/my51-bug22379_runtime
      
      
      server-tools/instance-manager/guardian.cc:
        Auto merged
      server-tools/instance-manager/instance.cc:
        Auto merged
      server-tools/instance-manager/instance_options.cc:
        Auto merged
      cd6a5b87
    • unknown's avatar
      207fd3fa
    • unknown's avatar
      Bug #22379 im_daemon_life_cycle.test fails on merge of 5.1 -> 5.1-engines · f91b91cf
      unknown authored
      Remove race situations that occur when removing pidfiles. Primarily each process should remove its own
      pidfile, secondly it should be removed by the process that created it and _only_ if it's
      certain the process is dead. Third, mysql-test-run.pl will remove the pidfile when process has been killed.
      - Set state of an instance to STARTING _before_ calling instance->start()
      - Check that pidfile of instance has been created before changing STARTING => STARTED
      - Only remove the pidfile if IM kills an instance with SIGKILL, otherwise the instance will remove it itself
      
      
      server-tools/instance-manager/guardian.cc:
        If state of an instance is STARTING, chech that the instance pidfile has been created
        before changing state to STARTED
        Set state to STARTING before calling instance->start(), it can take some time
        before it is fully started and during that time it should be in state STARTING
      server-tools/instance-manager/instance.cc:
        Only remove the pid file of instance manager when a SIGKILL has 
        been performed sucessfully
      server-tools/instance-manager/instance_options.cc:
        Check that fscanf returns 1 which is the number of args that should be scanned from
        the pid file
      f91b91cf
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · af3f646c
      unknown authored
      into  production.mysql.com:/usersnfs/jamppa/mysql-5.1-bug-20208
      
      
      BitKeeper/deleted/.del-ps_6bdb.result:
        Auto merged
      include/mysql_com.h:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      af3f646c
  7. 24 Sep, 2006 4 commits
  8. 23 Sep, 2006 12 commits
    • unknown's avatar
      mysql.spec.sh: · 52684501
      unknown authored
        Added "test" RPM package
        Install all binaries "make install" would
      make_binary_distribution.sh:
        Copy Cluster API headers into "/usr/include/mysql/storage/ndb/" (Bug#21955)
      
      
      scripts/make_binary_distribution.sh:
        Copy Cluster API headers into "/usr/include/mysql/storage/ndb/" (Bug#21955)
      support-files/mysql.spec.sh:
        Removed the rest of the "bench" sub RPM, but added a new "test" sub
        RPM containing the "mysql-test" directory earlier in the "bench" sub
        RPM. The new sub RPM "Obsoltes" "mysql-bench" as well.
        
        Added the rest of the binaries that "make install" would install
        
          bin/ndb_print_backup_file
          bin/ndb_print_schema_file
          bin/ndb_print_sys_file
          sbin/ndb_cpcd
      52684501
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1 · ff27c085
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      sql/mysql_priv.h:
        Auto merged
      ff27c085
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-5.1 · a5d82874
      unknown authored
      into  mysql.com:/users/lthalmann/bkroot/mysql-5.1
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      mysql-test/t/ndb_multi.test:
        Manual merge
      a5d82874
    • unknown's avatar
      Merge zim.(none):/home/brian/mysql/merge-5.1 · cdf0bfbc
      unknown authored
      into  zim.(none):/home/brian/mysql/arch-5.1
      
      
      cdf0bfbc
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1 · 39511a56
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      sql/mysql_priv.h:
        Auto merged
      39511a56
    • unknown's avatar
      Required file for next tests (taken from work by JimW in Falcon) · 459102b6
      unknown authored
      
      mysql-test/r/true.require:
        New BitKeeper file ``mysql-test/r/true.require''
      459102b6
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge · d339895f
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/udf_example.c:
        Auto merged
      BitKeeper/deleted/.del-udf_example.def:
        Delete: sql/udf_example.def
      mysql-test/mysql-test-run.pl:
        Manual merge 5.0->5.1
      sql/Makefile.am:
        Manual merge 5.0->5.1
      d339895f
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bk/MERGE/mysql-4.1-merge · f3172a89
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      f3172a89
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0 · 97c3a273
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
      
      
      97c3a273
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-4.1 · 1e84e31c
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-4.1-merge
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      1e84e31c
    • unknown's avatar
      Disabling test case · 3bd90044
      unknown authored
      3bd90044
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new-rpl · 7671fbc2
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/t/disabled.def:
        Auto merged
      sql/CMakeLists.txt:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      7671fbc2