1. 03 Mar, 2006 1 commit
    • unknown's avatar
      WL#3023 (RBR: Use locks in a statement-like manner): · 4c6b4b01
      unknown authored
        More adaptions to make it work with existing code base.
      
      
      mysql-test/extra/rpl_tests/rpl_row_charset.test:
        Info for RBR events now include table id; changed test to not 
        depend on the table id.
      mysql-test/r/rpl_ndb_blob.result:
        Result change
      mysql-test/r/rpl_ndb_dd_basic.result:
        Result change
      mysql-test/r/rpl_row_basic_7ndb.result:
        Result change
      mysql-test/r/rpl_row_drop.result:
        Result change
      mysql-test/r/rpl_row_log.result:
        Result change
      mysql-test/r/rpl_row_log_innodb.result:
        Result change
      mysql-test/r/rpl_row_sp008.result:
        Result change
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        Result change
      sql/ha_ndbcluster_binlog.cc:
        Enabled patch to NDB to support new locking scheme.
      sql/handler.cc:
        Added test to prevent logging if the binlog is closed.
      sql/log.cc:
        Adaptions to use thread-local variable for enabling row-based replication.
      sql/log_event.cc:
        Fixing compile failure.
      sql/slave.cc:
        Reordering in initializer list to eliminate compiler warning.
      sql/sql_base.cc:
        Bad use of return when DBUG_RETURN should be used.
      sql/sql_insert.cc:
        Adaptions to use thread-local variable for enabling row-based replication.
      4c6b4b01
  2. 28 Feb, 2006 1 commit
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · 4e31551b
      unknown authored
      into  mysql.com:/home/bk/w3023-mysql-5.1-new
      
      
      configure.in:
        Auto merged
      BitKeeper/deleted/.del-sp_notembedded.test:
        Auto merged
      mysql-test/extra/binlog_tests/binlog.test:
        Auto merged
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      mysql-test/r/binlog_stm_ctype_cp932.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/log.h:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/table.h:
        Auto merged
      4e31551b
  3. 27 Feb, 2006 3 commits
    • unknown's avatar
      Post-merge fixes. · 594ba86b
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        Correcting use of bad variable in merge.
      sql/sql_base.cc:
        Removing assertion check for mutex in table share.
      594ba86b
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · 9a26412c
      unknown authored
      into  mysql.com:/home/bk/fix-mysql-5.1-release
      
      
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      9a26412c
    • unknown's avatar
      xml.test: · e2393aa2
      unknown authored
      xml.result:
        Adding test for Bug #16312 XML: extractvalue() crash if angle brackets,
        A fix for #16234 fixed this bug automatically.
      
      
      mysql-test/t/xml.test:
        Adding test for Bug #16312 XML: extractvalue() crash if angle brackets,
        A fix for #16234 fixed this bug automatically.
      e2393aa2
  4. 26 Feb, 2006 7 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7d5ac7e4
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      7d5ac7e4
    • unknown's avatar
      var/tmp does not work (same fix as knielsen did for rpl_row_UUID a few days ago) · abb176ff
      unknown authored
      
      mysql-test/t/rpl_switch_stm_row_mixed.test:
        var/tmp does not work if non-default vardir
      abb176ff
    • unknown's avatar
      Cleanups · 422a1406
      unknown authored
      Don't run upgrade.test with embedded server as it requires mysqlcheck
      
      
      mysql-test/r/upgrade.result:
        Change database names to start with mysqltest
      mysql-test/t/upgrade.test:
        Change database names to start with mysqltest
        Don't run test with embedded server as it requires mysqlcheck
      sql/ha_ndbcluster.cc:
        Code style cleanups
        more dbugging
      sql/ha_ndbcluster_binlog.cc:
        Free table_share properly in case of errors
        More debugging
      422a1406
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · c59ae65d
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/handler.h:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      c59ae65d
    • unknown's avatar
      After merge fixes · d25c405d
      unknown authored
      
      BitKeeper/etc/ignore:
        added storage/ndb/src/common/util/testBitmask.cpp
      mysql-test/mysql-test-run.sh:
        Add libmysql_r/.libs to path for shared libraries.
        (Needed for mysqlimport)
      mysql-test/r/ctype_cp932_notembedded.result:
        After merge fix
      mysql-test/r/func_system.result:
        Version number on embedded server can be longer than 40
      mysql-test/r/partition_mgm_err.result:
        Move tests that require symlinks to partion_mgm_err2.test
      mysql-test/r/query_cache.result:
        Fix possible errors from previous tests
      mysql-test/t/ctype_cp932_notembedded.test:
        After merge fix
      mysql-test/t/func_system.test:
        Version number on embedded server can be longer than 40
      mysql-test/t/partition_mgm_err.test:
        Move tests that require symlinks to partion_mgm_err2.test
      mysql-test/t/query_cache.test:
        Fix possible errors from previous tests
      mysys/my_symlink2.c:
        More debugging
      sql/event.cc:
        Code cleanup
      sql/event_executor.cc:
        Ensure that event mutexes are properly cleared up
      sql/mysqld.cc:
        Ensure that event mutexes are properly cleared up
      mysql-test/r/partition_mgm_err2.result:
        New BitKeeper file ``mysql-test/r/partition_mgm_err2.result''
      mysql-test/t/partition_mgm_err2.test:
        New BitKeeper file ``mysql-test/t/partition_mgm_err2.test''
      d25c405d
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4eccd2ae
      unknown authored
      into  zim.(none):/home/brian/mysql/dep-5.1
      
      
      4eccd2ae
    • unknown's avatar
      This patch handles compiles with threads, namely if you don't have pthreads it... · dc936364
      unknown authored
      This patch handles compiles with threads, namely if you don't have pthreads it will remove support for threads in the applications (and it is fixed in such a way that tests won't break).
      
      
      client/mysqlimport.c:
        Add in flags to support compiles with no thread support.
      client/mysqlslap.c:
        Add support to source code to compile without threads.
      dc936364
  5. 25 Feb, 2006 9 commits
    • unknown's avatar
      Fix for a segfault in my previous cset (about WL#2712 and WL#2977). · e562a201
      unknown authored
      
      sql/sql_load.cc:
        fix for segfault in my previous cset
      sql/sql_repl.cc:
        if RBR, log_loaded_block() returns immediately (code moved from sql_load.cc)
      e562a201
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9cd6325b
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1-new
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      9cd6325b
    • unknown's avatar
      WL#2977 and WL#2712 global and session-level variable to set the binlog format (row/statement), · 7cac0ddf
      unknown authored
      and new binlog format called "mixed" (which is statement-based except if only row-based is correct,
      in this cset it means if UDF or UUID is used; more cases could be added in later 5.1 release):
      SET GLOBAL|SESSION BINLOG_FORMAT=row|statement|mixed|default;
      the global default is statement unless cluster is enabled (then it's row) as in 5.1-alpha.
      It's not possible to use SET on this variable if a session is currently in row-based mode and has open temporary tables (because CREATE
      TEMPORARY TABLE was not binlogged so temp table is not known on slave),  or if NDB is enabled (because
      NDB does not support such change on-the-fly, though it will later), of if in a stored function (see below).
      The added tests test the possibility or impossibility to SET, their effects, and the mixed mode,
      including in prepared statements and in stored procedures and functions.
      Caveats:
      a) The mixed mode will not work for stored functions: in mixed mode, a stored function will
      always be binlogged as one call and in a statement-based way (e.g. INSERT VALUES(myfunc()) or SELECT myfunc()).
      b) for the same reason, changing the thread's binlog format inside a stored function is
      refused with an error message.
      c) the same problems apply to triggers; implementing b) for triggers will be done later (will ask
      Dmitri).
      Additionally, as the binlog format is now changeable by each user for his session, I remove the implication
      which was done at startup, where row-based automatically set log-bin-trust-routine-creators to 1
      (not possible anymore as a user can now switch to stmt-based and do nasty things again), and automatically
      set --innodb-locks-unsafe-for-binlog to 1 (was anyway theoretically incorrect as it disabled
      phantom protection).
      Plus fixes for compiler warnings.
      
      
      mysql-test/r/rpl_row_4_bytes.result:
        update
      mysql-test/t/rpl_row_4_bytes.test:
        don't influence next tests
      sql/ha_archive.cc:
        please pay attention to this structure when you change it...
      sql/ha_berkeley.cc:
        please pay attention to this structure when you change it...
      sql/ha_blackhole.cc:
        please pay attention to this structure when you change it...
      sql/ha_federated.cc:
        please pay attention to this structure when you change it...
      sql/ha_heap.cc:
        please pay attention to this structure when you change it...
      sql/ha_innodb.cc:
        please pay attention to this structure when you change it...
      sql/ha_myisam.cc:
        please pay attention to this structure when you change it...
      sql/ha_myisammrg.cc:
        please pay attention to this structure when you change it...
      sql/ha_ndbcluster_binlog.cc:
        no more global 'binlog_row_based'
      sql/ha_partition.cc:
        please pay attention to this structure when you change it...
      sql/handler.cc:
        please pay attention to this structure when you change it...
      sql/handler.h:
        it's good to initialize statically (to get no compiler warning) even if to a null value.
      sql/item_func.cc:
        UDFs require row-based if this is the "mixed" binlog format.
      sql/item_strfunc.cc:
        UUID() requires row-based binlogging if this is the "mixed" binlog format
      sql/log.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      sql/log.h:
        the enum enum_binlog_format moves to log.h from mysqld.cc as we need it in several places.
      sql/log_event.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      sql/log_event.h:
        this global variable not used anymore
      sql/mysql_priv.h:
        these global variables not used anymore
      sql/mysqld.cc:
        simplification in the handling of --binlog-format (but with no user-visible change), thanks to
        the new global system variable.
        RBR does not anymore turn on --log-bin-trust-function-creators and --innodb-locks-unsafe-for-binlog
        as these are global options and RBR is now settable per session.
      sql/partition_info.cc:
        compiler warnings
      sql/set_var.cc:
        new class of thread's variable, to handle the binlog_format (like sys_var_thd_enum except
        that is_readonly() is overriden for more checks before update).
        compiler warnings (ok'd by Serg)
      sql/set_var.h:
        new class for the thread's binlog_format (see set_var.cc)
      sql/share/errmsg.txt:
        some messages for when one can't toggle from one binlog format to another
      sql/sp_head.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      sql/sql_base.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      sql/sql_class.cc:
        When a THD is initialized, we set its current_stmt_binlog_row_based
      sql/sql_class.h:
        new THD::variables.binlog_format (the value of the session variable set by SET
        or inherited from the global value), and THD::current_stmt_binlog_row_based which tells if the
        current statement does row-based or statement-based binlogging. Both members are needed
        as the 2nd one cannot be derived only from the first one (the statement's type plays a role too),
        and the 1st one is needed to reset the 2nd one.
      sql/sql_delete.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      sql/sql_insert.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      sql/sql_load.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based.
      sql/sql_parse.cc:
        when we are done with a statement, we reset the current_stmt_binlog_row_based to the value
        derived from THD::variables.binlog_format.
      sql/sql_partition.cc:
        compiler warning
      sql/sql_show.cc:
        compiler warning
      sql/sql_table.cc:
        binlog_row_based -> thd->current_stmt_binlog_row_based
      tests/mysql_client_test.c:
        compiler warning
      mysql-test/r/ndb_binlog_basic2.result:
        new result
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        new result
      mysql-test/t/ndb_binlog_basic2.test:
        new test to verify that if cluster is enabled, can't change binlog format on the fly.
      mysql-test/t/rpl_switch_stm_row_mixed.test:
        test to see if one can switch between SBR, RBR, and "mixed" mode, and when one cannot,
        and test to see if the switching, and the mixed mode, work properly (using UUID() to test,
        as using UDFs is not possible in the testsuite for portability reasons).
      7cac0ddf
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-5.0 · f7cf76fc
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      BitKeeper/deleted/.del-innodb_notembedded.test:
        Delete: mysql-test/t/innodb_notembedded.test
      BitKeeper/deleted/.del-sp_notembedded.test:
        Delete: mysql-test/t/sp_notembedded.test
      BitKeeper/deleted/.del-subselect_notembedded.test:
        Delete: mysql-test/t/subselect_notembedded.test
      BitKeeper/deleted/.del-ctype_cp932_notembedded.result:
        Delete: mysql-test/r/ctype_cp932_notembedded.result
      BitKeeper/deleted/.del-innodb_notembedded.result:
        Delete: mysql-test/r/innodb_notembedded.result
      BitKeeper/deleted/.del-sp_notembedded.result:
        Delete: mysql-test/r/sp_notembedded.result
      BitKeeper/deleted/.del-subselect_notembedded.result:
        Delete: mysql-test/r/subselect_notembedded.result
      configure.in:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/emb_qcache.cc:
        Auto merged
      libmysqld/embedded_priv.h:
        Auto merged
      libmysqld/libmysqld.c:
        Auto merged
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/query_cache_notembedded.result:
        Auto merged
      mysql-test/r/sp-error.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Auto merged
      mysql-test/t/backup.test:
        Auto merged
      mysql-test/t/compress.test:
        Auto merged
      mysql-test/t/delayed.test:
        Auto merged
      mysql-test/t/handler.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/mysql_client_test.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/query_cache_notembedded.test:
        Auto merged
      mysql-test/t/read_only.test:
        Auto merged
      mysql-test/t/skip_grants.test:
        Auto merged
      mysql-test/t/sp-destruct.test:
        Auto merged
      mysql-test/t/sp-error.test:
        Auto merged
      mysql-test/t/sp-threads.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/temp_table.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      mysql-test/t/wait_timeout.test:
        Auto merged
      mysys/mf_dirname.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/protocol.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_cursor.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/table.h:
        Auto merged
      sql/tztime.cc:
        Auto merged
      sql/tztime.h:
        Auto merged
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      libmysqld/lib_sql.cc:
        Manual merge
      mysql-test/extra/binlog_tests/binlog.test:
        Manual merge
      mysql-test/extra/binlog_tests/ctype_cp932.test:
        No changes
      mysql-test/r/binlog_stm_binlog.result:
        Manual merge
      mysql-test/r/binlog_stm_ctype_cp932.result:
        No changes
      mysql-test/t/innodb.test:
        Manual merge
      mysql-test/t/view.test:
        Manual merge
      mysys/my_bitmap.c:
        Manual merge
      scripts/mysql_fix_privilege_tables.sql:
        Manual merge
      sql/item.cc:
        Manual merge
      sql/sql_cache.h:
        Manual merge
      sql/sql_class.h:
        Manual merge
      sql/sql_update.cc:
        Manual merge
      f7cf76fc
    • unknown's avatar
      Fixed compiler warnings from gcc 4.0.2: · f5f01b15
      unknown authored
      - Added empty constructors and virtual destructors to many classes and structs
      - Removed some usage of the offsetof() macro to instead use C++ class pointers
      
      
      configure.in:
        Added comment
      ndb/include/ndbapi/NdbDictionary.hpp:
        Fixed compiler warnings from gcc 4.0.2
      sql/field.cc:
        Fixed compiler warnings from gcc 4.0.2
      sql/handler.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/item.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/item_cmpfunc.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/log_event.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/mysql_priv.h:
        Fixed compiler warnings from gcc 4.0.2
        For find_table_in_list I fixed it to use proper C++ class pointers instead of C style pointers
      sql/opt_range.cc:
        Fixed compiler warnings from gcc 4.0.2
      sql/parse_file.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/sp_rcontext.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/spatial.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/sql_base.cc:
        Fixed compiler warnings from gcc 4.0.2
      sql/sql_cache.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/sql_class.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/sql_parse.cc:
        Fixed compiler warnings from gcc 4.0.2
        (Not pretty, but seams to work...)
      sql/sql_select.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/sql_update.cc:
        Fixed compiler warnings from gcc 4.0.2
      sql/table.h:
        Fixed compiler warnings from gcc 4.0.2
      sql/tztime.cc:
        Fixed compiler warnings from gcc 4.0.2
      sql/tztime.h:
        Fixed compiler warnings from gcc 4.0.2
      f5f01b15
    • unknown's avatar
      635d5b73
    • unknown's avatar
      Fixed typo · 6436f923
      unknown authored
      
      sql/sql_db.cc:
        Move LINT_INIT() to correct place
      6436f923
    • unknown's avatar
      Fixed new introduced bug in binlog.test with --ps-protocol · 3093b5fe
      unknown authored
      
      mysql-test/t/binlog.test:
        Fixed --ps-protocol (Side effect from last patch)
      sql/sql_db.cc:
        Removed compiler warning
        Fixed memory loss on slave
      tests/mysql_client_test.c:
        Removed compiler warnings
      3093b5fe
    • unknown's avatar
      Merge zim.(none):/home/brian/mysql/mysql-5.0 · 8f4cec20
      unknown authored
      into  zim.(none):/home/brian/mysql/dep-5.1
      
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      8f4cec20
  6. 24 Feb, 2006 19 commits
    • unknown's avatar
      Someone modified the output to explain but did not run all tests before... · e737b001
      unknown authored
      Someone modified the output to explain but did not run all tests before pushing, otherwise they would have realized that they broke this test.
      
      
      mysql-test/r/partition_pruning.result:
        Updated results
      e737b001
    • unknown's avatar
      Fix error messages. Someone pushed a change to an error message but did not update the tests. · d958f19a
      unknown authored
      AKA someone pushed without testing.
      
      
      mysql-test/r/partition_02myisam.result:
        Fixed error messages
      d958f19a
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · cdeacb39
      unknown authored
      into  zim.(none):/home/brian/mysql/dep-5.1
      
      
      cdeacb39
    • unknown's avatar
      Fix a typo in dbug printout · 7375fe24
      unknown authored
      
      sql/opt_range.cc:
        Fix a typo in dbug printout: print "min_val < partitioning_field < max_val",
        not "max_val < partitioning_field < max_val"
      7375fe24
    • unknown's avatar
      This patch cleans up two tests which were a bit fragile from other failing... · 868cc7fd
      unknown authored
      This patch cleans up two tests which were a bit fragile from other failing tests. It also removes some variables associated with removed RAID support.
      
      
      BitKeeper/deleted/.del-raid.h~2d2503a66b128ac6:
        Delete: include/raid.h
      BitKeeper/deleted/.del-raid.cc~488f5fa6538394e1:
        Delete: mysys/raid.cc
      BitKeeper/deleted/.del-raid2.c~fe7aea5fb4b9748c:
        Delete: mysys/raid2.c
      include/Makefile.am:
        Removing raid
      include/my_sys.h:
        Removing Raid
      include/myisam.h:
        Removing raid
      mysql-test/r/case.result:
        Cleaned up incomming tables
      mysql-test/r/mysqlcheck.result:
        new results
      mysql-test/t/case.test:
        Cleaned up test
      mysql-test/t/mysqlcheck.test:
        Cleaned up two tests.
      mysys/Makefile.am:
        Removed raid
      mysys/my_static.c:
        Removed raid
      storage/myisam/mi_check.c:
        Removed raid
      storage/myisam/mi_info.c:
        Removed raid bits.
      868cc7fd
    • unknown's avatar
      Fixes to embedded server to be able to run tests with it · 0afb6ff6
      unknown authored
      (Needed for "list of pushes" web page and autopush)
      
      
      include/mysql.h:
        Fix to embedded server to be able to run tests on it
      libmysql/libmysql.c:
        Fix to embedded server to be able to run tests on it
      libmysqld/emb_qcache.cc:
        Fix to embedded server to be able to run tests on it
      libmysqld/embedded_priv.h:
        Fix to embedded server to be able to run tests on it
      libmysqld/lib_sql.cc:
        Fix to embedded server to be able to run tests on it
      libmysqld/libmysqld.c:
        Fix to embedded server to be able to run tests on it
      mysql-test/mysql-test-run.sh:
        Fix to embedded server to be able to run tests on it
      mysql-test/r/binlog.result:
        Updated test for embedded server
      mysql-test/r/ctype_cp932.result:
        Updated test for embedded server
      mysql-test/r/innodb.result:
        Updated test for embedded server
      mysql-test/r/mysqltest.result:
        Updated test for embedded server
      mysql-test/r/query_cache.result:
        Updated test for embedded server
      mysql-test/r/query_cache_notembedded.result:
        Updated test for embedded server
      mysql-test/r/sp-error.result:
        Updated test for embedded server
      mysql-test/r/sp.result:
        Updated test for embedded server
      mysql-test/r/subselect.result:
        Updated test for embedded server
      mysql-test/r/view.result:
        Updated test for embedded server
      mysql-test/r/view_grant.result:
        Updated test for embedded server
      mysql-test/t/backup.test:
        Updated test for embedded server
      mysql-test/t/binlog.test:
        Updated test for embedded server
      mysql-test/t/blackhole.test:
        Updated test for embedded server
      mysql-test/t/compress.test:
        Updated test for embedded server
      mysql-test/t/ctype_cp932.test:
        Updated test for embedded server
      mysql-test/t/delayed.test:
        Updated test for embedded server
      mysql-test/t/handler.test:
        Updated test for embedded server
      mysql-test/t/innodb.test:
        Updated test for embedded server
      mysql-test/t/mysql.test:
        Updated test for embedded server
      mysql-test/t/mysql_client_test.test:
        Updated test for embedded server
      mysql-test/t/mysqltest.test:
        Updated test for embedded server
      mysql-test/t/query_cache.test:
        Updated test for embedded server
      mysql-test/t/query_cache_notembedded.test:
        Updated test for embedded server
      mysql-test/t/read_only.test:
        Updated test for embedded server
      mysql-test/t/skip_grants.test:
        Updated test for embedded server
      mysql-test/t/sp-destruct.test:
        Updated test for embedded server
      mysql-test/t/sp-error.test:
        Updated test for embedded server
      mysql-test/t/sp-threads.test:
        Updated test for embedded server
      mysql-test/t/sp.test:
        Updated test for embedded server
      mysql-test/t/subselect.test:
        Updated test for embedded server
      mysql-test/t/temp_table.test:
        Updated test for embedded server
      mysql-test/t/view.test:
        Updated test for embedded server
      mysql-test/t/view_grant.test:
        Updated test for embedded server
      mysql-test/t/wait_timeout.test:
        Updated test for embedded server
      mysys/mf_dirname.c:
        Review fix: Don't access data outside of array
      mysys/my_bitmap.c:
        Remove compiler warnings
      scripts/mysql_fix_privilege_tables.sql:
        Add flush privileges to .sql script so that one doesn't have to reboot mysqld when one runs the mysql_fix_privilege_script
      sql-common/client.c:
        Updated test for embedded server
      sql/item.cc:
        Remove DBUG_PRINT statement that can cause crashes when running with --debug
      sql/mysqld.cc:
        Fix to embedded server to be able to run tests on it
      sql/protocol.cc:
        Fix to embedded server to be able to run tests on it
        (Trivial reconstruction of code)
      sql/protocol.h:
        Fix to embedded server to be able to run tests on it
      sql/sql_base.cc:
        Better comment
      sql/sql_class.cc:
        Fix to embedded server to be able to run tests on it
      sql/sql_class.h:
        Fix to embedded server to be able to run tests on it
      sql/sql_cursor.cc:
        Fix to embedded server to be able to run tests on it
      sql/sql_parse.cc:
        Fix to embedded server to be able to run tests on it
        Don't crash for disabled commands when using embedded server
      sql/sql_prepare.cc:
        Fix to embedded server to be able to run tests on it
      mysql-test/r/ctype_cp932_notembedded.result:
        New BitKeeper file ``mysql-test/r/ctype_cp932_notembedded.result''
      mysql-test/r/innodb_notembedded.result:
        New BitKeeper file ``mysql-test/r/innodb_notembedded.result''
      mysql-test/r/sp.result.orig:
        New BitKeeper file ``mysql-test/r/sp.result.orig''
      mysql-test/r/sp_notembedded.result:
        New BitKeeper file ``mysql-test/r/sp_notembedded.result''
      mysql-test/r/subselect_notembedded.result:
        New BitKeeper file ``mysql-test/r/subselect_notembedded.result''
      mysql-test/t/ctype_cp932_notembedded.test:
        New BitKeeper file ``mysql-test/t/ctype_cp932_notembedded.test''
      mysql-test/t/innodb_notembedded.test:
        New BitKeeper file ``mysql-test/t/innodb_notembedded.test''
      mysql-test/t/sp.test.orig:
        New BitKeeper file ``mysql-test/t/sp.test.orig''
      mysql-test/t/sp_notembedded.test:
        New BitKeeper file ``mysql-test/t/sp_notembedded.test''
      mysql-test/t/subselect_notembedded.test:
        New BitKeeper file ``mysql-test/t/subselect_notembedded.test''
      0afb6ff6
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release · d11aa834
      unknown authored
      into  mysql.com:/home/bk/w3023-mysql-5.1-new
      
      
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_log.test:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test:
        Auto merged
      mysql-test/r/binlog_row_insert_select.result:
        Auto merged
      mysql-test/r/rpl_row_delayed_ins.result:
        Auto merged
      mysql-test/t/rpl_sp.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      mysql-test/t/rpl_ndb_dd_basic.test:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_basic_11bugs.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_basic_2myisam.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_basic_3innodb.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_create_table.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_log.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_log_innodb.result:
        Merge with 5.1.7 release clone.
      mysql-test/r/rpl_row_sp008.result:
        Merge with 5.1.7 release clone.
      mysql-test/t/rpl_row_basic_11bugs.test:
        Merge with 5.1.7 release clone.
      mysql-test/t/rpl_row_sp008.test:
        Merge with 5.1.7 release clone.
      d11aa834
    • unknown's avatar
      WL#3023 (RBR: Use locks in a statement-like manner): · 613fb54f
      unknown authored
        Adaptions to make it work with NDB.
      
      
      mysql-test/extra/binlog_tests/binlog.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/blackhole.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/ctype_cp932.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/ctype_cp932_binlog.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/ctype_ucs_binlog.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/drop_temp_table.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/insert_select-binlog.test:
        Using replace_regex to remove table id.
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Using replace_regex to remove table id.
      mysql-test/extra/rpl_tests/rpl_flsh_tbls.test:
        Using replace_regex to remove table id.
      mysql-test/extra/rpl_tests/rpl_log.test:
        Using replace_regex to remove table id.
      mysql-test/extra/rpl_tests/rpl_multi_query.test:
        Using replace_regex to remove table id.
      mysql-test/extra/rpl_tests/rpl_row_charset.test:
        Using replace_regex to remove table id.
      mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test:
        Using replace_regex to remove table id.
      mysql-test/extra/rpl_tests/rpl_stm_charset.test:
        Using replace_regex to remove table id.
      mysql-test/include/rpl_row_basic.inc:
        Removing sync with master on cleanup since there are engines that does
        not work in a "syncronized" fashion on dropping tables.
      mysql-test/r/binlog_row_binlog.result:
        Result change
      mysql-test/r/binlog_row_blackhole.result:
        Result change
      mysql-test/r/binlog_row_ctype_cp932.result:
        Result change
      mysql-test/r/binlog_row_ctype_ucs.result:
        Result change
      mysql-test/r/binlog_row_insert_select.result:
        Result change
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Result change
      mysql-test/r/ctype_cp932_binlog_row.result:
        Result change
      mysql-test/r/rpl_row_basic_11bugs.result:
        Result change
      mysql-test/r/rpl_row_basic_2myisam.result:
        Result change
      mysql-test/r/rpl_row_basic_3innodb.result:
        Result change
      mysql-test/r/rpl_row_charset.result:
        Result change
      mysql-test/r/rpl_row_create_table.result:
        Result change
      mysql-test/r/rpl_row_delayed_ins.result:
        Result change
      mysql-test/r/rpl_row_log.result:
        Result change
      mysql-test/r/rpl_row_log_innodb.result:
        Result change
      mysql-test/r/rpl_row_max_relay_size.result:
        Result change
      mysql-test/r/rpl_row_sp008.result:
        Result change
      mysql-test/t/binlog_stm_binlog.test:
        Using replace_regex to remove table id.
      mysql-test/t/ndb_binlog_ddl_multi.test:
        Using replace_regex to remove table id.
      mysql-test/t/ndb_binlog_ignore_db.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_heap.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_loaddata_s.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_ndb_blob.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_ndb_disk.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_row_basic_11bugs.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_row_create_table.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_row_drop.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_row_sp008.test:
        Using replace_regex to remove table id.
      mysql-test/t/rpl_sp.test:
        Using replace_regex to remove table id.
      mysql-test/t/sp.test:
        Using replace_regex to remove table id.
      mysql-test/t/sp_notembedded.test:
        Using replace_regex to remove table id.
      mysql-test/t/user_var-binlog.test:
        Using replace_regex to remove table id.
      sql/ha_ndbcluster_binlog.cc:
        Assign_new_table_id() now takes table share.
        Removed gratuitous friend declaration of ndb_add_binlog_index().
        Turning of binlogging during execution of ndb_add_binlog_index().
      sql/handler.h:
        Removed gratuitous friend declaration of ndb_add_binlog_index().
      sql/log.cc:
        Adding debug printout.
      sql/log_event.cc:
        Closing thread tables on dummy event.
      sql/rpl_injector.cc:
        Added support for new locking scheme.
      sql/rpl_injector.h:
        Added support for new locking scheme.
      613fb54f
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release · d6aea04c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.1-release
      
      
      d6aea04c
    • unknown's avatar
      last second additions for bug#16411 · db8392d6
      unknown authored
      
      mysql-test/r/events_microsec.result:
        update results
      mysql-test/t/events_microsec.test:
        use the newly introduced I_S.PROCESSLIST to check whether the scheduler is running.
      db8392d6
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b1793d9c
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16411
      
      
      sql/sql_show.cc:
        Auto merged
      b1793d9c
    • unknown's avatar
      a7d13b9d
    • unknown's avatar
      fix for bug #16411 (microseconds are allowed) · d587a26b
      unknown authored
      last fixes
      
      
      sql/event_executor.cc:
        fix message
      d587a26b
    • unknown's avatar
      fix for bug #16411 (Microseconds are allowed for events) · 4f2d6f11
      unknown authored
      
      sql/event_timed.cc:
        fix problem during merge
      4f2d6f11
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6716fc05
      unknown authored
      into moonbone.local:/work/17530-bug-5.0-mysql
      
      
      6716fc05
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · a1023b05
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.1-new
      
      
      mysql-test/t/mysqldump.test:
        Auto merged
      a1023b05
    • unknown's avatar
      Fix mysqldump.test to work with non-standard --vardir. · f1a8a34c
      unknown authored
      (Backported from mysql-5.1-new)
      
      
      mysql-test/t/mysqldump.test:
        Fix mysqldump.test to work with non-standard --vardir.
      f1a8a34c
    • unknown's avatar
      fix test result · 0d1c3577
      unknown authored
      fix for bug #16412 (post-merge fix)
      
      
      mysql-test/r/sp.result:
        fix test result
      0d1c3577
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · eb7f54a9
      unknown authored
      into moonbone.local:/work/17530-bug-5.0-mysql
      
      
      eb7f54a9