1. 07 Apr, 2006 1 commit
    • unknown's avatar
      fix for bug #17494 (The algorithm for calculating execution times is not fully correct) · b7814967
      unknown authored
      This also should fix 17493 and 17346, and probably 16397 (not tested).
      WL#1034 (Internal CRON)
      (post-review commit)
      
      
      mysql-test/r/events.result:
        update result
      mysql-test/t/events.test:
        update test
      sql/event.cc:
        seems we get a crash if we compile it this way. better let the worker thread do it,
        this increases the stability.
      sql/event_executor.cc:
        kick in more often
      sql/event_timed.cc:
        - don't NULLify last_executed
        - implement (fix) better get_next_time() which does not use last_executed as basis
          but STARTS. STARTS is used as basis and the next point of time which is before ENDS,
          if set, is being found. The point > now and (point-starts) % interval_expression == 0.
      sql/item_timefunc.cc:
        move calc_time_diff to time.cc as it can be reused in other parts of the 
        server code (see event_timed.cc)
      sql/mysql_priv.h:
        export calc_time_diff() moved to time.cc from item_timefunc.cc
      sql/sql_show.cc:
        - fix presenting of LAST_EXECUTED
        - cleanup a bit
      sql/time.cc:
        - move calc_time_diff() from item_timefunc.cc to here
      b7814967
  2. 08 Mar, 2006 7 commits
  3. 07 Mar, 2006 30 commits
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e949c88f
      unknown authored
      into  linux.site:/home/reggie/work/mysql-5.1
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      e949c88f
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-tmp · 4311f257
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/trigger-grant.test:
        Auto merged
      4311f257
    • unknown's avatar
      Merge serg.mylan:/usr/home/serg/Abk/mysql-5.0 · f6f91dbe
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      f6f91dbe
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · cb1eb3dc
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/bug17574/my51-bug17574
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      cb1eb3dc
    • unknown's avatar
      Bug#17574 Detect cluster start failure and "fail" ndb_* tests · 62b2ef3f
      unknown authored
       - Update for 5.1
      
      
      mysql-test/mysql-test-run.pl:
        Remove mtr_error call from ndbcluster_install_slave
        Check if ndbcluster_install_slave failed after it's been called. continu with disabled slave cluster if  --force is used.
      62b2ef3f
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/bug17574/my50-bug17574 · a1cc13e5
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/bug17574/my51-bug17574
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Manual merge of bug#17574 from 5.0 -> 5.1
      a1cc13e5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 70937fb3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/binary.result:
        Auto merged
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/type_decimal.result:
        Auto merged
      mysql-test/t/binary.test:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/field_conv.cc:
        Auto merged
      sql/ha_federated.cc:
        Auto merged
      sql/ha_federated.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      70937fb3
    • unknown's avatar
      Bug#17574 Detect cluster start failure and "fail" ndb_* tests · 1b5b489d
      unknown authored
      
      mysql-test/lib/mtr_cases.pl:
        Always set "ndb_test" if tets name contains ndb. 
        Set to skipped if "--skip-ndbcluster"
      mysql-test/lib/mtr_report.pl:
        Print special error message for ndb_test that are failed due to failure to start or install ndbcluster
      mysql-test/mysql-test-run.pl:
        Remove mtr_error call from ndbcluster_install, instead check after ndbcluster_install if test run should continue or if it should be aborted
        Faile ndb test and print special error message if it's a ndb test and flag_ndb_status_ok is not ok
      1b5b489d
    • unknown's avatar
      mysql.spec.sh: · 5cc16c8e
      unknown authored
        Changed product name from "Community Edition" to "Community Server", bug#17970
      
      
      support-files/mysql.spec.sh:
        Changed product name from "Community Edition" to "Community Server", bug#17970
      5cc16c8e
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-tmp · c32c86ef
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      c32c86ef
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 57f1e81b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new
      
      57f1e81b
    • unknown's avatar
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new · bd6bdae5
      unknown authored
      into  mysql.com:/home/bkroot/mysql-5.1-new
      
      bd6bdae5
    • unknown's avatar
      Fix missing call to init_tmp_sh_file · 418cbc70
      unknown authored
      
      client/mysqltest.c:
        Add call to init_tmp_sh_file
      418cbc70
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · 51559898
      unknown authored
      into  mysql.com:/home/bk/b16228-mysql-5.1-new
      
      51559898
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · 4cdfb803
      unknown authored
      into  mysql.com:/home/bk/b16228-mysql-5.1-new
      
      
      mysql-test/t/disabled.def:
        Auto merged
      4cdfb803
    • unknown's avatar
      Bug#16228 (RBR: Slave SQL thread retries infinitely): · 8aa7cc80
      unknown authored
        Transaction aborted on slave should be retries. The OPTION_BEGIN
        bit was cleared prematurely. Removed dependence of code on value
        of OPTION_BEGIN bit when executing retries.
      
      
      mysql-test/r/rpl_ndb_basic.result:
        Result change.
      mysql-test/t/disabled.def:
        Enabling test.
      mysql-test/t/rpl_ndb_basic.test:
        Changing test to allow checking that slave did not stop.
      sql/slave.cc:
        Rolling back transaction before retrying it.
        Only resetting transaction retries counter on a successful execution
        or a non-transitional error.
      8aa7cc80
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b61d2a11
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new
      
      
      support-files/mysql.spec.sh:
        Auto merged
      b61d2a11
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 3145c593
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.1-new
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      3145c593
    • unknown's avatar
      Fix for bug#15447 Partitions: NULL is treated as zero · 74e0cfd1
      unknown authored
        NULL value handling
      
      
      mysql-test/r/ndb_partition_error.result:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/r/partition.result:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/t/ndb_partition_error.test:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/t/partition.test:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      sql/partition_element.h:
        Fix for bug#15447 Partitions: NULL is treated as zero
          added null value flag to partition_element object
      sql/partition_info.h:
        Fix for bug#15447 Partitions: NULL is treated as zero
          added null value flag to partition_info object
          added has_null partition id variable
      74e0cfd1
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f27a73ee
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      f27a73ee
    • unknown's avatar
      Bug #16874 memory leaks in rpl_row_basic_7ndb.test · dbed8f95
      unknown authored
      - free ndb shares at server shutdown
      - free_table_share at free of ndb_share
      
      dbed8f95
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e3ffbfcf
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new.b17142
      
      
      sql/table.cc:
        Auto merged
      e3ffbfcf
    • unknown's avatar
      Bug#17142 Crash if create with encoded name · c0f7bcc4
      unknown authored
      upgrade.result, upgrade.test:
        Adding test case.
      table.cc:
        Don't try to open a table with old-formatted name,
        if the table name contains "@" character.
        This is to avoid mixing two different names to each other.
        Thanks Monty for suggesting this fix.
      
      
      sql/table.cc:
        Bug#17142 Crash if create with encoded name
        Don't try to open a table with old-formatted name,
        if the table name contains "@" character.
        This is to avoid mixing two different names to each other.
      mysql-test/t/upgrade.test:
        Adding test case.
      mysql-test/r/upgrade.result:
        Adding test case.
      c0f7bcc4
    • unknown's avatar
      Enable ifdef for windows specific functions · 99f4e54b
      unknown authored
      99f4e54b
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · bc1bd7ba
      unknown authored
      into  mysql.com:/home/bk/fix-mysql-5.1-new
      
      bc1bd7ba
    • unknown's avatar
      Bug#17874 (Test failure: rpl_row_basic_3innodb): · 461c7753
      unknown authored
        Some storage engines does not set the filler bits, so we set them
        before calling the record-reading functions.
      
      
      sql/log_event.cc:
        Set the null byte containing filler bits before calling any record-
        reading functions.
      461c7753
    • unknown's avatar
      Improve error message for faulty usage of "inc" and "dec" · ef446e61
      unknown authored
      
      client/mysqltest.c:
        Improve error messages for "inc" and "dec"
      mysql-test/r/mysqltest.result:
        Update test result
      ef446e61
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · c43c08f5
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      c43c08f5
    • unknown's avatar
      Bug #17720 · dc6590a9
      unknown authored
      Minor cleanup from Mikael's review
      
      
      
      sql/ha_partition.cc:
        minor cleanup of code, returning inside the first if clause and then
        calling loop_extra if the if clause is not executed.
      dc6590a9
  4. 06 Mar, 2006 2 commits
    • unknown's avatar
      after merge · b53b7432
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        tests depend on umask
      b53b7432
    • unknown's avatar
      merged · 0275fb95
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/binary.result:
        Auto merged
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/type_decimal.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/t/binary.test:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/field_conv.cc:
        Auto merged
      sql/ha_federated.cc:
        Auto merged
      sql/ha_federated.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      0275fb95