1. 26 Jun, 2006 4 commits
  2. 25 Jun, 2006 3 commits
    • unknown's avatar
      Post merge fix · 725ab9df
      unknown authored
      
      mysql-test/r/func_time.result:
        post-merge fix
      mysql-test/r/select.result:
        post-merge fix
      725ab9df
    • unknown's avatar
      Merge mysql.com:/home/emurphy/src/bk-clean/tmp_merge · c2575322
      unknown authored
      into  mysql.com:/home/emurphy/src/bk-clean/mysql-5.1
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/valgrind.supp:
        Auto merged
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      mysys/Makefile.am:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndberror.c:
        Auto merged
      include/Makefile.am:
        manual merge
      mysql-test/r/func_time.result:
        manual merge
      mysql-test/r/select.result:
        manual merge
      c2575322
    • unknown's avatar
      .del-make_win_src_distribution.sh~f80d8fca44e4e5f1: · d98a7999
      unknown authored
        Delete: scripts/make_win_src_distribution.sh
      Makefile.am:
        Unix and Windows now shares source package
      
      
      scripts/Makefile.am:
        Unix and Windows now shares source package
      BitKeeper/deleted/.del-make_win_src_distribution.sh~f80d8fca44e4e5f1:
        Delete: scripts/make_win_src_distribution.sh
      d98a7999
  3. 24 Jun, 2006 4 commits
  4. 23 Jun, 2006 18 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · 0781fc0c
      unknown authored
      into  mysql.com:/data0/knielsen/tmp-5.1
      
      
      0781fc0c
    • unknown's avatar
      Post merge fix. · 3d4632b8
      unknown authored
      3d4632b8
    • unknown's avatar
      Merge mysql.com:/home/emurphy/src/bk-clean/tmp_merge · b02748fd
      unknown authored
      into  mysql.com:/home/emurphy/src/bk-clean/mysql-5.1
      
      
      mysql-test/r/func_time.result:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/r/lock_multi.result:
        manual merge
      mysql-test/t/lock_multi.test:
        manual merge
      sql/ha_innodb.cc:
        manual merge
      b02748fd
    • unknown's avatar
      Fix for bug #18897 "Events: unauthorized action possible with · d6cf50ca
      unknown authored
      alter event rename".
      
      ALTER EVENT ... RENAME statement hasn't checked privileges
      for the target database. It also caused server crashes when
      target database was not specified explicitly and there was
      no current database.
      
      This fix adds missing privilege check and check for the case
      when target database is not specified explicitly or implicitly.
      
      
      mysql-test/r/events_bugs.result:
        update result
      mysql-test/t/events_bugs.test:
        add test case for bug 18897 Events: unauthorized action possible with alter event
        rename:
        - test rename to db the user does not have access to
        - test rename when there is no selected db
      sql/sql_parse.cc:
        Additional check for the situation when no db is selected.
        CREATE EVENT abc and ALTER EVENT db.abc RENAME TO xyz,
        and DROP EVENT abc
        won't work if there is no selected DB.
      d6cf50ca
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 11f81a7c
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/5.1-curs-bug
      
      
      11f81a7c
    • unknown's avatar
      remove links from bk to get rid of warnings on windows · 7815deb4
      unknown authored
      
      BitKeeper/deleted/.del-sql_state.c~3b39d30b649690f3:
        Delete: server-tools/instance-manager/sql_state.c
      BitKeeper/deleted/.del-password.c~9d4b6a4c57887ac7:
        Delete: server-tools/instance-manager/password.c
      BitKeeper/deleted/.del-pack.c~4754cd15e3058c75:
        Delete: server-tools/instance-manager/pack.c
      BitKeeper/deleted/.del-net_serv.cc~120fb81d7e670308:
        Delete: server-tools/instance-manager/net_serv.cc
      7815deb4
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.1-vg-apr2 · 83f16e31
      unknown authored
      into  mysql.com:/usr/local/mysql/tmp-5.1
      
      
      server-tools/instance-manager/instance_options.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/rpl_injector.cc:
        Auto merged
      sql/rpl_injector.h:
        Auto merged
      83f16e31
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-bug20622 · 46d19b74
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.1-vg-apr2
      
      
      mysys/mf_dirname.c:
        Auto merged
      server-tools/instance-manager/instance_options.cc:
        Manual merge.
      46d19b74
    • unknown's avatar
      BUG#20622: Fix one-byte buffer overrun in IM directory string handling. · 0f3cc95b
      unknown authored
      The problem was a call to convert_dirname() with a destination buffer
      that did not have room for the trailing slash added by that function.
      This could cause the instance manager to crash in some cases.
      
      
      mysys/mf_dirname.c:
        Clarify in comments that convert_dirname destination must be larger than
        source to accomodate a trailing slash.
      server-tools/instance-manager/instance_options.cc:
        Fix buffer overrun.
      0f3cc95b
    • unknown's avatar
      Merge monty@192.168.0.9:/my/mysql-5.1 · 2deb5a61
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/handler.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      2deb5a61
    • unknown's avatar
      Suppress memory leak from 'kill_server' · caf21245
      unknown authored
      (Happens if main thread exists before kill_server thread, which is ok)
      
      
      caf21245
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 641cb772
      unknown authored
      into lmy004.:/work/mysql-5.1-runtime-bug20624
      
      
      641cb772
    • unknown's avatar
      disable events tests in embedded · d0a603e3
      unknown authored
      (fix for bug#20290 Event mechanism incompatible with embedded server, but tests tried)
      
      
      mysql-test/t/events.test:
        disable test in embedded
      mysql-test/t/events_bugs.test:
        disable test in embedded
      mysql-test/t/events_grant.test:
        disable test in embedded
      mysql-test/t/events_logs_tests.test:
        disable test in embedded
      mysql-test/t/events_microsec.test:
        disable test in embedded
      mysql-test/t/events_scheduling.test:
        disable test in embedded
      mysql-test/t/events_stress.test:
        disable test in embedded
      d0a603e3
    • unknown's avatar
      Fixed memory leak (found by rpl_row_inexist_tbl) · 1e4d1f9b
      unknown authored
      
      sql/handler.cc:
        Made code more portable
      1e4d1f9b
    • unknown's avatar
      Merge monty@192.168.0.9:/my/mysql-5.1 · 9d490f4f
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/handler.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      9d490f4f
    • unknown's avatar
      Fixed problem when compiling libmysqld (without replication) · feb578be
      unknown authored
      This change allows us to use the stmt_binlog function in the code without ifdefs
      (We should avoid having ifdefs in the .cc and .c files)
      
      
      sql/handler.h:
        Removed compiler warnings
      feb578be
    • unknown's avatar
      Merge monty@192.168.0.9:/my/mysql-5.1 · c5f13dd2
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/handler.cc:
        Auto merged
      c5f13dd2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 7ac7f149
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/handler.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      7ac7f149
  5. 22 Jun, 2006 11 commits
    • unknown's avatar
      Remove compiler warnings · e03f8ef2
      unknown authored
      Fixed wrong table flags type in ndbcluster that caused previous commit to fail
      
      
      client/mysqltest.c:
        Portability fix
      mysys/my_bitmap.c:
        Remove compiler warning
      mysys/my_handler.c:
        Remove compiler warning
      mysys/thr_lock.c:
        Remove compiler warning
      plugin/fulltext/plugin_example.c:
        Remove compiler warning
      sql/ha_ndbcluster.h:
        Fixed wrong of handler flags (caused previous commit to fail)
      sql/ha_ndbcluster_binlog.cc:
        Remove compiler warning
      sql/handler.cc:
        Indentation cleanups
      sql/mysql_priv.h:
        Changed log_output_options to ulong to remove compiler warning (and wrong test on 64 bit machines)
      sql/mysqld.cc:
        Changed log_output_options to ulong to remove compiler warning (and wrong test on 64 bit machines)
        Split initialization of variables of different types to remove compiler warning
      sql/set_var.cc:
        Fixed indentation
      sql/set_var.h:
        sys_var_log_output now takes a pointer to ulong
      storage/archive/archive_test.c:
        Remove compiler warning
      e03f8ef2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 460b8241
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/handler.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      460b8241
    • unknown's avatar
      Merge monty@192.168.0.9:/my/mysql-5.1 · b38b9cae
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      b38b9cae
    • unknown's avatar
      Fixed failure with rpl_truncate_7ndb.test when using statement based replication. · b58e990c
      unknown authored
      is_injective -> table_flag() HA_HAS_OWN_BINLOGGING
      (Faster and easier to understand)
      Allow cluster_binlogging also in mixed replication mode.
      
      
      mysql-test/t/rpl_truncate_7ndb.test:
        Ensure that test is only run with mixed or row based replication
      sql/ha_ndbcluster.cc:
        Enforce row based replication if a cluster table is used
      sql/ha_ndbcluster.h:
        Remove is_injective() (Is now a table flag)
      sql/ha_ndbcluster_binlog.cc:
        Use cluster binlogging also in mixed binary logging
        (Using a cluster table will enforce row based replication in mixed mode, so this should be ok)
      sql/handler.cc:
        is_injective -> HA_HAS_OWN_BINLOGGING
      sql/handler.h:
        is_injective -> HA_HAS_OWN_BINLOGGING
      mysql-test/include/have_binlog_format_mixed_or_row.inc:
        New BitKeeper file ``mysql-test/include/have_binlog_format_mixed_or_row.inc''
      mysql-test/r/rpl_truncate_7ndb_2.result:
        New BitKeeper file ``mysql-test/r/rpl_truncate_7ndb_2.result''
      mysql-test/t/rpl_truncate_7ndb_2-master.opt:
        New BitKeeper file ``mysql-test/t/rpl_truncate_7ndb_2-master.opt''
      mysql-test/t/rpl_truncate_7ndb_2.test:
        New BitKeeper file ``mysql-test/t/rpl_truncate_7ndb_2.test''
      b58e990c
    • unknown's avatar
      Merge clam.ndb.mysql.com:/space/pekka/ndb/version/my51 · c04d04ec
      unknown authored
      into  clam.ndb.mysql.com:/space/pekka/ndb/version/my51-bug14935
      
      
      c04d04ec
    • unknown's avatar
      Merge clam.ndb.mysql.com:/space/pekka/ndb/version/my51 · f6a65b02
      unknown authored
      into  clam.ndb.mysql.com:/space/pekka/ndb/version/my51-bug18781
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndberror.c:
        Auto merged
      f6a65b02
    • unknown's avatar
      ndb - bug#18781 post-merge 5.0->5.1 fixes (one more to come) · 5aaba829
      unknown authored
            have to push this to be able to push 5.0
      
      
      storage/ndb/include/kernel/signaldata/DictLock.hpp:
        Rename: ndb/include/kernel/signaldata/DictLock.hpp -> storage/ndb/include/kernel/signaldata/DictLock.hpp
      storage/ndb/src/kernel/blocks/dbdict/DictLock.txt:
        Rename: ndb/src/kernel/blocks/dbdict/DictLock.txt -> storage/ndb/src/kernel/blocks/dbdict/DictLock.txt
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        debug
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        bug#18781 post-merge 5.0->5.1 fixes (one more to come)
      storage/ndb/src/ndbapi/ndberror.c:
        bug#18781 post-merge 5.0->5.1 fixes (one more to come)
      storage/ndb/test/ndbapi/testDict.cpp:
        bug#18781 post-merge 5.0->5.1 fixes (one more to come)
      storage/ndb/test/src/NdbRestarter.cpp:
        bug#18781 post-merge 5.0->5.1 fixes (one more to come)
      5aaba829
    • unknown's avatar
      Merge mysql.com:/mnt/raid/alik/MySQL/devel/5.1-tree · b84008c9
      unknown authored
      into  mysql.com:/mnt/raid/alik/MySQL/devel/5.1-rt-bug20294
      
      
      mysql-test/t/disabled.def:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      b84008c9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 00508f8f
      unknown authored
      into  mysql.com:/mnt/raid/alik/MySQL/devel/5.1-rt-bug20294
      
      
      00508f8f
    • unknown's avatar
      Additional fix for BUG#20294: Instance manager test · bd6f56a7
      unknown authored
      im_instance_conf fails randomly.
      
      
      mysql-test/r/im_options.result:
        Updated result file.
      mysql-test/t/im_instance_conf.imtest:
        Added a note about specific of CREATE INSTANCE usage in IM-tests.
      mysql-test/t/im_options.imtest:
        1. Specify socket-file-name for new instance so that the test
           does not depend on another running test-suite on the same box.
        2. Added a note about specific of CREATE INSTANCE usage in IM-tests.
      bd6f56a7
    • unknown's avatar
      BUG#20549: Fix missing memory initialization. · 3c6d0b6a
      unknown authored
      Some values were not initialized, causing Valgrind errors (and potential
      random bugs):
      
       - NDB binlog thread thd->variables.pseudo_thread_id.
       - Table null bits.
       - Field bytes for columns with NULL values.
      
      
      sql/ha_ndbcluster_binlog.cc:
        Fix initialization of thd->variables.pseudo_thread_id.
        Change double alloc_root() call to multi_alloc_root().
        Fix missing initialization of null bits.
      sql/sql_class.cc:
        Do not read from the supplied record for NULL values, use the default
        value record instead.
        Otherwise we will get Valgrind errors about uninitialised values written
        to binlog, as NDB does not initialize the memory in records for NULL
        fields.
      3c6d0b6a