1. 17 Apr, 2007 1 commit
    • unknown's avatar
      Fixed federated and some replication tests to not stop slave until it's up and running. · 763f105d
      unknown authored
      (Removes some warnings about UNIX_TIMESTAMP from the slave.err logs)
      Marked federated_server as a '--big-test'
      Change error in net_clear to 'Note', as it interfered with mysql-test-run.
      
      
      client/mysqltest.c:
        More DBUG messages
        Adding missing DBUG_RETURN
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Added missing sync_slave_with_master
      mysql-test/extra/rpl_tests/rpl_relayrotate.test:
        Added missing sync_slave_with_master
      mysql-test/include/federated.inc:
        Don't do stop slave before the slave has started properly
        (Removes some warnings about UNIX_TIMESTAMP from the slave.err logs)
      mysql-test/include/federated_cleanup.inc:
        Trivial cleanup
      mysql-test/t/federated_server.test:
        Don't run this unless under --big-test
        Made test-loop smaller. (We will find out errors in code over time, as the test is run under a lot of difference machines which will compensate for the smaller loop)
      mysql-test/t/rpl_flushlog_loop.test:
        Added missing sync_slave_with_master
      sql/net_serv.cc:
        Change error to Note (low level warning), as it interfered with mysql-test-run.
        This is probably fine as we in some context on sever shutdown can get information about connection shutdown on the connection while we are doing a query at the same time.
        Still, in normal context one should get this, so it's good to have it in the log as it enables one to find errors easier.
      sql/slave.cc:
        Added reason to why things failed to error message
      763f105d
  2. 16 Apr, 2007 1 commit
    • unknown's avatar
      Clear field_alloc when it's moved to result set (allows us to always call free_root on field_alloc) · 48892844
      unknown authored
      Change to use remove_file instead of 'system rm' in a lot of tests. (Should fix some windows test problems)
      Removed memory leak in mysql_test if sync_with_master fails.
      Do not terminate ndb_cluster_binary_log before the util thread has finnished. This should fix a shutdown bug where a thread is accessing injector_mutex after it's freed.
      Patch may fix Bug#27622 "mysqld shutdown, util thread continues, while binlog thread exits"
      
      
      client/mysqltest.c:
        Added missing 'mysql_free_result' (fixed confusing memory leak when sync_with_master fails)ug
      mysql-test/mysql-test-run.pl:
        Add the test case name to the instance manager log files
      mysql-test/r/rpl_log_pos.result:
        Made test more portable (for powermac)
      mysql-test/t/disabled.def:
        Disabled im_life_cycle (added bug#27851)
      mysql-test/t/myisam-system.test:
        Use remove_file instead of "system rm"
      mysql-test/t/ndb_autodiscover.test:
        Use remove_file instead of "system rm"
      mysql-test/t/ndb_loaddatalocal.test:
        Use remove_file instead of "system rm"
      mysql-test/t/rpl_loaddatalocal.test:
        Use remove_file instead of "system rm"
      mysql-test/t/rpl_log_pos.test:
        Made test more portable (for powermac)
      mysql-test/t/rpl_misc_functions.test:
        Use remove_file instead of "system rm"
      mysql-test/t/rpl_rbr_to_sbr.test:
        Use remove_file instead of "system rm"
      mysql-test/t/rpl_row_NOW.test:
        Use remove_file instead of "system rm"
      mysql-test/t/rpl_row_sp001.test:
        Use remove_file instead of "system rm"
      mysql-test/t/rpl_row_sp011.test:
        Use remove_file instead of "system rm"
      mysql-test/t/show_check.test:
        Use remove_file instead of "system rm"
      mysys/my_alloc.c:
        Don't return on zero argument, as this may hide other errors
      server-tools/instance-manager/log.cc:
        Log errors to both stdout and stderr (to know in which context we got the error)
      server-tools/instance-manager/thread_registry.cc:
        Log error before common assert (to know in which context we fail)
      sql/ha_ndbcluster.cc:
        Do not terminate ndb_cluster_binary_log before the util thread has finnished.
      sql/ha_ndbcluster.h:
        Do not terminate ndb_cluster_binary_log before the util thread has finnished.
      sql/ha_ndbcluster_binlog.cc:
        Do not terminate ndb_cluster_binary_log before the util thread has finnished.
      sql-common/client.c:
        Clear field_alloc when it's moved to result set (allows us to always call free_root on field_alloc)
      48892844
  3. 13 Apr, 2007 7 commits
    • unknown's avatar
      Avoid resetting a variable. Fixed grant.test. · 0a3abcf2
      unknown authored
      0a3abcf2
    • unknown's avatar
      Merged from 5.0 · 1d84f0c8
      unknown authored
      1d84f0c8
    • unknown's avatar
      Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.0-marvel · e628ba73
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.1-marvel
      
      
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysys/my_malloc.c:
        Auto merged
      mysys/my_static.c:
        Auto merged
      mysys/safemalloc.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/archive/ha_archive.cc:
        Auto merged
      storage/heap/hp_write.c:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      mysql-test/r/grant.result:
        Merged from 5.0
      sql/sql_db.cc:
        Merged from 5.0
      sql/sql_parse.cc:
        Merged from 5.0
      e628ba73
    • unknown's avatar
      Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-4.1-main · f036fbcd
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.0-marvel
      
      
      heap/hp_write.c:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      f036fbcd
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · 830803a2
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.1-marvel
      
      
      sql/set_var.cc:
        Auto merged
      830803a2
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3df21225
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.0-marvel
      
      
      3df21225
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 50bd6eed
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-4.1-main
      
      
      50bd6eed
  4. 12 Apr, 2007 4 commits
    • unknown's avatar
      Added more descriptive error message of why statement was automaticly dropped · f3efb3dc
      unknown authored
      Print information if net_clear() skipped bytes (As this otherwise hides critical timeing bugs)
      Added DBUG_ASSERT if we get packets out of order
      mysql_change_user() could on error send multiple packets, which caused mysql_client_test to randomly fail
      
      
      include/errmsg.h:
        Added more descriptive error message of why statement was automaticly dropped
      libmysql/client_settings.h:
        Added more descriptive error message of why statement was automaticly dropped
      libmysql/errmsg.c:
        Added more descriptive error message of why statement was automaticly dropped
      libmysql/libmysql.c:
        Added more descriptive error message of why statement was automaticly dropped
      sql-common/client.c:
        Added more descriptive error message of why statement was automaticly dropped
      sql/net_serv.cc:
        Print information if net_clear() skipped bytes (As this otherwise hides critical timeing bugs)
        Added DBUG_ASSERT if we get packets out of order
      sql/sql_class.cc:
        We need to set killed to NOT_KILLED after cleanup() if we want to continue using THD
        (If not, the connection will be closed after the current stmt)
      sql/sql_parse.cc:
        mysql_change_user() could on error send multiple packets, which caused mysql_client_test to randomly fail
      tests/mysql_client_test.c:
        More DBUG information
        Better usage of --silent
        Always print 'OK' the same way.
        Disable test_bug17667 if run outside of mysql-test-run
      f3efb3dc
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 2e73a53e
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      2e73a53e
    • unknown's avatar
      Merge trift2.:/MySQL/M41/push-4.1 · 795d8583
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      795d8583
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 239b3859
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-marvel
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysys/my_malloc.c:
        Auto merged
      mysys/my_static.c:
        Auto merged
      mysys/safemalloc.c:
        Auto merged
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      sql/ha_archive.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      mysql-test/r/sp.result:
        Merged from main 5.0
      sql/sql_load.cc:
        Merged from main 5.0
      239b3859
  5. 11 Apr, 2007 11 commits
  6. 10 Apr, 2007 13 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · cb8f4d40
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-4.1-build
      
      
      cb8f4d40
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 598c0526
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.0-build
      
      
      598c0526
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1 · 887cde75
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.1-build
      
      
      887cde75
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp3/mysql-5.0-build · 010d81af
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.1-build
      
      
      config/ac-macros/zlib.m4:
        Auto merged
      mysys/my_memmem.c:
        Auto merged
      zlib/Makefile.am:
        Auto merged
      010d81af
    • unknown's avatar
      my_memmem.c: · bb4987f1
      unknown authored
        Back port of include change and copyright from 5.1
      Makefile.am, zlib.m4:
        Use separate libtool convenience library for the bundled
        zlib to embed into executables and shared libraries created,
        and one to install into the pkglib directory
      
      
      zlib/Makefile.am:
        Use separate libtool convenience library for the bundled
        zlib to embed into executables and shared libraries created,
        and one to install into the pkglib directory
      config/ac-macros/zlib.m4:
        Use separate libtool convenience library for the bundled
        zlib to embed into executables and shared libraries created,
        and one to install into the pkglib directory
      mysys/my_memmem.c:
        Back port of include change and copyright from 5.1
      bb4987f1
    • unknown's avatar
      6c15d02a
    • unknown's avatar
      Small fixes for merge. · d66e4721
      unknown authored
      
      mysql-test/include/not_embedded.inc:
        Fixed a typo.
      mysql-test/lib/mtr_cases.pl:
        Fixed typo and wrong error message.
      mysql-test/r/binlog_statement_insert_delayed.result:
        Fixed result file.
      sql/event_db_repository.cc:
        Fixed type.
      sql/log.cc:
        Fixed type.
      d66e4721
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · c46dd446
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main
      
      
      sql-common/my_time.c:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      c46dd446
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · a2989a35
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.1-marvel
      
      
      client/mysqlcheck.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      include/my_time.h:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/type_date.result:
        Auto merged
      mysql-test/r/type_datetime.result:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysys/my_malloc.c:
        Auto merged
      mysys/my_static.c:
        Auto merged
      mysys/safemalloc.c:
        Auto merged
      sql/event_queue.cc:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/time.cc:
        Auto merged
      storage/archive/ha_archive.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      client/client_priv.h:
        Manual merge with main 5.1 source.
      sql/event_data_objects.cc:
        Manual merge with main 5.1 source.
      sql/event_db_repository.cc:
        Manual merge with main 5.1 source.
      sql/mysqld.cc:
        Manual merge with main 5.1 source.
      sql/sql_load.cc:
        Manual merge with main 5.1 source.
      sql/sql_parse.cc:
        Manual merge with main 5.1 source.
      a2989a35
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · c4879fe6
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      heap/hp_write.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      c4879fe6
    • unknown's avatar
      Bug#27171 mysqlbinlog produces different output depends from option -R · d75aa055
      unknown authored
      a better fix, that works with 4.1 servers which don't send a fake
      Format_description_log_event.
      
      
      d75aa055
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-release · b4a35ca5
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work
      
      
      CMakeLists.txt:
        Auto merged
      mysql-test/r/mysqlbinlog.result:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      scripts/make_win_bin_dist:
        Auto merged
      sql/set_var.cc:
        Auto merged
      support-files/mysql.spec.sh:
        merge fix
      b4a35ca5
    • unknown's avatar
      add a manual page back · d6a3989a
      unknown authored
      
      support-files/mysql.spec.sh:
        add mysql_install_db.1 back
      d6a3989a
  7. 09 Apr, 2007 3 commits