1. 04 Apr, 2008 1 commit
    • unknown's avatar
      Bug#35824: mysql_upgrade does not fix scheduler tables when upgrading from 5.1.23 to 5.1.24 · 5f734a82
      unknown authored
      The problem is that when upgrading the event table, the sql_mode
      column was always being added instead of being updated to list new
      sql_mode values, causing upgrades of the event which already have
      a sql_mode column to not be updated to the new sql_mode values.
      
      The solution is to always add first a stub sql_mode column and
      subsequently update the column to the new sql_mode values.
      
      
      scripts/mysql_system_tables_fix.sql:
        Always add and update the sql_mode column of the event table.
      5f734a82
  2. 02 Apr, 2008 1 commit
    • unknown's avatar
      mysql.spec.sh: · 510ee0cf
      unknown authored
        If excluding Federated, make sure dynamic plugin is not built
      Makefile.am:
        Only run cluster test when compiled with cluster
      lib_sql.cc:
        Work around for Visual Studio 2003, that lacks vsnprintf() but has _vsnprintf()
      
      
      Makefile.am:
        Only run cluster test when compiled with cluster
      libmysqld/lib_sql.cc:
        Work around for Visual Studio 2003, that lacks vsnprintf() but has _vsnprintf()
      support-files/mysql.spec.sh:
        If excluding Federated, make sure dynamic plugin is not built
      510ee0cf
  3. 01 Apr, 2008 6 commits
    • unknown's avatar
      mysqld.cc: · 6042d6b1
      unknown authored
        Corrects build problems embedded on Windows
      Makefile.am:
        Install .sym or mysqld-debug if exists
      query_cache_debug.test, query_cache_debug.result:
        Set more resonable query cache size (bug#35749)
      CMakeLists.txt:
        Added missing stacktrace.c
      
      
      mysql-test/r/query_cache_debug.result:
        Set more resonable query cache size (bug#35749)
      mysql-test/t/query_cache_debug.test:
        Set more resonable query cache size (bug#35749)
      libmysqld/CMakeLists.txt:
        Added missing stacktrace.c
      sql/Makefile.am:
        Install .sym or mysqld-debug if exists
      sql/mysqld.cc:
        Corrects build problems embedded on Windows
      6042d6b1
    • unknown's avatar
      Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-5.1-release · b081d288
      unknown authored
      into  five.local.lan:/work/mysql-5.1-24-rc
      
      b081d288
    • unknown's avatar
      Fixes for failing funcs_1 tests in mysql-5.1.24-rc · 3c0bce56
      unknown authored
      Problems were caused by modifications of
      - the server
        - HANDLER FOR SQLSTATE '00000' is now rejected (bug fix)
          affects several ..._storedproc* tests
        - improved error message
          affects the ..._trig_03e
        - improved content of information_schema.COLUMNS about
          information_schema.REFERENTIAL_CONSTRAINTS
          affects is_columns_is
      - the content of the community build (collations)
          affects charset_collation_3 
      
      
      mysql-test/suite/funcs_1/r/charset_collation_3.result:
        Updated result
      mysql-test/suite/funcs_1/r/innodb_storedproc.result:
        Updated result
      mysql-test/suite/funcs_1/r/innodb_storedproc_02.result:
        Updated result
      mysql-test/suite/funcs_1/r/innodb_trig_03e.result:
        Updated result
      mysql-test/suite/funcs_1/r/is_columns_is.result:
        Updated result
      mysql-test/suite/funcs_1/r/memory_storedproc.result:
        Updated result
      mysql-test/suite/funcs_1/r/memory_storedproc_02.result:
        Updated result
      mysql-test/suite/funcs_1/r/memory_trig_03e.result:
        Updated result
      mysql-test/suite/funcs_1/r/myisam_storedproc.result:
        Updated result
      mysql-test/suite/funcs_1/r/myisam_storedproc_02.result:
        Updated result
      mysql-test/suite/funcs_1/r/myisam_trig_03e.result:
        Updated result
      mysql-test/suite/funcs_1/r/ndb_storedproc.result:
        Updated result
      mysql-test/suite/funcs_1/r/ndb_storedproc_02.result:
        Updated result
      mysql-test/suite/funcs_1/r/ndb_trig_03e.result:
        Updated result
      mysql-test/suite/funcs_1/storedproc/storedproc_02.inc:
        Corrected script
      mysql-test/suite/funcs_1/storedproc/storedproc_master.inc:
        Corrected script
      3c0bce56
    • unknown's avatar
      Merge dev:my/mysql-5.1-release · f3f29182
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1.24-release
      
      f3f29182
    • unknown's avatar
      Fixes to eliminate some race conditions in tests. · 2dacde61
      unknown authored
      
      mysql-test/include/master-slave-reset.inc:
        Adding missing waits for slave to start and stop causing test failures.
      mysql-test/suite/rpl/t/rpl_insert.test:
        Waiting for the rows to be inserted instead of relying on the binlog position
        to be updated correctly.
      2dacde61
    • unknown's avatar
      Portability fix · 2ad1d0a6
      unknown authored
      
      sql/set_var.cc:
        Unbreak REPORT_PORT on big endian machines where sizeof long != sizeof int.
      2ad1d0a6
  4. 31 Mar, 2008 9 commits
    • unknown's avatar
      mysql.spec.sh: · 75485b9c
      unknown authored
        Made Federated and Cluster optional
      
      
      support-files/mysql.spec.sh:
        Made Federated and Cluster optional
      75485b9c
    • unknown's avatar
      disabled.def: · 880d5013
      unknown authored
        Disabled 'rpl_redirect', failure is sporadic and and the test is superfluous
      rpl_packet.test, rpl_packet.result:
        Removing race conditions from rpl_packet causing test to fail
      
      
      mysql-test/suite/rpl/t/disabled.def:
        Disabled 'rpl_redirect', failure is sporadic and and the test is superfluous
      mysql-test/suite/rpl/r/rpl_packet.result:
        Result change.
      mysql-test/suite/rpl/t/rpl_packet.test:
        Setting net_buffer_length correctly for the test instead of relying on it
        being set correctly. Waiting for slave to stop after issuing a SLAVE STOP
        and waiting for slave to start when issuing a SLAVE START to prevent race
        conditions causing test failure.
      880d5013
    • unknown's avatar
      merge 5.1-main to 5.1-bugteam · b3a29927
      unknown authored
      b3a29927
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-bugteam · dfb07b1c
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/merge-build-5.1-bugteam
      
      dfb07b1c
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-bugteam · 152bf6cc
      unknown authored
      into  mats-laptop.(none):/home/bk/b29020-mysql-5.1-rpl
      
      152bf6cc
    • unknown's avatar
      Updating commit.inc since the number of commits done for non-transactional · 0854985d
      unknown authored
      tables is not zero any more. For row-based logging, there is an extra commit
      for sending rows changed by the statement to the binary log.
      
      
      mysql-test/include/commit.inc:
        For row-based logging, an extra commit is done for each statement to commit
        non-transactional changes to the binary log.
      mysql-test/r/commit_1innodb.result:
        Result change.
      0854985d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · 56d52b77
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/merge-build-5.1-bugteam
      
      
      sql/log.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/share/errmsg.txt:
        merged 5.1-main to 5.1-bugteam
      56d52b77
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-build · 2ac9747a
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/merge-build-5.1-bugteam
      
      
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      2ac9747a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · 06899d65
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/merge-build-5.1-bugteam
      
      
      include/my_dbug.h:
        Auto merged
      mysys/mf_keycache.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      storage/myisam/mi_check.c:
        Auto merged
      storage/myisam/mi_dynrec.c:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisam/mi_packrec.c:
        Auto merged
      storage/myisam/mi_test1.c:
        Auto merged
      storage/myisam/mi_test2.c:
        Auto merged
      storage/myisam/mi_write.c:
        Auto merged
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      06899d65
  5. 30 Mar, 2008 3 commits
  6. 29 Mar, 2008 10 commits
    • unknown's avatar
      Bug #35675 reset master finds assert if a binlog file can not be deleted · 8d74abb0
      unknown authored
      If a binlog file is manually replaced with a namesake directory the internal purging did
      not handle the error of deleting the file so that eventually
      a post-execution guards fires an assert.
      
      Fixed with reusing a snippet of code for bug@18199 to tolerate lack of the file but no other error 
      at an attempt to delete it.
      The same applied to the index file deletion.
      
      The cset carries pieces of manual merging.
      
      
      mysql-test/r/binlog_index.result:
        new results
      mysql-test/r/ctype_big5.result:
        results changed
      mysql-test/suite/binlog/r/binlog_auto_increment_bug33029.result:
        new results
      mysql-test/suite/binlog/r/binlog_stm_blackhole.result:
        new results
      mysql-test/suite/binlog/t/binlog_auto_increment_bug33029.test:
        cleanup. still todo: to let the test run multiple times w/o restarting the server (just ./mtr test)
      mysql-test/suite/rpl/r/rpl_stm_auto_increment_bug33029.result:
        results changed
      mysql-test/suite/rpl/t/rpl_stm_auto_increment_bug33029.test:
        guarding the test with statement format condition as the logics of the test requires
      sql/log.cc:
        two changes. One for the bug, other manual merge.
        The bug change needs MYF(0) to pass to my_delete because not all error out of the function
        are critical. The finer check is done on the caller of my_delete similarly how it was implemented
        for bug@18199 fixes. Non-existance of a file is not a critical error.
      sql/sql_class.cc:
        manual merge, removing extra automatically brought hunk.
      8d74abb0
    • unknown's avatar
      Merge macbook.gmz:/Users/kgeorge/mysql/work/pb-5.0-bugteam · bdc7963c
      unknown authored
      into  macbook.gmz:/Users/kgeorge/mysql/work/pb-5.1-bugteam
      
      
      mysys/mf_keycache.c:
        null-merge
      sql/item_func.cc:
        null-merge
      sql/lock.cc:
        null-merge
      sql/sql_analyse.cc:
        null-merge
      storage/csv/ha_tina.cc:
        null-merge
      storage/myisam/mi_check.c:
        null-merge
      storage/myisam/mi_keycache.c:
        null-merge
      bdc7963c
    • unknown's avatar
      fixed warnings from the fix of 26243 · c6b4a742
      unknown authored
      c6b4a742
    • unknown's avatar
      Merge macbook.gmz:/Users/kgeorge/mysql/work/pb-5.0-bugteam · 277d2c95
      unknown authored
      into  macbook.gmz:/Users/kgeorge/mysql/work/pb-5.1-bugteam
      
      
      BitKeeper/deleted/.del-ha_berkeley.cc:
        null-merge
      extra/charset2html.c:
        Auto merged
      sql/mysqld.cc:
        null-merge
      sql/sql_union.cc:
        null-merge
      277d2c95
    • unknown's avatar
      43ca62ce
    • unknown's avatar
      Merge mysql1000.(none):/home/andrei/MySQL/MERGE/5.0-main2rpl · 9e57c988
      unknown authored
      into  mysql1000.(none):/home/andrei/MySQL/MERGE/5.1-main2rpl
      
      
      BitKeeper/deleted/.del-binlog_killed_simulate.result:
        Auto merged
      BitKeeper/deleted/.del-show_binlog_events.inc:
        Auto merged
      mysql-test/suite/rpl/r/rpl_user.result:
        Auto merged
      storage/blackhole/ha_blackhole.cc:
        Auto merged
      BitKeeper/deleted/.del-show_binary_logs.inc:
        Delete: mysql-test/include/show_binary_logs.inc
      mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result:
        manual merge ul.
      mysql-test/extra/binlog_tests/blackhole.test:
        manual merge
      mysql-test/suite/binlog/r/binlog_stm_blackhole.result:
        manual merge
      sql/log.cc:
        manual merge
      sql/share/errmsg.txt:
        manual merge
      sql/sql_class.cc:
        manual merge
      9e57c988
    • unknown's avatar
      Merge mysql1000.(none):/home/andrei/MySQL/BARE/mysql-5.1 · 1f5c4861
      unknown authored
      into  mysql1000.(none):/home/andrei/MySQL/MERGE/5.1-main2rpl
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      1f5c4861
    • unknown's avatar
      Fixing rpl suite disabled.def: rpl_stm_extraColmaster_ndb does not exist in the suite. · ab5d32b2
      unknown authored
      
      mysql-test/suite/rpl/t/disabled.def:
        removing the line because there is no such test in the suite anymore.
      ab5d32b2
    • unknown's avatar
      Merge macbook.gmz:/Users/kgeorge/mysql/work/pb-5.0-bugteam · b367adbd
      unknown authored
      into  macbook.gmz:/Users/kgeorge/mysql/work/pb-5.1-bugteam
      
      
      configure.in:
        null merge
      libmysql/libmysql.c:
        null merge
      sql/ha_ndbcluster.cc:
        null merge
      sql/ha_ndbcluster_cond.cc:
        null merge
      sql-common/client.c:
        null merge
      storage/federated/ha_federated.cc:
        null merge
      storage/heap/hp_test2.c:
        SCCS merged
      storage/innobase/handler/ha_innodb.cc:
        null merge
      storage/myisam/mi_check.c:
        null merger
      storage/myisam/mi_delete.c:
        null merge
      storage/myisam/mi_dynrec.c:
        null merge
      storage/myisam/mi_key.c:
        null merge
      storage/myisam/mi_open.c:
        null merge
      storage/myisam/mi_packrec.c:
        null merge
      storage/myisam/mi_page.c:
        null merge
      storage/myisam/mi_search.c:
        null merge
      storage/myisam/mi_statrec.c:
        null merge
      storage/myisam/mi_test1.c:
        SCCS merged
      storage/myisam/mi_test2.c:
        null merge
      storage/myisam/mi_test3.c:
        SCCS merged
      storage/myisam/mi_write.c:
        null merge
      storage/myisammrg/myrg_rkey.c:
        null merge
      storage/ndb/src/ndbapi/DictCache.cpp:
        null merge
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        null merge
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        null merge
      storage/ndb/src/ndbapi/NdbOperationInt.cpp:
        null merge
      storage/ndb/src/ndbapi/NdbOperationSearch.cpp:
        null merge
      b367adbd
    • unknown's avatar
      5ba6efcb
  7. 28 Mar, 2008 10 commits
    • unknown's avatar
      Merge amd64.(none):/src/bug26243/my50-bug26243 · 6459ebb1
      unknown authored
      into  amd64.(none):/src/bug26243/my51-bug26243
      
      
      libmysql/libmysql.c:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      storage/federated/ha_federated.cc:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      6459ebb1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-bugteam · 41383ab2
      unknown authored
      into  amd64.(none):/src/bug26243/my51-bug26243
      
      41383ab2
    • unknown's avatar
      Fix manual merge. · a6e4cac2
      unknown authored
      a6e4cac2
    • unknown's avatar
      Merge quad.opbmk:/mnt/raid/alik/MySQL/devel/5.0-bt · cbd1f78b
      unknown authored
      into  quad.opbmk:/mnt/raid/alik/MySQL/devel/5.1-bt-merged
      
      
      mysql-test/t/loaddata.test:
        Auto merged
      mysql-test/r/loaddata.result:
        Manually merged.
      sql/share/errmsg.txt:
        Manually merged.
      sql/sql_load.cc:
        Manually merged.
      cbd1f78b
    • unknown's avatar
      Merge amd64.(none):/src/mysql-5.1-bugteam · 23a8a066
      unknown authored
      into  amd64.(none):/src/bug26243/my51-bug26243
      
      23a8a066
    • unknown's avatar
      Merge amd64.(none):/src/mysql-5.0-bugteam · 57f92977
      unknown authored
      into  amd64.(none):/src/bug26243/my50-bug26243
      
      57f92977
    • unknown's avatar
      Fix tree: · fdf7e6f5
      unknown authored
        1. Use 'dat' extension, because it is handled in Makefile.am;
        2. Fix typo: the bug id is 35469, not 35649.
      
      
      mysql-test/std_data/bug35469.dat:
        Rename: mysql-test/std_data/bug35649.data -> mysql-test/std_data/bug35469.dat
      mysql-test/r/loaddata.result:
        Update result file.
      mysql-test/t/loaddata.test:
        1. Use 'dat' extension, because it is handled in Makefile.am;
        2. Fix typo: the bug id is 35469, not 35649.
      fdf7e6f5
    • unknown's avatar
      Merge amd64.(none):/src/mysql-5.0-bugteam · 2b99ccb6
      unknown authored
      into  amd64.(none):/src/bug26243/my50-bug26243
      
      
      libmysql/libmysql.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      sql/ha_federated.cc:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      2b99ccb6
    • unknown's avatar
      perror.c: · 047d857e
      unknown authored
        fixed warning in 5.1-marvel in fix for bug 25177
      
      
      extra/perror.c:
        fixed warning in 5.1-marvel in fix for bug 25177
      047d857e
    • unknown's avatar
      Makefile.am: · d332d8e3
      unknown authored
        added my_handler_errors.h
      
      
      mysys/Makefile.am:
        added my_handler_errors.h
      d332d8e3