1. 10 Sep, 2007 1 commit
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · 95b4f1d5
      unknown authored
      into  mysql.com:/home/hf/work/28430/my51-28430
      
      
      sql/ha_partition.h:
        Auto merged
      sql/ha_partition.cc:
        merging
      sql/log_event.cc:
        merging
      95b4f1d5
  2. 07 Sep, 2007 1 commit
    • unknown's avatar
      Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format. · e29a38be
      unknown authored
      In the ha_partition::position() we don't calculate the number
      of the partition of the record, but use m_last_part value instead,
      relying on that it's previously set by some other call like ::write_row().
      Delete_rows_log_event::do_exec_row() calls find_and_fetch_row(),
      where we used position() + rnd_pos() call for the InnoDB-based PARTITION-ed
      table as there HA_PRIMARY_KEY_REQUIRED_FOR_POSITION enabled.
      
      fixed by introducing new handler::rnd_pos_by_record() method to be
      used for random record-based positioning
      
      
      sql/ha_partition.cc:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        ha_partition::rnd_pos_by_record() implemented
      sql/ha_partition.h:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        ha_partition::rnd_pos_by_record() declared
      sql/handler.h:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        handler::rnd_pos_by_record() introduced
      sql/log_event.cc:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        handler::rnd_pos_by_record used instead of position() + rnd_pos() call
      e29a38be
  3. 06 Sep, 2007 6 commits
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · a7545434
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      a7545434
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1 · c5d27701
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      c5d27701
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · bdef63a8
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      bdef63a8
    • unknown's avatar
      sql_parse.cc: · 36a1eda0
      unknown authored
        Post-merge fix.
      
      
      sql/sql_parse.cc:
        Post-merge fix.
      36a1eda0
    • unknown's avatar
      sp.result: · d0145027
      unknown authored
        Post-merge fix.
      
      
      mysql-test/r/sp.result:
        Post-merge fix.
      d0145027
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 623a3a0d
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/distinct.result:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/include/mix1.inc:
        Merge with 5.0-opt.
      mysql-test/r/group_by.result:
        Merge with 5.0-opt.
      mysql-test/r/innodb_mysql.result:
        Merge with 5.0-opt.
      mysql-test/r/sp.result:
        Merge with 5.0-opt.
      mysql-test/t/group_by.test:
        Merge with 5.0-opt.
      mysql-test/t/sp.test:
        Merge with 5.0-opt.
      sql/sql_parse.cc:
        Merge with 5.0-opt.
      sql/sql_select.cc:
        Merge with 5.0-opt.
      sql/sql_view.cc:
        Merge with 5.0-opt.
      623a3a0d
  4. 05 Sep, 2007 3 commits
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1-opt-29938 · b58e3740
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      b58e3740
    • unknown's avatar
      Fixed bug #29938. · 92c27500
      unknown authored
      mysqldump --skip-events --all-databases dumped data of the mysqld.event table,
      and during the restoration from this dump events were created in spite
      of the --skip-events option.
      
      The mysqldump client has been modified to ignore mysql.event table data
      in case of --skip-events options.
      
      
      client/mysqldump.c:
        Fixed bug #29938.
        The dump_table function has been modified to skip dumping of
        the mysql.event table data in case of the --skip-event mysqldump
        client option.
      mysql-test/t/mysqldump.test:
        Updated test case for bug #29938.
      mysql-test/r/mysqldump.result:
        Updated test case for bug #29938.
      92c27500
    • unknown's avatar
      Discovered a bug while working with backup. Since it is possible to execute a... · 9bc74eef
      unknown authored
      Discovered a bug while working with backup. Since it is possible to execute a statement in a pre/post statment clause that can return a result, we need to test for that and free it. 
      
      
      client/mysqlslap.c:
        Cleanup resuls if rows are returned.
      9bc74eef
  5. 03 Sep, 2007 5 commits
    • unknown's avatar
      Merge mhansson@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 40751e9f
      unknown authored
      into  dl145s.mysql.com:/data0/mhansson/my51-bug30234-push
      
      
      sql/sql_yacc.yy:
        Bug#30234: Manual merge
      40751e9f
    • unknown's avatar
      Merge mhansson@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 376f5978
      unknown authored
      into  dl145s.mysql.com:/data0/mhansson/my50-bug30234-push
      
      
      sql/sql_yacc.yy:
        Auto merged
      376f5978
    • unknown's avatar
      Merge linux-st28.site:/home/martin/mysql/src/bug30234-push/my50-bug30234-push · 9eb3804a
      unknown authored
      into  linux-st28.site:/home/martin/mysql/src/bug30234-push/my51-bug30234-push
      
      
      sql/sql_yacc.yy:
        Auto merged
      9eb3804a
    • unknown's avatar
      Bug #30234: Unexpected behavior using DELETE with AS and USING · 1af4c9dc
      unknown authored
        
      DELETE FROM ... USING ... statements with the following type of 
      ambiguous aliasing gave unexpected results:
      DELETE FROM t1 AS alias USING t1, t2 AS alias WHERE t1.a = alias.a;
      This query would leave table t1 intact but delete rows from t2.
      Fixed by changing DELETE FROM ... USING syntax so that only alias 
      references (as opposed to alias declarations) may be used in FROM.
      
      
      mysql-test/r/delete.result:
        Bug#30234: Test Result
      mysql-test/t/delete.test:
        Bug#30234: Test Case
      sql/sql_yacc.yy:
        Bug#30234:
        - Added parser rule table_alias_ref_list that contains a list of table 
          aliases only.
        - Added parser rule table_alias_ref that sets the TL_OPTION_ALIAS in 
          order to turn off semantic checking that applies only for table names.
      1af4c9dc
    • unknown's avatar
      Bug#29408 Cannot find view in columns table if the selection contains a function · 3e600534
      unknown authored
      Use view db name as thread default database, in order to ensure
      that the view is parsed and prepared correctly.
      
      
      mysql-test/r/sp.result:
        test result
      mysql-test/t/sp.test:
        test case
      sql/sql_parse.cc:
        copy thd->db_length to table_list->db_length
      sql/sql_view.cc:
        Use view db name as thread default database, in order to ensure
        that the view is parsed and prepared correctly.
      3e600534
  6. 01 Sep, 2007 4 commits
  7. 31 Aug, 2007 7 commits
    • unknown's avatar
      Correct fix for test result. · eaa84de6
      unknown authored
      eaa84de6
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-30126 · d5fdcf02
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      sql/sql_parse.cc:
        SCCS merged
      d5fdcf02
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-30126 · 90dbf3c8
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      90dbf3c8
    • unknown's avatar
      Fixed bug #30126. · 0d1e92ff
      unknown authored
      When dumping database from a 4.x server, the mysqldump client
      inserted a delimiter sign inside special commentaries of the form:
        /*!... CREATE DATABASE IF NOT EXISTS ... ;*/
      During restoration that dump file was splitten by delimiter signs on
      the client side, and the rest of some commentary strings was prepended
      to following statements.
      
      The 4x_server_emul test case option has been added for use with the
      DBUG_EXECUTE_IF debugging macro. This option affects debug server
      builds only to emulate particular behavior of a 4.x server for
      the mysqldump client testing. Non-debugging builds are not affected.
      
      
      mysql-test/r/mysqldump-compat.result:
        Added test case for bug #30126.
      mysql-test/t/mysqldump-compat.opt:
        Added test case for bug #30126.
      mysql-test/t/mysqldump-compat.test:
        Added test case for bug #30126.
      sql/sql_parse.cc:
        Fixed bug #30126.
        The mysqldump client uses the "SHOW CREATE DATABASE" query to
        obtain the "CREATE DATABASE" statement from that database.
        The 4.x server doesn't recognise that query, and mysqldump
        forms the "CREATE DATABASE" statement from scratch.
        That statement was formed incorrectly.
        
        To enforce the mysqldump client to create that statement from
        scratch, debugging code has been added to the mysql_execute_command
        function: in tcase of the --loose-debug=d,4x_server_emul option,
        the server returns parse error to client to emulate old behaviour.
        
        The 4x_server_emul test case option has been added for use with the
        DBUG_EXECUTE_IF debugging macro. This option affects debug server
        builds only to emulate particular behavior of a 4.x server for
        the mysqldump client testing. Non-debugging builds are not affected.
      client/mysqldump.c:
        Fixed bug #30126.
        The init_dumping_tables function has been modified to output semicolon
        outside of commentaries.
      0d1e92ff
    • unknown's avatar
      Correct test result file for bug #27014 · 4c81f3a9
      unknown authored
      4c81f3a9
    • unknown's avatar
      Fix test results for bug #27014 · ef82ff3c
      unknown authored
      ef82ff3c
    • unknown's avatar
      Bug #27014: Imperfect error/warning message for STR_TO_DATE for invalid datetime value · 978e3d4d
      unknown authored
      Fix name of function in warning message.
      
      
      sql/item_timefunc.cc:
        Fix error message in extract_date_time(); ("str_to_time" -> "str_to_date")
      978e3d4d
  8. 30 Aug, 2007 4 commits
  9. 29 Aug, 2007 9 commits
    • unknown's avatar
      Post-merge fixes, and disable buggy test case on embedded · 55881a99
      unknown authored
      
      mysql-test/t/query_cache.test:
        Disable query_cache test on embedded, due to bug 30710.
      sql/log_event_old.cc:
        Post-merge fix, change RELAY_LOG_INFO to Relay_log_info.
      55881a99
    • unknown's avatar
      Added ORDER BY to udf select so that results are ordered. · 3dbbdbe4
      unknown authored
      
      mysql-test/include/rpl_udf.inc:
        ORDER BY to force order
      mysql-test/suite/rpl/r/rpl_udf.result:
        Fix for ORDER BY
      3dbbdbe4
    • unknown's avatar
      Merge sita.local:/Users/tsmith/m/bk/maint/51-target22 · dc8ffcb1
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/51
      
      
      sql/field.cc:
        Auto merged
      sql/log_event_old.cc:
        Auto merged
      sql/rpl_record.h:
        Auto merged
      sql/rpl_utility.cc:
        Auto merged
      sql/rpl_utility.h:
        Auto merged
      sql/slave.h:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      sql/log_event.cc:
        Manual merge
      sql/log_event.h:
        Manual merge
      sql/log_event_old.h:
        Manual merge
      sql/rpl_record.cc:
        Manual merge
      sql/slave.cc:
        Manual merge
      dc8ffcb1
    • unknown's avatar
      Fix pushbuild test failures which occur on big-endian systems. · 952df32e
      unknown authored
        Do not convert innodb autoincrement value to little endian when on
        big endian systems.
      
      
      storage/innobase/row/row0sel.c:
        Do not convert innodb autoincrement value to little endian when on
        big endian systems.
      952df32e
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/my51-m-imsuite · a402a0d2
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      a402a0d2
    • unknown's avatar
      Move instance manager tests to it's own suite · f2638184
      unknown authored
      
      mysql-test/suite/im/t/im_daemon_life_cycle-im.opt:
        Rename: mysql-test/t/im_daemon_life_cycle-im.opt -> mysql-test/suite/im/t/im_daemon_life_cycle-im.opt
      mysql-test/suite/im/t/im_instance_conf-im.opt:
        Rename: mysql-test/t/im_instance_conf-im.opt -> mysql-test/suite/im/t/im_instance_conf-im.opt
      mysql-test/suite/im/t/im_life_cycle-im.opt:
        Rename: mysql-test/t/im_life_cycle-im.opt -> mysql-test/suite/im/t/im_life_cycle-im.opt
      mysql-test/suite/im/t/im_options-im.opt:
        Rename: mysql-test/t/im_options-im.opt -> mysql-test/suite/im/t/im_options-im.opt
      mysql-test/suite/im/t/im_utils-im.opt:
        Rename: mysql-test/t/im_utils-im.opt -> mysql-test/suite/im/t/im_utils-im.opt
      mysql-test/suite/im/r/im_cmd_line.result:
        Rename: mysql-test/r/im_cmd_line.result -> mysql-test/suite/im/r/im_cmd_line.result
      mysql-test/suite/im/r/im_daemon_life_cycle.result:
        Rename: mysql-test/r/im_daemon_life_cycle.result -> mysql-test/suite/im/r/im_daemon_life_cycle.result
      mysql-test/suite/im/r/im_instance_conf.result:
        Rename: mysql-test/r/im_instance_conf.result -> mysql-test/suite/im/r/im_instance_conf.result
      mysql-test/suite/im/r/im_life_cycle.result:
        Rename: mysql-test/r/im_life_cycle.result -> mysql-test/suite/im/r/im_life_cycle.result
      mysql-test/suite/im/r/im_options.result:
        Rename: mysql-test/r/im_options.result -> mysql-test/suite/im/r/im_options.result
      mysql-test/suite/im/r/im_utils.result:
        Rename: mysql-test/r/im_utils.result -> mysql-test/suite/im/r/im_utils.result
      mysql-test/suite/im/t/utils.sh:
        Rename: mysql-test/t/utils.sh -> mysql-test/suite/im/t/utils.sh
      mysql-test/suite/im/t/wait_for_process.sh:
        Rename: mysql-test/t/wait_for_process.sh -> mysql-test/suite/im/t/wait_for_process.sh
      mysql-test/suite/im/t/wait_for_socket.sh:
        Rename: mysql-test/t/wait_for_socket.sh -> mysql-test/suite/im/t/wait_for_socket.sh
      mysql-test/suite/im/t/log.sh:
        Rename: mysql-test/t/log.sh -> mysql-test/suite/im/t/log.sh
      mysql-test/suite/im/t/kill_n_check.sh:
        Rename: mysql-test/t/kill_n_check.sh -> mysql-test/suite/im/t/kill_n_check.sh
      mysql-test/suite/im/t/im_check_env.inc:
        Rename: mysql-test/include/im_check_env.inc -> mysql-test/suite/im/t/im_check_env.inc
      mysql-test/suite/im/t/im_cmd_line.imtest:
        Update location of im_check_env.inc
      mysql-test/suite/im/t/im_daemon_life_cycle.imtest:
        Update location of im_check_env.inc
        Add variable UTIL that points to the "ugly" .sh scripts
      mysql-test/suite/im/t/im_instance_conf.imtest:
        Update location of im_check_env.inc
      mysql-test/suite/im/t/im_life_cycle.imtest:
        Update location of im_check_env.inc
        Add variable UTIL that points to the "ugly" .sh scripts
      mysql-test/suite/im/t/im_options.imtest:
        Update location of im_check_env.inc
      mysql-test/suite/im/t/im_utils.imtest:
        Update location of im_check_env.inc
        Add variable UTIL that points to the "ugly" .sh scripts
      mysql-test/t/disabled.def:
        Move disabled im test to suite/im/t/disabled.def
      mysql-test/suite/im/t/disabled.def:
        New BitKeeper file ``mysql-test/suite/im/t/disabled.def''
      f2638184
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-opt · 57862117
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B30393-5.1-opt
      
      57862117
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 02258bdd
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      02258bdd
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-4.1-maint · e59d51f9
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      e59d51f9