1. 13 Oct, 2005 15 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 039eb3e4
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      039eb3e4
    • unknown's avatar
      Bug #13461 Slave Cluster crashed on restart of two data nodes in seperate groups · 96d4b56c
      unknown authored
      - ensure in ndb_mgmd that the stop command is not issued if a node is restarting
      - added some new error messages
      - in ndbcntr on master check so that node does not shutdown id shutdoen in progress
      
      
      96d4b56c
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 99ed3437
      unknown authored
      into moonbone.local:/work/7672-bug-5.0-mysql
      
      
      99ed3437
    • unknown's avatar
      Merge · c7fa19ca
      unknown authored
      
      VC++Files/mysql.sln:
        Auto merged
      mysql-test/t/func_group.test:
        Auto merged
      c7fa19ca
    • unknown's avatar
      Manual merge of bug fix #7672 · 785b7dbc
      unknown authored
      
      sql/sql_lex.h:
        Auto merged
      785b7dbc
    • unknown's avatar
      A post-review fix (Bug#12736) · af43bd9d
      unknown authored
      af43bd9d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · d1ffce69
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-12736
      
      
      d1ffce69
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-tmp · 371f8c69
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      mysql-test/t/kill.test:
        Auto merged
      371f8c69
    • unknown's avatar
      Merge · 1bbf3a27
      unknown authored
      
      mysql-test/t/cast.test:
        Auto merged
      sql/item.h:
        Auto merged
      1bbf3a27
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-tmp · d144a00d
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      sql/item_strfunc.cc:
        Auto merged
      d144a00d
    • unknown's avatar
      BUG#13343 CREATE|etc TRIGGER|VIEW|USER don't commit the transaction (inconsistency) · 799b1e6c
      unknown authored
      Updated more DDL statements to cause implicit commit.
      
      
      mysql-test/r/rpl_ddl.result:
        updated results to test for implicit commit for:
        CREATE OR REPLACE VIEW
        ALTER VIEW
        DROP VIEW
        CREATE TRIGGER
        DROP TRIGGER
        CREATE USER
        RENAME USER
        DROP USER
      mysql-test/t/rpl_ddl.test:
        updated results to test for implicit commit for:
        CREATE OR REPLACE VIEW
        ALTER VIEW
        DROP VIEW
        CREATE TRIGGER
        DROP TRIGGER
        CREATE USER
        RENAME USER
        DROP USER
      sql/sql_parse.cc:
        added implicit commit for:
        CREATE OR REPLACE VIEW
        ALTER VIEW
        DROP VIEW
        CREATE TRIGGER
        DROP TRIGGER
        CREATE USER
        RENAME USER
        DROP USER
      799b1e6c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 32a0bac1
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-12736
      
      
      sql/sql_select.cc:
        Auto merged
      32a0bac1
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 849eafa7
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      849eafa7
    • unknown's avatar
      A fix and a test case for Bug#12736 "Server crash during a select". · d31e997d
      unknown authored
      The bug was in JOIN::join_free which was wrongly determining that
      all joins have been already executed and therefore all used tables
      can be closed.
      
      
      mysql-test/r/subselect_innodb.result:
        - test results fixed (Bug#12736 "Server crash during a select
      mysql-test/t/subselect_innodb.test:
        - a test case for Bug#12736 "Server crash during a select": test
        that ha_index_or_rnd_end and mysql_unlock_tables are called
        for all used tables in proper order.
      sql/item_subselect.cc:
        - implement subselect_union_engine::is_executed
      sql/item_subselect.h:
        - implement Item_subselect::is_evaluated. This function is used
        to check whether we can clean up a non-correlated join of a subquery
        when cleaning up the join of the outer query
      sql/sql_lex.h:
        - declare st_select_lex::cleanup_all_joins
      sql/sql_select.cc:
        - remove an argument from JOIN::join_free, it's now not used
        - reimplement JOIN::join_free to not unlock tables if there
          is a subquery that has not yet been evaluated. Make sure that the
          new implementation calls ha_index_or_rnd_end for every table in
          the join and inner joins, because all table cursors must be closed
          before mysql_unlock_tables.
      sql/sql_select.h:
        - JOIN::join_free signature changed
      sql/sql_union.cc:
        - implement a helper method st_select_lex::cleanup_all_joins, which
          recursively walks over a tree of joins and calls cleanup() for
          each join.
      d31e997d
    • unknown's avatar
      BUG# 13052 · a2ceebf2
      unknown authored
      Clean application of patch - 
      - Added --tz-utc to fix issue of dumping timestamp values between 
      servers with different global time zone settings, particularly 
      with regard to the day of DST changeover, which without this fix,
       would dump duplicate timestamp values.
      
      
      client/client_priv.h:
        BUG# 13052 - clean application of http://lists.mysql.com/internals/30993
      client/mysqldump.c:
        BUG# 13052
        
        Clean application of patch http://lists.mysql.com/internals/30993
        
        - added new --tz-utc option
        - added saving of TIME_ZONE in dump file
        - set TIME_ZONE to "+00:00" in dump
      mysql-test/r/mysqldump.result:
        BUG# 13052 New results
      mysql-test/t/mysqldump.test:
        BUG# 13052
        
        Added new test to test if the new option --tz-utc places 
        'SET TIME_ZONE="+00:00" at the top of the file and that this fixes 
        the problem of ending up with duplicate timestamp values that should
         be unique on eve of DST
      a2ceebf2
  2. 12 Oct, 2005 25 commits
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0 · 5dcfa572
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.0-mysqlbinlog-ulong
      
      
      5dcfa572
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · ada1f886
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.0
      
      
      ada1f886
    • unknown's avatar
      fixes after merge of 4.1. · 16f3cb03
      unknown authored
      
      mysql-test/r/subselect.result:
        correcting non-ascii chars hosed by automerge as usual
      mysql-test/t/subselect.test:
        correcting non-ascii chars hosed by automerge as usual
      sql/log_event.cc:
        correcting bad manual merge. ZERO_LEN is not needed in 5.0, as ::exec_event() just tell()s the relay log instead
        of using get_event_len().
      sql/log_event.h:
        get_event_len() is not needed in 5.0, ZERO_LEN neither.
      sql/slave.cc:
        fixes to take into account 5.0 specificities in replication. ZERO_LEN is not needed.
      16f3cb03
    • unknown's avatar
      Building with compile-pentium-valgrind-max (without safemalloc) defines my_free() without flags, · bec38058
      unknown authored
      so a typo on flags will go unnoticed; I put flags in this my_free() definition (as a no-op which
      will still make the compiler check correctness of the flags). Applied: this caught a typo in my_realloc.c. Kindly approved by Konstantin and Mats.
      
      
      include/my_sys.h:
        When we define my_free(PTR,FG) to be my_no_flags_free(PTR) we don't make the compiler check
        correctness of FG, which can hurt if another person build with a different definition of my_free;
        so I add FG in the expression.
      mysys/my_realloc.c:
        typo found by the change in my_sys.h :)
      bec38058
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0 · 7b8f2df2
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.0-mysqlbinlog-ulong
      
      
      7b8f2df2
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · e7ac9b92
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.0
      
      
      e7ac9b92
    • unknown's avatar
      replace port number with string identifier so that it may have different ports and still run · 06c8c18a
      unknown authored
      (problem found by kent)
      
      
      mysql-test/r/federated.result:
        replace port number with a named identifier
      mysql-test/t/federated.test:
        add call to replace the resulting display of the port number with a string
      06c8c18a
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-4.1 · 7f8be07b
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.0
      
      
      7f8be07b
    • unknown's avatar
      Manual merged · d68f16e2
      unknown authored
      
      sql/item.cc:
        Auto merged
      d68f16e2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 431753ec
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-repl
      
      
      431753ec
    • unknown's avatar
      select.test, sql_select.cc, sql_lex.cc, item.cc: · a46e8e23
      unknown authored
        Bug #7672 after merge fix
      
      
      sql/item.cc:
        Bug #7672 after merge fix
      sql/sql_lex.cc:
        Bug #7672 after merge fix
      sql/sql_select.cc:
        Bug #7672 after merge fix
      mysql-test/t/select.test:
        Bug #7672 after merge fix
      a46e8e23
    • unknown's avatar
      make_binary_distribution.sh: · bf1f78c1
      unknown authored
        Copy *.cnf files in mysql-test/std_data/
      Makefile.am:
        Added std_data/*.cnf to copy ndb config
      
      
      mysql-test/Makefile.am:
        Added std_data/*.cnf to copy ndb config
      scripts/make_binary_distribution.sh:
        Copy *.cnf files in mysql-test/std_data/
      bf1f78c1
    • unknown's avatar
      To force a restart at the end of test, the option file must be non-empty, it's... · 3b3712fd
      unknown authored
      To force a restart at the end of test, the option file must be non-empty, it's not enough if it exists and is empty.
      
      
      mysql-test/t/rpl_dual_pos_advance-master.opt:
        the option file must be non-empty (because there's a -z test in mysql-test-run)
      3b3712fd
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-4.1 · 8b1a32ae
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.0;
      a very bad automerge (issues with non-ascii chars), plus some hard conflicts I'll fix by hand in a next cset
      
      
      BitKeeper/deleted/.del-compile-pentium64-valgrind-max:
        Delete: BUILD/compile-pentium64-valgrind-max
      BitKeeper/etc/config:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      client/mysqltest.c:
        manual merge
      mysql-test/r/subselect.result:
        manual merge
      mysql-test/t/subselect.test:
        manual merge
      sql/log_event.cc:
        manual merge
      sql/log_event.h:
        manual merge
      sql/slave.cc:
        manual merge
      sql/sql_yacc.yy:
        manual merge
      8b1a32ae
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 92713c00
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-repl
      
      
      sql/sp_head.cc:
        Auto merged
      92713c00
    • unknown's avatar
      Temporary solution for bug #13969 "Routines which are replicated from master · f48db1bc
      unknown authored
      can't be executed on slave". It will be possible to solve this problem
      in more correct way when we will implement WL#2897 "Complete definer support
      in the stored routines".
      
      
      mysql-test/r/rpl_sp.result:
        Added test for bug #13969 "Routines which are replicated from master can't be
        executed on slave".
      mysql-test/t/rpl_sp.test:
        Added test for bug #13969 "Routines which are replicated from master can't be
        executed on slave".
      sql/sp_head.cc:
        sp_change_security_context():
          Currently the slave replication thread creates all stored routines with
          definer ''@'', ignoring the actual definer. When the slave replication
          thread executes these routines, it ignores the definer, and so the routines
          work. However, in case of a failover, the replica operates in a normal mysqld
          mode and changes security context to the definer when executing a routine.
          A proper fix for this issue is described in WL#2897 "Complete definer support
          in the stored routines". Until this WL is implemented, we need this temporary
          fix, which ignores errors when changing security context.
      f48db1bc
    • unknown's avatar
      slave.cc: · 3f11381b
      unknown authored
        SCCS merged
      
      
      sql/slave.cc:
        SCCS merged
      3f11381b
    • unknown's avatar
      Fix of incompatible types · 8e8e3007
      unknown authored
      len and packet_error needs to be of same type for (len == packet_error) to
      check failures
      
      
      8e8e3007
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9767b637
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      9767b637
    • unknown's avatar
      postt review fixes · ad2a4306
      unknown authored
      ad2a4306
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 8d9c66a5
      unknown authored
      into  mysql.com:/usr/home/pem/bug13510/mysql-5.0
      
      
      8d9c66a5
    • unknown's avatar
      556fdfbd
    • unknown's avatar
      Bug #13009 No gaps allowed in node id number sequence · 983cad51
      unknown authored
      + some small bugfixes in ndb_config
      + extending ndb_config to print connections and take shm option
      
      
      983cad51
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 60534415
      unknown authored
      into  mysql.com:/usr/home/pem/bug13510/mysql-5.0
      
      
      60534415
    • unknown's avatar
      merge · 61dfc334
      unknown authored
      61dfc334