1. 06 Oct, 2003 2 commits
  2. 04 Oct, 2003 2 commits
  3. 03 Oct, 2003 4 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 8ddb62bb
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      8ddb62bb
    • unknown's avatar
      When the I/O thread was stopped while copying a long transaction, and restarted, · 24cb4ca3
      unknown authored
      Rotate_log_event::exec_event() believed that the relay log was corrupted. Fixed it
      by moving the test for corruption to Start_log_event::exec_event(). 
      Changed Rotate_log_event::exec_event() to not increment positions when the
      event is seen in the middle of a transaction.
      I did a separate commit in 4.1 (so this should not be merged to 4.0) because
      code is a bit different in 4.1.
      A test to see if the slave detects when the master died while writing a 
      transaction to the binlog (uses a forged truncated binlog I made).
      
      
      sql/log_event.cc:
        When the I/O thread was stopped while copying a long transaction, and restarted,
        Rotate_log_event::exec_event() believed that the relay log was corrupted. Fixed it
        by moving the test for corruption to Start_log_event::exec_event(). 
        Changed Rotate_log_event::exec_event() to not increment positions when the
        event is seen in the middle of a transaction.
      24cb4ca3
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.0 · bcabb37c
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.0
      
      bcabb37c
    • unknown's avatar
      Minor edits. · c29e7b82
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c29e7b82
  4. 02 Oct, 2003 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 071b228c
      unknown authored
      into mishka.mysql.fi:/home/my/mysql-4.0
      
      071b228c
    • unknown's avatar
      Optimized code for setting user variables with := and fixed some bugs in old code (Bug #1194) · d7f5e818
      unknown authored
      Use forced close of socket to make mysqld shutdown faster when used under valgrind
      
      
      mysql-test/mysql-test-run.sh:
        Added --skip-bdb for valgrind
      mysql-test/r/user_var.result:
        Extended test for user variables
      mysql-test/t/user_var.test:
        Extended test for user variables
      sql/item_func.cc:
        Optimized code for setting user variables with := and fixed some bugs in old code
      sql/item_func.h:
        Optimized code for setting user variables
      sql/log.cc:
        Fixed comments
      sql/mysqld.cc:
        Use forced close of socket to make mysqld shutdown faster when used under valgrind
      sql/sql_class.h:
        Optimized code for setting user variables
      d7f5e818
    • unknown's avatar
      Reverting changeset 1.1590 · d9bfab66
      unknown authored
      
      sql/slave.h:
        Reverting changeset 1.1590.
      d9bfab66
  5. 01 Oct, 2003 5 commits
  6. 30 Sep, 2003 1 commit
  7. 29 Sep, 2003 6 commits
    • unknown's avatar
      A note that Valgrind does not give a good stacktrace when the problem · aa25e2cd
      unknown authored
      is involving an assembly function.
      Testcase was BUG#1194
      SELECT @A:=1; SELECT @A, @A:=1;
      
      
      BUILD/compile-pentium-valgrind-max:
        a warning note about Valgrind&assembly.
      aa25e2cd
    • unknown's avatar
      fix for a random test failure on hpux/ia64 · a4a93c55
      unknown authored
      (a missing synchronization in the test)
      
      
      mysql-test/r/drop_temp_table.result:
        result update
      mysql-test/t/drop_temp_table.test:
        synchronize to be sure that the ending connection has finished binlogging.
      a4a93c55
    • unknown's avatar
      Added resetting of replace_result patterns after --exec command in mysqltest... · 96c95cb3
      unknown authored
      Added resetting of replace_result patterns after --exec command in mysqltest (in order to be consistent with ordinary query execution).
      
      
      client/mysqltest.c:
        Now resetting replace_result patterns after --exec command (in order to be consistent with ordinary query execution).
      mysql-test/t/mysqlbinlog.test:
        Added additional replaces potentially needed after adding reset of replace conditions for exec
      96c95cb3
    • unknown's avatar
      - enable changing the number of table bits for JOINs to be increased · a0e7e6e0
      unknown authored
         from ulong to ulonglong by defining -DBIG_JOINS
      
      
      sql/mysql_priv.h:
         - enable changing the number of table bits for JOINs to be increased
           from ulong to ulonglong by defining BIG_JOINS
      a0e7e6e0
    • unknown's avatar
      Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) · d7ab813d
      unknown authored
      Add quoting for use `database` for mysqlbinlog
      Removed test ins0000001
      Add support for --replace for exec in mysqltest
      Don't refer to install dir in mysqlbinlog.result
      
      
      BitKeeper/deleted/.del-ins000001.result~f45c599efdf8352b:
        Delete: mysql-test/r/ins000001.result
      BitKeeper/deleted/.del-ins000001.test~2428ee5c9b1bc483:
        Delete: mysql-test/t/ins000001.test
      client/mysqlbinlog.cc:
        Removed random chars after filename for LOAD DATA INFILE
      client/mysqltest.c:
        Add support for --replace for 'exec'
      mysql-test/r/drop_temp_table.result:
        Updated results after quoting change
      mysql-test/r/fulltext_multi.result:
        Updated results after quoting change
      mysql-test/r/fulltext_order_by.result:
        Updated results after quoting change
      mysql-test/r/insert.result:
        New tests
      mysql-test/r/insert_select.result:
        Updated results after quoting change
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Updated results after quoting change
      mysql-test/r/mysqlbinlog.result:
        Updated results after quoting change
      mysql-test/r/rpl_log.result:
        Updated results after quoting change
      mysql-test/t/fulltext_multi.test:
        Remove 'use'
      mysql-test/t/fulltext_order_by.test:
        Remove 'use'
      mysql-test/t/insert.test:
        Merge test with ins0000001.test
      mysql-test/t/mysqlbinlog.test:
        Don't refer to install dir in result
      sql/log_event.cc:
        Add quoting for use `database` for mysqlbinlog
      support-files/mysql.server.sh:
        Move pid_file test after arguments have been parsed
      d7ab813d
    • unknown's avatar
      2e52cfb1
  8. 28 Sep, 2003 2 commits
  9. 27 Sep, 2003 1 commit
  10. 26 Sep, 2003 2 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 9ebe89fa
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      9ebe89fa
    • unknown's avatar
      Fix for 64-bit machines. · 8b3f8fe3
      unknown authored
      I am almost sure this is the cause for
      BUG#1381 [Opn]: Bug in replication on HP-UX 64 bit binaries?
      BUG#1256 [CRp]: Replication slave fails to connect to master in 64-bit version (Solaris)
      The reason why I think it's wrong is that the normal client code has 
      uint32 ip_addr.
      (of course on 32-bit machines it does not matter, but on 64-bit it does).
      
      8b3f8fe3
  11. 25 Sep, 2003 3 commits
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · de80d357
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      de80d357
    • unknown's avatar
      - Improved portability of the sql-bench Perl scripts by replacing · 7c62e99b
      unknown authored
         the calls of external programs "uname" and "pwd" with Perl builtin
         functions "cwd()" and "POSIX::uname()"
      
      
      sql-bench/as3ap.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/bench-count-distinct.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/bench-init.pl.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
         - portability fix: don't call external "uname" in various combinations,
           use POSIX::uname() instead.
      sql-bench/copy-db.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/crash-me.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
         - portability fix: don't call external "uname" in various combinations,
           use POSIX::uname() instead.
      sql-bench/innotest1.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest1a.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest1b.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest2.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest2a.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest2b.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/run-all-tests.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-ATIS.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-alter-table.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-big-tables.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-connect.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-create.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-insert.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-select.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-transactions.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-wisconsin.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      7c62e99b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 9e84ef35
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-binlog
      
      9e84ef35
  12. 24 Sep, 2003 9 commits
    • unknown's avatar
      fixed bug #1194 · 7379d4b1
      unknown authored
      (changes in Item_func_set_user_var::update, ::val, ::val_str, ::val_int)
      
      
      mysql-test/r/user_var.result:
        added tests for bug #1194
      mysql-test/t/user_var.test:
        added tests for bug #1194
      7379d4b1
    • unknown's avatar
      a small comment about why we call end_io_cache in mysql_load · cc82cd9a
      unknown authored
      
      sql/sql_load.cc:
        small comment
      cc82cd9a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · bd6ab22e
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      bd6ab22e
    • unknown's avatar
      Fix for BUG#1391: · 9277b876
      unknown authored
      "If LOAD DATA INFILE 'small_file' fails on master, slave leaves temp files"
      (the bug is in the master)
      
      
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/std_data/rpl_loaddata2.dat:
        change to introduce a unique key violation
      mysql-test/t/rpl_loaddata.test:
        testcase for bug#1391.
      sql/sql_load.cc:
        fix for bug#1391:
        for a small file, we had in the binlog only the Create_file, not the Delete_file
        (the Create_file was written when the READ_INFO was destroyed).
      9277b876
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · b259a520
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-bgrn
      
      
      sql/log_event.cc:
        Auto merged
      b259a520
    • unknown's avatar
      Fixed BUG#1357 MySQL too eagerly cleanups temporary files for LOAD DATA (SQL_LOAD-...) · 4656c513
      unknown authored
      
      sql/log_event.cc:
        Now cleaning up only our files during processing of Start_log_event
      4656c513
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · bb62c6f2
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      bb62c6f2
    • unknown's avatar
      Fix for · dbfb3791
      unknown authored
      Bug #1392 "On Win, slave leaves one temp file after successf. replicating LOAD DATA INFILE"
      Windows-specific bug (we forgot to close a file before deleting it).
      Patch written by me, tested by Miguel (thanks!) and it works.
      
      
      sql/log.cc:
        changed the comment to mean the truth
      sql/log_event.cc:
        When you finish replicating LOAD DATA INFILE, close the SQL_LOADxxx.data file
        before deleting it, or Windows will refuse to delete.
        No need to do the same thing for the SQL_LOADxxx.data file, it's not opened
        at this moment.
      dbfb3791
    • unknown's avatar
      Test for mysqlbinlog · 5a7f6897
      unknown authored
      Particularly for BUG#1340 mysqlbinlog coredumps when reading Exec
      event without seeing Create_file event before
      
      
      mysql-test/mysql-test-run.sh:
        Now mysqlbinlog will use proper temporary directory
      5a7f6897