1. 30 Oct, 2003 4 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 8a66a844
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      8a66a844
    • unknown's avatar
      Fix to be able to run · b4bc448e
      unknown authored
      mysql-test-run --manager --valgrind
      (without this fix, the manager fails to start mysqld and the tests hang).
      
      
      mysql-test/mysql-test-run.sh:
        When running with --manager: the MySQL manager wants the complete path of the
        executable (it uses execv(), not execvp(), so does not search in the $PATH,
        so telling him to start 'valgrind' is not enough, it wants '/usr/bin/valgrind'
        or so).
        So this is a fix to be able to
        mysql-test-run --manager --valgrind
        Plus a warning (previously, if valgrind was not installed, tests silently
        hanged when run with --valgrind).
      b4bc448e
    • unknown's avatar
      Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.0 · faeb0065
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.0-root
      
      
      faeb0065
    • unknown's avatar
      fix for bug #1634 '"operator new" in my_new wastes memory' · 55686819
      unknown authored
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      55686819
  2. 29 Oct, 2003 5 commits
    • unknown's avatar
      cee3ddb4
    • unknown's avatar
      Change back service name to MySQL · 7da08881
      unknown authored
      Don't add service name to read config file segments if it's "MySQL"
      Fixed possible memory leak when CHANGE USER failed.
      
      
      include/mysql_com.h:
        Change back service name to MySQL (With new, better spelling)
      myisam/myisamchk.c:
        Improved --help
      sql/mysqld.cc:
        Don't add service name to read config file segments if it's "MySQL"
      sql/sql_parse.cc:
        Fixed possible memory leak when CHANGE USER failed.
      7da08881
    • unknown's avatar
      Fix for BUG#1686 · 03dbf8cc
      unknown authored
      "If 2 master threads with same-name temp table, slave makes bad binlog"
      and (two birds with one stone) for
      BUG#1240 "slave of slave breaks when STOP SLAVE was issud on parent slave
      and temp tables".
      
      Here is the design change:
      in a slave running with --log-slave-updates, events are now logged with the
      thread id they had on the master. So no more id conflicts between master threads,
      but introduces id conflicts between one master thread and one normal 
      client thread connected to the slave. This is solved by storing the server id
      in the temp table's name.
      
      New test which requires mysql-test-run to be run with --manager,
      otherwise it will be skipped.
      
      Undoing a Monty's change (hum, a chill runs down my spine ;) which was
      "Cleanup temporary tables when slave ends" in ChangeSet 1.1572.1.1.
      
      
      mysql-test/mysql-test-run.sh:
        One new test which needs more than one slave so must be hardcoded in mysql-test-run.sh.
      sql/log_event.cc:
        The event needs to carry a slave_proxy_id (which is set at event's creation
        and used at event's logging).
        This is used for events created by ::exec_event() in the slave SQL thread:
        now we want to log these events with the thread id they had on the master.
        This is so that several same-name temp tables simultaneously created on
        the master end up with not the same thread id in the slave's binlog.
      sql/log_event.h:
        Query and Load need to carry a slave_proxy_id, like they carried a thread_id
        (to replicate temp tables well).
      sql/slave.cc:
        Do not free temp tables in the slave SQL thread. Or they will be lost when
        one does STOP SLAVE / START SLAVE.
        We even save them in rli->save_temporary_tables and set thd->temporary_tables=0
        to prevent them to be freed.
      sql/sql_base.cc:
        Put the server id in the table cache key name for temp tables
        (we already put the slave_proxy_id, but we also need the server id
        in case normal clients (not slave threads) are using temp tables
        on the slave).
      sql/unireg.h:
        4 more bytes, to store the server id.
      03dbf8cc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · a483fd21
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      a483fd21
    • unknown's avatar
  3. 28 Oct, 2003 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · efd5a55f
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      efd5a55f
    • unknown's avatar
      Fix for problem of installing MySQL as a service with · b11f9c10
      unknown authored
      mysql --install mysql --defualts-file=path-to-file
      (Bug #1643)
      
      
      include/mysql_com.h:
        MySQL should install as default service "mysqld"
      sql/mysqld.cc:
        Fix for problem of installing MySQL as a service with
        mysql --install mysql --defualts-file=path-to-file
      b11f9c10
    • unknown's avatar
      row0sel.c: · 710418eb
      unknown authored
        If innodb_force_recovery >= 5, do not try to fetch an old version of a clustered index record: this reduces crashes when dumping tables from a corrupt database
      
      
      innobase/row/row0sel.c:
        If innodb_force_recovery >= 5, do not try to fetch an old version of a clustered index record: this reduces crashes when dumping tables from a corrupt database
      710418eb
  4. 27 Oct, 2003 2 commits
  5. 25 Oct, 2003 4 commits
  6. 24 Oct, 2003 3 commits
  7. 23 Oct, 2003 4 commits
  8. 22 Oct, 2003 5 commits
  9. 21 Oct, 2003 6 commits
  10. 20 Oct, 2003 1 commit
    • unknown's avatar
      Fix for Bug #1595 "mysqlbinlog can't read a password from the console". · 409b8f35
      unknown authored
      Make mysqlbinlog prompt for the password if
      mysqlbinlog -p
      instead of printing the usage().
      This makes mysqlbinlog behave like other clients, which is the reason
      why we fix this in 3.23.
      This new code was almost copied from mysqldump.
      Note that before, one could use
      mysqlbinlog -p pass
      and now one must use
      mysqlbinlog -ppass
      (putting a space will ask for the password).
      
      
      client/mysqlbinlog.cc:
        Make mysqlbinlog prompt for the password if
        mysqlbinlog -p
        instead of printing the usage().
        This makes mysqlbinlog behave like other clients, which is the reason
        why we fix this in 3.23.
        This new code was almost copied from mysqldump.
        Note that before, one could use
        mysqlbinlog -p pass
        and now one must use
        mysqlbinlog -ppass
        (putting a space will ask for the password).
      409b8f35
  11. 19 Oct, 2003 2 commits
    • unknown's avatar
      os0file.c: · a2611f9e
      unknown authored
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      
      
      innobase/os/os0file.c:
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      a2611f9e
    • unknown's avatar
      os0file.c: · 931d4fcc
      unknown authored
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      
      
      innobase/os/os0file.c:
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      931d4fcc
  12. 18 Oct, 2003 1 commit