1. 22 Apr, 2003 5 commits
  2. 21 Apr, 2003 1 commit
    • unknown's avatar
      buf0buf.c: · c7984456
      unknown authored
        No buffer pool activity in SHOW INNODB STATUS actually meant no page gets
      
      
      innobase/buf/buf0buf.c:
        No buffer pool activity in SHOW INNODB STATUS actually meant no page gets
      c7984456
  3. 20 Apr, 2003 1 commit
    • unknown's avatar
      univ.i: · 61e36843
      unknown authored
        If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings
      
      
      innobase/include/univ.i:
        If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings
      61e36843
  4. 19 Apr, 2003 1 commit
    • unknown's avatar
      buf0buf.c: · 480dbf0f
      unknown authored
        Do not set buffer pool to zero when we start up: that takes too much time for big buffer pools; Purify users must define UNIV_SET_MEM_TO_ZERO in univ.i to eliminate spurious (?) Purify warnings
      
      
      innobase/buf/buf0buf.c:
        Do not set buffer pool to zero when we start up: that takes too much time for big buffer pools; Purify users must define UNIV_SET_MEM_TO_ZERO in univ.i to eliminate spurious (?) Purify warnings
      480dbf0f
  5. 18 Apr, 2003 2 commits
    • unknown's avatar
      ha_innodb.cc: · b09b7a1f
      unknown authored
        Prevent crash if MySQL calls rnd_end WITOUT calling rnd_init first: only restore active_index if it the old value was pushed in rnd_init
        Initialize active_index to a sensible value: prevent crash if we restore it to the original value after an table scan
      
      
      sql/ha_innodb.cc:
        Prevent crash if MySQL calls rnd_end WITOUT calling rnd_init first: only restore active_index if it the old value was pushed in rnd_init
      b09b7a1f
    • unknown's avatar
      ha_innodb.h, ha_innodb.cc: · 46438203
      unknown authored
        Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
      log0recv.c:
        Use fflush to make sure report of a corrupt log record is printed to .err log before mysqld crashes
      
      
      innobase/log/log0recv.c:
        Use fflush to make sure report of a corrupt log record is printed to .err log before mysqld crashes
      sql/ha_innodb.cc:
        Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
      sql/ha_innodb.h:
        Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
      46438203
  6. 16 Apr, 2003 13 commits
    • unknown's avatar
      row0sel.c: · 88ebdaaa
      unknown authored
        Do not allow InnoDB to cache result set in HANDLER because user can use PREV and NEXT and scroll the cursor
      
      
      innobase/row/row0sel.c:
        Do not allow InnoDB to cache result set in HANDLER because user can use PREV and NEXT and scroll the cursor
      88ebdaaa
    • unknown's avatar
      ha_innodb.cc, row0sel.c, row0mysql.c, row0mysql.h: · 01545bd4
      unknown authored
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      
      
      innobase/include/row0mysql.h:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      innobase/row/row0mysql.c:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      innobase/row/row0sel.c:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      sql/ha_innodb.cc:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      01545bd4
    • unknown's avatar
      row0ins.c: · 7214d07b
      unknown authored
        Better fix for the ON DELETE SET NULL problem
      
      
      innobase/row/row0ins.c:
        Better fix for the ON DELETE SET NULL problem
      7214d07b
    • unknown's avatar
      row0ins.c: · 31d0d6e5
      unknown authored
        Fix bug: we did not allow ON DELETE SET NULL to modify the same table where the delete was made; we can allow it because that cannot produce infinite loops cascaded operations
      
      
      innobase/row/row0ins.c:
        Fix bug: we did not allow ON DELETE SET NULL to modify the same table where the delete was made; we can allow it because that cannot produce infinite loops cascaded operations
      31d0d6e5
    • unknown's avatar
      row0sel.c: · 6e13c4e2
      unknown authored
        Fix crash in HANDLER PREV or NEXT if the cursor was positioned using a unique search condition on the primary key: in that case InnoDB does NOT store the cursor position for later fetch prev or next
      
      
      innobase/row/row0sel.c:
        Fix crash in HANDLER PREV or NEXT if the cursor was positioned using a unique search condition on the primary key: in that case InnoDB does NOT store the cursor position for later fetch prev or next
      6e13c4e2
    • unknown's avatar
      Fix for #126 · fecbc44e
      unknown authored
      
      sql/ha_myisam.cc:
        Flag added to turn on check sum recounting
      fecbc44e
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · a5101be1
      unknown authored
      into deer.mysql.r18.ru:/home/hf/work/mysql-4.0.erf
      
      
      a5101be1
    • unknown's avatar
      Exported functions required by MySQLCC · 2eaaae7a
      unknown authored
      
      BitKeeper/deleted/.del-libmysql.def~29fc6d70335f1c4c:
        Delete: VC++Files/libmysql/libmysql.def
      2eaaae7a
    • unknown's avatar
      fix for bug #212 · 0d898379
      unknown authored
      
      sql/sql_list.h:
        We should reset list::last here
      0d898379
    • unknown's avatar
      Many files: · 33ac4727
      unknown authored
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      
      
      innobase/buf/buf0flu.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/dict/dict0crea.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/dict/dict0load.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/include/db0err.h:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/include/dict0dict.h:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/include/row0ins.h:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/lock/lock0lock.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/os/os0file.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/ut/ut0ut.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      33ac4727
    • unknown's avatar
      Memory leak fixed. · 07c29cc9
      unknown authored
      07c29cc9
    • unknown's avatar
    • unknown's avatar
  7. 15 Apr, 2003 4 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 35459cb7
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      
      35459cb7
    • unknown's avatar
      Fixed bug in SUM() with NULL:s · 3ac05ea4
      unknown authored
      Added logging of warnings for failed connections with ssl.
      Fixed bug in symbolic link handling on Windows
      
      
      include/my_global.h:
        Added replication flags from 4.1
      mysql-test/r/func_group.result:
        Added test for SUM(NULL)
      mysql-test/t/func_group.test:
        Added test for SUM(NULL)
      sql/item_sum.cc:
        Fixed bug in SUM() with NULL:s
      sql/item_sum.h:
        Fixed bug in SUM() with NULL:s
      sql/mysqld.cc:
        Added option --symbolic-links
        Fixed bug in symbolic link handling on Windows
      sql/net_serv.cc:
        Code cleanup
      sql/sql_acl.cc:
        Added logging of warnings for failed connections with ssl.
      sql/sql_show.cc:
        Changed to use HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      3ac05ea4
    • unknown's avatar
      - Updated variable names that have been renamed in my.cnf example files · 592c30bd
      unknown authored
         (bug #223)
       - Added more detailed info about how to set up replication
      
      
      support-files/my-huge.cnf.sh:
         - updated variable names that have been renamed in 4.0 (bug #223)
         - added more detailed info about how to set up replication (suggestion
           made by Guilhem)
      support-files/my-large.cnf.sh:
         - updated variable names that have been renamed in 4.0 (bug #223)
         - added more detailed info about how to set up replication (suggestion
           made by Guilhem)
      support-files/my-medium.cnf.sh:
         - updated variable names that have been renamed in 4.0 (bug #223)
         - added more detailed info about how to set up replication (suggestion
           made by Guilhem)
      support-files/my-small.cnf.sh:
         - updated variable names that have been renamed in 4.0 (bug #223)
         - added hint and commented out sample about skip-networking option
           (security enhancement)
      592c30bd
    • unknown's avatar
      bf09c10a
  8. 11 Apr, 2003 2 commits
    • unknown's avatar
      Distribution cleanups: · ffb7fb40
      unknown authored
       - added Dummy file Docs/manual_toc.html to make "make dist" happy if the
         real manual.texi has not been copied into Docs/ (which would make sure
         a "real" manual_toc.html would be created
       - fixed symlinking in the bdb subdirectory (docs are not included anyway)
       - added dist-hook to Makefile.am to remove superfluous SCCS directories
         from the source distribution
      
      
      Makefile.am:
         - added dist-hook to remove superfluous SCCS directories from the source
           distribution
      bdb/dist/s_symlink:
         - don't try to create symlinks to nonexisting doc files
      ffb7fb40
    • unknown's avatar
      - corrected shutdown priority on Red Hat (should be shut down very early) · a96a8137
      unknown authored
       - adjusted LSB run levels to be identical as on Red Hat (2-5)
      
      
      a96a8137
  9. 10 Apr, 2003 1 commit
    • unknown's avatar
      - Fixed bug in "make DESTDIR=<dir> install" - the InnoDB static · 8b8d3135
      unknown authored
         libraries always ended up in "dir..", even though they were not supposed
         to be installed anyway (they are only required at link time). Fixed it by
         replacing libs_LIBRARIES with noinst_LIBRARIES for all InnoDB Makefile.am 
         files and by removing "libsdir = " from innobase/include/Makefile.i .
      
      
      innobase/btr/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/buf/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/com/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/data/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/dict/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/dyn/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/eval/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/fil/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/fsp/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/fut/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/ha/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/ibuf/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/include/Makefile.i:
         - removed libsdir = ../libs to fix a bug in "make DESTDIR=<dir> install"
           (the libs always got installed in "dir../")
      innobase/lock/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/log/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/mach/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/mem/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/mtr/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/odbc/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/os/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/page/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/pars/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/que/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/read/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/rem/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/row/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/srv/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/sync/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/thr/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/trx/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/usr/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      innobase/ut/Makefile.am:
         - replaced libs_LIBRARIES with noinst_LIBRARIES (they are not supposed to
           be installed anyway)
      8b8d3135
  10. 09 Apr, 2003 5 commits
    • unknown's avatar
      - worked around bug #235 (my-huge.cnf error) by reformatting the comments · d1048a22
      unknown authored
         in the sample configuration files
       - reworked the replication options and comments a bit
       - added option "skip-networking" (commented out by default) to the
         sample configuration files (enhancement request from bug report #234)
      
      
      support-files/my-huge.cnf.sh:
         - work around bug #235 (comments at the end of configuration options lead
           to errors) by reformatting the comments to be above the options instead
         - enhanced comments on the replication options a bit
         - added option "skip-networking" (commented out by default) with an
           appropriate comment (bug #234)
      support-files/my-large.cnf.sh:
         - work around bug #235 (comments at the end of configuration options lead
           to errors) by reformatting the comments to be above the options instead
         - enhanced comments on the replication options a bit
         - added option "skip-networking" (commented out by default) with an
           appropriate comment (bug #234)
      support-files/my-medium.cnf.sh:
         - work around bug #235 (comments at the end of configuration options lead
           to errors) by reformatting the comments to be above the options instead
         - enhanced comments on the replication options a bit
         - added option "skip-networking" (commented out by default) with an
           appropriate comment (bug #234)
      d1048a22
    • unknown's avatar
      - applied patch from provided by Christian Hammers from Debian to be able · 0606f5bb
      unknown authored
         to run the script even if mysqld is not up and running on upgrade
      
      
      scripts/mysql_fix_privilege_tables.sh:
         - applied Patch provided by Christian Hammers from Debian to be able to run
           this script on every upgrade without having to worry that the server
           is really running. Therefore "mysqld --bootstrap" is used to make the
           changes. For this to work all SQL statements are sent to stderr when
           "--sqlonly" is given and the echo's are piped to /dev/null.
           The echo_stderr that is used is just a "#!/bin/sh\necho "$*" >&2"
           script.
      0606f5bb
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1bdf0851
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      1bdf0851
    • unknown's avatar
      fix for #254 · 8cad4f70
      unknown authored
      (3.23 master, 4.0 slave. 
      Slave loss temp tables everytime FLUSH LOGS on master). 
      This fix is less bad than the bug, it will cause a problem only maybe
      if the master dies the hard way (I say maybe because I could not
      cause a problem, and I don't see how it could happen).
      
      
      sql/log_event.cc:
        fix for #254
        (3.23 master, 4.0 slave. 
        Slave loss temp tables everytime FLUSH LOGS on master). 
        This fix is less bad than the bug, it will cause a problem only maybe
        if the master dies the hard way. (I say maybe because I could not
        cause a problem, and I don't see how it could happen).
      8cad4f70
    • unknown's avatar
      - don't override CXX if it's already defined · 27282ed3
      unknown authored
      27282ed3
  11. 08 Apr, 2003 1 commit
  12. 07 Apr, 2003 1 commit
  13. 06 Apr, 2003 1 commit
  14. 05 Apr, 2003 1 commit
  15. 04 Apr, 2003 1 commit