An error occurred fetching the project authors.
  1. 23 Feb, 2007 1 commit
    • unknown's avatar
      Fix for BUG#25628: "mysqlbinlog crashes while processing binary logs". · 6f6951d2
      unknown authored
      mysqlbinlog prints all row-based events of a single statement as a
      single "BINLOG" statement containing the concatenation of those events.
      Big (i.e. >64k) concatenations of row-based events
      (e.g. Write_rows_log_event) caused mysqlbinlog's IO_CACHE to overflow
      to a temporary file but the IO_CACHE had not been inited with
      open_cached_file(), so it tried to create a temporary file in
      an uninitialized directory (thus failing to create, then to write;
      some OS errors were printed, and it finally segfaulted).
      After fixing this, it appeared that mysqlbinlog was printing only
      a piece of big concatenations of row-based events (it printed
      at most the size of the IO_CACHE's buffer i.e. 64k); that caused data
      loss at restore. We fix and test that.
      Last, mysqlbinlog's printouts looked a bit strange with the informative
      header (#-prefixed) of groupped Rows_log_event all on one line,
      so we insert \n. After that, a small bug in the --hexdump code appeared
      (only if the string to hex-print had its length a multiple of 16),
      we fix it.
      
      
      
      client/mysqlbinlog.cc:
        if we write to IO_CACHE more than can fit into its memory buffer,
        it will try to overflow into a file; for that to work, IO_CACHE
        must be inited via open_cached_file().
      mysql-test/r/mysqlbinlog_base64.result:
        result update
      mysql-test/t/mysqlbinlog_base64.test:
        test for BUG#25628: test that mysqlbinlog does not have OS errors
        with big concatenations of row-based events
        (e.g. Write_rows_log_event), and prints those concatenations entirely
        (testing by piping the output back into the server and comparing data).
      mysys/mf_iocache2.c:
        my_b_copy_to_file() had a problem: it assumed that bytes_in_cache
        are all the bytes to copy to the file, while it only tells how many
        bytes are in the buffer; so the code forgot to copy what had already
        overflown into a temporary file. Thus any big event was printed only
        partially by mysqlbinlog (loss of data at restore). The fix is
        inspired by MYSQL_BIN_LOG::write_cache().
      sql/log_event.cc:
        Several Table_map/Write_rows events generated by one single statement
        get groupped together in mysqlbinlog's output; it printed things like
        #718 7:30:51 server id 12 end_log_pos 988      Write_rows: table id 17#718 7:30:51 server id 12 #718 7:30:51 server id 12  end_log_pos 988      Write_rows: table id 17#718 7:30:51 server id 12 end_log_pos 1413 <cut>
        It didn't look nice to have printouts glued like this without line
        breaks. Adding a line break.
        Doing this, when using --hexdump the result was:
        #718 7:30:51 server id 12 end_log_pos 988
        # <hexdump output>
        # Write_rows: table id 17
        which is correct; unfortunately if the hex dump had only full lines
        (i.e the string to print in hex had its length a multiple of 16),
        then the # in front of Write_rows was not printed. Fixed.
      sql/log_event.h:
        removing strcpy() (one less function call).
        If we write to IO_CACHE more than can fit into its memory buffer,
        it will try to overflow into a file; for that to work, IO_CACHE
        must be inited via open_cached_file().
        open_cached_file(), like init_io_cache(), can fail; we make sure to
        catch this constructor's problem via the init_ok() method.
      6f6951d2
  2. 14 Dec, 2006 1 commit
    • unknown's avatar
      Bug#17642 mysqlbinlog: Restore from row-based binlog fails · e653222d
      unknown authored
      Problem: mysqlbinlog_base64 failed sporadically.
      
      Reason: Missing "flush logs" before running $MYSQL_BINLOG,
      which could start dumping the log file before server
      has finished writting into it.
      Fix:
      - implementing --force-if-open option to "mysqlbinlog"
      - adding --disable-force-if-open to make $MYSQL_BINLOG
        fail on non-closed log files, to garantee that nobody
        will forget "flush logs" in the future.
      - adding "flush logs" into all affected tests.
      
      
      client/mysqlbinlog.cc:
        Implementing --force-if-open option with TRUE by default
      mysql-test/mysql-test-run.pl:
        Using --disable-force-if-open for all tests to avoid
        sporadic test failures because of running "mysqlbinlog"
        on a non-flushed binlog files.
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        FLush log before running dumping.
      mysql-test/r/binlog_stm_mix_innodb_myisam.result:
        FLush log before running dumping.
      mysql-test/r/mysqlbinlog.result:
        FLush log before running dumping.
      mysql-test/r/mysqlbinlog2.result:
        FLush log before running dumping.
      mysql-test/r/mysqlbinlog_base64.result:
        FLush log before running dumping.
      mysql-test/r/user_var-binlog.result:
        FLush log before running dumping.
      mysql-test/t/binlog_row_mix_innodb_myisam.test:
        FLush log before running dumping.
      mysql-test/t/binlog_stm_mix_innodb_myisam.test:
        FLush log before running dumping.
      mysql-test/t/mysqlbinlog.test:
        FLush log before running dumping.
        
        Adding new tests:
        - checking that $MYSQL_BINLOG returns an error on a non-closed binlog
        file because of --disable-force-if-open
        - checking that it does not return an error with --force-if-open
      mysql-test/t/mysqlbinlog2.test:
        FLush log before running dumping.
      mysql-test/t/mysqlbinlog_base64.test:
        FLush log before running dumping.
      mysql-test/t/user_var-binlog.test:
        FLush log before running dumping.
      e653222d
  3. 22 Feb, 2006 1 commit
    • unknown's avatar
      Fix test cases to work with non-standard --vardir. · a71fb640
      unknown authored
      Rename mix_innodb_myisam_binlog-master.opt; when the test was moved to
      separate stm/row test cases, the .opt were not moved along with it,
      causing a 60-second test duration because of default lock timeout :-(
      
      
      mysql-test/t/binlog_row_mix_innodb_myisam-master.opt:
        bk cp mysql-test/t/mix_innodb_myisam_binlog-master.opt mysql-test/t/binlog_row_mix_innodb_myisam-master.opt
      mysql-test/t/binlog_stm_mix_innodb_myisam-master.opt:
        Rename: mysql-test/t/mix_innodb_myisam_binlog-master.opt -> mysql-test/t/binlog_stm_mix_innodb_myisam-master.opt
      mysql-test/r/mysqlbinlog_base64.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/ndb_load.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_LD_INFILE.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_loaddata2.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_loaddata_m.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/loaddata.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/mysqlbinlog_base64.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/ndb_dd_dump.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/ndb_load.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_LD_INFILE.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_loaddata2.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_loaddata_m.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_loadfile.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/extra/rpl_tests/rpl_row_001.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_load_table_from_master.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_loadfile.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_ndb_row_001.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_row_001.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_row_loaddata_m.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_row_stop_middle_update.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_drop_db.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_load_table_from_master.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_stop_middle_update.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/extra/rpl_tests/rpl_row_UUID.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/extra/rpl_tests/rpl_row_blob.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/extra/rpl_tests/rpl_row_charset.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/extra/rpl_tests/rpl_row_func003.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/extra/rpl_tests/rpl_row_sp006.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/include/ndb_backup.inc:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_ndb_bank.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/rpl_ndb_sync.result:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_ndb_bank.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_ndb_sync.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_NOW.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_func002.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_sp001.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_sp011.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_trig001.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_row_trig003.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/rpl_sp004.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/t/show_check.test:
        Fix test cases to work with non-standard --vardir.
      mysql-test/include/partition_1.inc:
        Fix test cases to work with non-standard --vardir.
      mysql-test/include/partition_layout.inc:
        Fix test cases to work with non-standard --vardir.
      mysql-test/r/ndb_dd_backuprestore.result:
        Fix test cases to work with non-standard --vardir.
      a71fb640
  4. 22 Dec, 2005 1 commit
    • unknown's avatar
      WL#1012: All changes as one single changeset. · 09346e6e
      unknown authored
      This includes both code and test cases.
      
      
      BitKeeper/deleted/.del-ctype_ucs_binlog.result~280d136b1a0bcf17:
        Delete: mysql-test/r/ctype_ucs_binlog.result
      BitKeeper/deleted/.del-rpl_delete_all.result~7c050d592614b3f:
        Delete: mysql-test/r/rpl_delete_all.result
      BitKeeper/deleted/.del-rpl000013-slave.opt~18266ad8a2403e8d:
        Delete: mysql-test/t/rpl000013-slave.opt
      BitKeeper/deleted/.del-rpl_delete_all.test~700a1490277780e0:
        Delete: mysql-test/t/rpl_delete_all.test
      mysql-test/extra/binlog_tests/binlog.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/blackhole.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/ctype_cp932.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/ctype_cp932_binlog.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/ctype_ucs_binlog.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/drop_temp_table.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/insert_select-binlog.test:
        Import patch wl1012.patch
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_ddl.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_deadlock.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_err_ignoredtable.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_flsh_tbls.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_loaddata_m.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_log.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_multi_query.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_reset_slave.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_stm_000001.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_stm_EE_err.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_stm_charset.test:
        Import patch wl1012.patch
      mysql-test/extra/rpl_tests/rpl_user_variables.test:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_binlog.result:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_blackhole.result:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_ctype_cp932.result:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_ctype_ucs.result:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_drop_tmp_tbl.result:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_insert_select.result:
        Import patch wl1012.patch
      mysql-test/r/binlog_stm_mix_innodb_myisam.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_000012.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_000015.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_deadlock_innodb.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_flushlog_loop.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_loaddata_s.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_000001.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_EE_err.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_charset.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_ddl.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_err_ignoredtable.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_flsh_tbls.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_loaddata_m.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_log.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_max_relay_size.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_multi_query.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_mystery22.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_reset_slave.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_rewrt_db.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_sp.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_timezone.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_until.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_user_variables.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_stm_view.result:
        Import patch wl1012.patch
      mysql-test/t/binlog_row_binlog-master.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_000012.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_000015-slave.sh:
        Import patch wl1012.patch
      mysql-test/t/rpl_000015.slave-mi:
        Import patch wl1012.patch
      mysql-test/t/rpl_000015.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_deadlock_innodb-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_flushlog_loop-master.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_flushlog_loop-master.sh:
        Import patch wl1012.patch
      mysql-test/t/rpl_flushlog_loop-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_flushlog_loop-slave.sh:
        Import patch wl1012.patch
      mysql-test/t/rpl_flushlog_loop.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_loaddata_s-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_loaddata_s.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_000001-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_err_ignoredtable-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_loaddata_m-master.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_log-master.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_log-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_mystery22.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_rewrt_db-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_rewrt_db.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_sp-master.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_sp-slave.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_sp.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_timezone-master.opt:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_timezone-slave.opt:
        Import patch wl1012.patch
      BUILD/SETUP.sh:
        Import patch wl1012.patch
      Makefile.am:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_timezone.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_until.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_stm_view.test:
        Import patch wl1012.patch
      client/Makefile.am:
        Import patch wl1012.patch
      client/client_priv.h:
        Import patch wl1012.patch
      client/mysqlbinlog.cc:
        Import patch wl1012.patch
      configure.in:
        Import patch wl1012.patch
      include/Makefile.am:
        Import patch wl1012.patch
      include/base64.h:
        Import patch wl1012.patch
      include/config-win.h:
        Import patch wl1012.patch
      include/my_base.h:
        Import patch wl1012.patch
      include/my_global.h:
        Import patch wl1012.patch
      mysql-test/Makefile.am:
        Import patch wl1012.patch
      mysql-test/mysql-test-run.pl:
        Import patch wl1012.patch
      mysql-test/mysql-test-run.sh:
        Import patch wl1012.patch
      mysql-test/r/date_formats.result:
        Import patch wl1012.patch
      mysql-test/r/flush_block_commit.result:
        Import patch wl1012.patch
      mysql-test/r/innodb.result:
        Import patch wl1012.patch
      mysql-test/r/rpl000017.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_change_master.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_commit_after_flush.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_create_database.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_do_grant.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_loaddata.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_log_pos.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_multi_delete.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_multi_update.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_openssl.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_replicate_do.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_rotate_logs.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_server_id1.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_server_id2.result:
        Import patch wl1012.patch
      mysql-test/r/rpl_temporary.result:
        Import patch wl1012.patch
      mysql-test/r/user_var-binlog.result:
        Import patch wl1012.patch
      mysql-test/t/create_select_tmp.test:
        Import patch wl1012.patch
      mysql-test/t/date_formats.test:
        Import patch wl1012.patch
      mysql-test/t/disabled.def:
        Import patch wl1012.patch
      mysql-test/t/innodb.test:
        Import patch wl1012.patch
      mysql-test/t/mysqlbinlog.test:
        Import patch wl1012.patch
      mysql-test/t/mysqlbinlog2.test:
        Import patch wl1012.patch
      mysql-test/t/rpl000002.test:
        Import patch wl1012.patch
      mysql-test/t/rpl000006.test:
        Import patch wl1012.patch
      mysql-test/t/rpl000013.test:
        Import patch wl1012.patch
      mysql-test/t/rpl000017.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_auto_increment.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_change_master.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_commit_after_flush.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_create_database.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_do_grant.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_drop.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_empty_master_crash.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_failed_optimize.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_heap.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_insert_id.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_insert_ignore.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_loaddata.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_log_pos.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_multi_delete.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_multi_update.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_multi_update2.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_multi_update3.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_openssl.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_redirect.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_relayrotate.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_replicate_do.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_rotate_logs.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_server_id1.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_sp_effects.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_temporary.test:
        Import patch wl1012.patch
      mysql-test/t/rpl_trigger.test:
        Import patch wl1012.patch
      mysql-test/t/sp.test:
        Import patch wl1012.patch
      mysql-test/t/user_var-binlog.test:
        Import patch wl1012.patch
      mysys/Makefile.am:
        Import patch wl1012.patch
      mysys/base64.c:
        Import patch wl1012.patch
      sql/Makefile.am:
        Import patch wl1012.patch
      sql/ha_innodb.cc:
        Import patch wl1012.patch
      sql/ha_innodb.h:
        Import patch wl1012.patch
      sql/ha_partition.cc:
        Import patch wl1012.patch
      sql/handler.cc:
        Import patch wl1012.patch
      sql/handler.h:
        Import patch wl1012.patch
      sql/item_sum.cc:
        Import patch wl1012.patch
      sql/log.cc:
        Import patch wl1012.patch
      sql/log_event.cc:
        Import patch wl1012.patch
      sql/log_event.h:
        Import patch wl1012.patch
      sql/mysql_priv.h:
        Import patch wl1012.patch
      sql/mysqld.cc:
        Import patch wl1012.patch
      sql/rpl_filter.h:
        Import patch wl1012.patch
      sql/set_var.cc:
        Import patch wl1012.patch
      sql/share/errmsg.txt:
        Import patch wl1012.patch
      sql/slave.cc:
        Import patch wl1012.patch
      sql/slave.h:
        Import patch wl1012.patch
      sql/sp.cc:
        Import patch wl1012.patch
      sql/sp_head.cc:
        Import patch wl1012.patch
      sql/sql_acl.cc:
        Import patch wl1012.patch
      sql/sql_base.cc:
        Import patch wl1012.patch
      sql/sql_class.cc:
        Import patch wl1012.patch
      sql/sql_class.h:
        Import patch wl1012.patch
      sql/sql_delete.cc:
        Import patch wl1012.patch
      sql/sql_insert.cc:
        Import patch wl1012.patch
      sql/sql_lex.h:
        Import patch wl1012.patch
      sql/sql_list.h:
        Import patch wl1012.patch
      sql/sql_load.cc:
        Import patch wl1012.patch
      sql/sql_parse.cc:
        Import patch wl1012.patch
      sql/sql_plugin.cc:
        Import patch wl1012.patch
      sql/sql_rename.cc:
        Import patch wl1012.patch
      sql/sql_repl.h:
        Import patch wl1012.patch
      sql/sql_select.cc:
        Import patch wl1012.patch
      sql/sql_show.cc:
        Import patch wl1012.patch
      sql/sql_table.cc:
        Import patch wl1012.patch
      sql/sql_udf.cc:
        Import patch wl1012.patch
      sql/sql_union.cc:
        Import patch wl1012.patch
      sql/sql_update.cc:
        Import patch wl1012.patch
      sql/sql_yacc.yy:
        Import patch wl1012.patch
      sql/table.cc:
        Import patch wl1012.patch
      sql/table.h:
        Import patch wl1012.patch
      storage/innobase/include/lock0lock.h:
        Import patch wl1012.patch
      storage/innobase/include/row0mysql.h:
        Import patch wl1012.patch
      storage/innobase/include/row0vers.h:
        Import patch wl1012.patch
      storage/innobase/lock/lock0lock.c:
        Import patch wl1012.patch
      storage/innobase/row/row0mysql.c:
        Import patch wl1012.patch
      storage/innobase/row/row0sel.c:
        Import patch wl1012.patch
      storage/innobase/row/row0vers.c:
        Import patch wl1012.patch
      09346e6e
  5. 17 Feb, 2003 1 commit
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  6. 07 Dec, 2000 1 commit
    • unknown's avatar
      fixed up mysql-test - will not push this yet, as more clean up/testing is to follow · 1a603185
      unknown authored
      BitKeeper/deleted/.del-README~b8e00a1b57b91f69:
        ***MISSING WEAVE***
      BitKeeper/deleted/.del-README~2bddc2706d0834d0:
        ***MISSING WEAVE***
      mysql-test/r/alt000001.result:
        mvdir
      mysql-test/r/ins000001.result:
        mvdir
      mysql-test/r/rpl000001.a.result:
        mvdir
      mysql-test/r/rpl000001.b.result:
        mvdir
      mysql-test/r/rpl000002.result:
        mvdir
      mysql-test/r/rpl000003.result:
        mvdir
      mysql-test/r/rpl000004.a.result:
        mvdir
      mysql-test/r/rpl000004.b.result:
        mvdir
      mysql-test/r/rpl000005.result:
        mvdir
      mysql-test/r/rpl000006.result:
        mvdir
      mysql-test/r/rpl000007.result:
        mvdir
      mysql-test/r/rpl000008.result:
        mvdir
      mysql-test/r/rpl000009.result:
        mvdir
      mysql-test/r/rpl000010.result:
        mvdir
      mysql-test/r/rpl000011.result:
        mvdir
      mysql-test/r/rpl000012.result:
        mvdir
      mysql-test/r/rpl000012.status.result:
        mvdir
      mysql-test/r/rpl000013.result:
        mvdir
      mysql-test/r/rpl000013.status.result:
        mvdir
      mysql-test/r/sel000001.result:
        mvdir
      mysql-test/r/sel000002.result:
        mvdir
      mysql-test/r/sel000003.result:
        mvdir
      mysql-test/r/sel000004.result:
        mvdir
      mysql-test/r/sel000005.result:
        mvdir
      mysql-test/r/sel000006.result:
        mvdir
      mysql-test/r/sel000007.result:
        mvdir
      mysql-test/r/sel000008.result:
        mvdir
      mysql-test/r/sel000009.result:
        mvdir
      mysql-test/r/sel000010.result:
        mvdir
      mysql-test/r/sel000011.result:
        mvdir
      mysql-test/r/sel000012.result:
        mvdir
      mysql-test/r/sel000013.result:
        mvdir
      mysql-test/r/sel000014.result:
        mvdir
      mysql-test/r/sel000015.result:
        mvdir
      mysql-test/r/sel000016.result:
        mvdir
      mysql-test/r/sel000017.result:
        mvdir
      mysql-test/r/sel000018.result:
        mvdir
      mysql-test/r/sel000019.result:
        mvdir
      mysql-test/r/sel000020.result:
        mvdir
      mysql-test/r/sel000021.result:
        mvdir
      mysql-test/r/sel000022.result:
        mvdir
      mysql-test/r/sel000023.result:
        mvdir
      mysql-test/r/sel000024.result:
        mvdir
      mysql-test/r/sel000025.result:
        mvdir
      mysql-test/r/sel000026.result:
        mvdir
      mysql-test/r/sel000027.result:
        mvdir
      mysql-test/r/sel000028.result:
        mvdir
      mysql-test/r/sel000029.result:
        mvdir
      mysql-test/r/sel000030.result:
        mvdir
      mysql-test/r/sel000100.result:
        mvdir
      mysql-test/r/shw000001.result:
        mvdir
      mysql-test/t/README:
        mvdir
      mysql-test/t/err000001.test:
        mvdir
      mysql-test/t/rpl000007-slave.opt:
        mvdir
      mysql-test/t/rpl000008-slave.opt:
        mvdir
      mysql-test/t/rpl000009-slave.opt:
        mvdir
      mysql-test/t/rpl000010-slave.opt:
        mvdir
      mysql-test/t/rpl000013-slave.opt:
        mvdir
      BitKeeper/deleted/.del-start-mysqld~9c8f21a7ab97793a:
        ***MISSING WEAVE***
      BitKeeper/deleted/.del-stop-mysqld~89a1194045f05d1c:
        ***MISSING WEAVE***
      BitKeeper/deleted/.del-translate-tests~3869c1fdf0a5ea1a:
        ***MISSING WEAVE***
      BitKeeper/deleted/.del-README~108667adaeabe3f5:
        ***MISSING WEAVE***
      BitKeeper/deleted/.del-README~c5aaceda4c2b1a8:
        ***MISSING WEAVE***
      BitKeeper/deleted/.del-select-key.master~e6b83af25df0ce5:
        ***MISSING WEAVE***
      mysql-test/std_data/words.dat:
        Rename: mysql-test/std_data/words -> mysql-test/std_data/words.dat
      BitKeeper/deleted/.del-simple-select.master~6f3eb98812926caf:
        ***MISSING WEAVE***
      Makefile.am:
        add mysql-test to distribution
      configure.in:
        added mysql-test
      libmysql/Makefile.am:
        include hash.h
      libmysql/Makefile.shared:
        add hash to libmysqlclient
      mysql-test/Makefile.am:
        mysql-test is now in source dist also
      mysql-test/chew_on_this/select.res:
        ***MISSING WEAVE***
      mysql-test/install_test_db:
        renamed file, moved to different directory, and fixed up to work on binary dist
      mysql-test/mysql-test-run:
        clean-up of test suite, make it work on binary dist
      mysql-test/t/alt000001.test:
        moved directory
      mysql-test/t/ins000001.test:
        moved directory
      mysql-test/t/rpl000001.test:
        moved dir
      mysql-test/t/rpl000002.test:
        moved dir
      mysql-test/t/rpl000003.test:
        moved dir
      mysql-test/t/rpl000004.test:
        moved dir
      mysql-test/t/rpl000005.test:
        moved dir
      mysql-test/t/rpl000006.test:
        moved dir
      mysql-test/t/rpl000007.test:
        moved dir
      mysql-test/t/rpl000008.test:
        moved dir
      mysql-test/t/rpl000009.test:
        moved dir
      mysql-test/t/rpl000010.test:
        moved dir
      mysql-test/t/rpl000011.test:
        moved dir
      mysql-test/t/rpl000012.test:
        moved dir
      mysql-test/t/rpl000013.test:
        moved dir
      mysql-test/t/sel000001.test:
        moved dir
      mysql-test/t/sel000002.test:
        moved dir
      BitKeeper/etc/ignore:
        Added libmysql_r/hash.c scripts/mysql-3.23.29-gamma-pc-linux-gnu-i686.tar.gz to the ignore list
      mysql-test/t/sel000003.test:
        moved dir
      mysql-test/t/sel000004.test:
        moved dir
      mysql-test/t/sel000005.test:
        moved dir
      mysql-test/t/sel000100.test:
        moved dir
      mysql-test/t/shw000001.test:
        moved dir
      scripts/make_binary_distribution.sh:
        fixes to include mysql-test
        added -debug option to exit after building temp dir before tar.gz 
        removed a bunch of SCCS files
      1a603185
  7. 25 Nov, 2000 1 commit
    • unknown's avatar
      slave master.info FILE -> IO_CACHE · 1ef81b21
      unknown authored
      send_file() is more stack-friendly - changed large static buffer to alloc_root()
      fixed my_b_seek() to work with WRITE_CACHE
      test case to make sure the slave starts correctly after being stopped
      truncated words file so the replication tests will take less time
      
      
      mysql-test/r/3.23/rpl000001.b.result:
        truncated words file
      mysql-test/r/3.23/rpl000004.b.result:
        truncated words file
      mysql-test/std_data/words:
        truncated words file
      BitKeeper/etc/ignore:
        Added mysql-test/rpl000011.test mysql-test/var/lib/mysql-bin.007 sql/share/norwegian/errmsg.sys sql/share/norwegian-ny/errmsg.sys to the ignore list
      mysys/mf_iocache2.c:
        got my_b_seek() to work with WRITE_CACHE, at least the one used by the slave
      sql/share/romanian/errmsg.sys:
        accidently touched the file
      sql/slave.cc:
        converted FILE to IO_CACHE for master.info
      sql/slave.h:
        FILE -> IO_CACHE for master.info
      sql/sql_repl.cc:
        be nice to the stack - change a large stack buffer to be alloced with
        alloc_root in send_file()
      1ef81b21
  8. 18 Nov, 2000 1 commit
    • unknown's avatar
      fixed bugs in delayed insert replication and when slave loses connection after... · 53ada890
      unknown authored
      fixed bugs in delayed insert replication and when slave loses connection after Int_var but before Query
      public test suite now tests replication code as well
      
      
      mysql-test/mybin/mysql-test_install_db:
        fixes to test replication with two daemons on one machine
      mysql-test/mysql-test-run:
        fixes for replication tests -- still need to test gcov, the rest works
      mysql-test/t/include/master-slave.inc:
        include file for replication tests
      sql/slave.cc:
        fixed bug for the case when the slave loses connection after it has read Int_var event but before Query
      sql/sql_insert.cc:
        reset error in delayed thread
        slave converts delayed insert to regular
      53ada890