1. 17 Apr, 2007 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-marvel · 4d07b3dc
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      4d07b3dc
    • unknown's avatar
      Fixed federated and some replication tests to not stop slave until it's up and running. · 6b222f52
      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
      6b222f52
  2. 16 Apr, 2007 3 commits
    • unknown's avatar
      Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF() · ba5727ac
      unknown authored
      refining the test with active innodb
      
      
      mysql-test/r/sp_trans_log.result:
        changed
      mysql-test/t/sp_trans_log.test:
        innodb activated
      ba5727ac
    • unknown's avatar
      Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF() · 0aade480
      unknown authored
      tests for the bug and associated is moved into another file because
      they appeared to be binlog-format sensitive.
      
      
      mysql-test/r/sp_trans.result:
        results changed
      mysql-test/t/sp_trans.test:
        binlog format sensitive piece of test moved to sp_trans_log.
      mysql-test/r/sp_trans_log.result:
        new results
      mysql-test/t/sp_trans_log.test:
        binlog-format sensitive part of sp_trans.test
      0aade480
    • unknown's avatar
      Clear field_alloc when it's moved to result set (allows us to always call free_root on field_alloc) · 03cf9a57
      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)
      03cf9a57
  3. 13 Apr, 2007 7 commits
    • unknown's avatar
      Avoid resetting a variable. Fixed grant.test. · a4658a8d
      unknown authored
      a4658a8d
    • unknown's avatar
      Merged from 5.0 · 467d7e4e
      unknown authored
      467d7e4e
    • unknown's avatar
      Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.0-marvel · e9c81201
      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
      e9c81201
    • unknown's avatar
      Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-4.1-main · 011e8756
      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
      011e8756
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · 132da7a8
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.1-marvel
      
      
      sql/set_var.cc:
        Auto merged
      132da7a8
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · e00f1219
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-5.0-marvel
      
      e00f1219
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0240d1ac
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/new/mysql-4.1-main
      
      0240d1ac
  4. 12 Apr, 2007 4 commits
    • unknown's avatar
      Added more descriptive error message of why statement was automaticly dropped · aa0d5249
      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
      aa0d5249
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 277dfc0f
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      277dfc0f
    • unknown's avatar
      Merge trift2.:/MySQL/M41/push-4.1 · 31db7dfa
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      31db7dfa
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · f5b2b3d1
      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
      f5b2b3d1
  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 · 31f4583a
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-4.1-build
      
      31f4583a
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · a7807cd0
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.0-build
      
      a7807cd0
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1 · c05f0c04
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.1-build
      
      c05f0c04
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp3/mysql-5.0-build · dee7abc3
      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
      dee7abc3
    • unknown's avatar
      my_memmem.c: · c992405a
      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
      c992405a
    • unknown's avatar
      bb831722
    • unknown's avatar
      Small fixes for merge. · 47e6ff17
      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.
      47e6ff17
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · e05962a7
      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
      e05962a7
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · 889c51c7
      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.
      889c51c7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · 02886c22
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      heap/hp_write.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      02886c22
    • unknown's avatar
      Bug#27171 mysqlbinlog produces different output depends from option -R · daf8e46b
      unknown authored
      a better fix, that works with 4.1 servers which don't send a fake
      Format_description_log_event.
      
      daf8e46b
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-release · 5068a909
      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
      5068a909
    • unknown's avatar
      add a manual page back · ce6666d5
      unknown authored
      
      support-files/mysql.spec.sh:
        add mysql_install_db.1 back
      ce6666d5