An error occurred fetching the project authors.
  1. 15 Apr, 2005 1 commit
    • unknown's avatar
      Adding --innodb_fast_shutdown=2 which shuts down InnoDB faster than the default "1": · 43b1125c
      unknown authored
      most InnoDB threads are not terminated properly and the buffer pool is not flushed
      to disk. Still no committed transaction is lost as we flush the logs to disk.
      InnoDB does crash recovery at startup after this shutdown.
      Using this shutdown in testsuite (mysql-test-run --mysqld=--innodb_fast_shutdown=2) saved 3 minutes (13% of total time).
      
      
      innobase/include/srv0srv.h:
        srv_fast_shutdown now int to allow 3 values, replacing the srv_fast_shutdown/srv_very_fast_shutdown combo
      innobase/log/log0log.c:
        srv_very_fast_shutdown -> (srv_fast_shutdown == 2)
      innobase/srv/srv0srv.c:
        srv_very_fast_shutdown -> (srv_fast_shutdown == 2)
      innobase/srv/srv0start.c:
        moving message to the InnoDB internal code (like "InnoDB: Starting shutdown" is)
        instead of ha_innodb.cc. That's to have ut_print_timestamp().
      sql/ha_innodb.cc:
        As innodb_fast_shutdown is now settable, srv_fast_shutdown must be
        set at shutdown, not at startup.
      sql/ha_innodb.h:
        innobase_fast_shutdown now ulong to accept 3 values
      sql/mysqld.cc:
        Making the "very fast" InnoDB shutdown accessible to users, by passing
        --innodb-fast-shutdown=2 (disabled on Netware)
      sql/set_var.cc:
        innodb_fast_shutdown now settable on the fly (global variable).
        So that user can decide to do a normal/fast/fastest shutdown
        just before doing it.
      43b1125c
  2. 06 Apr, 2005 1 commit
    • unknown's avatar
      InnoDB: Avoid test suite failures caused by a locking conflict · cde615c9
      unknown authored
      between two server instances at server shutdown/startup.
      This conflict on advisory locks appears to be the result of a bug
      in the operating system; these locks should be released when the
      files are closed, but somehow that does not always happen
      immediately in Linux.  (Bug #9381)
      
      
      innobase/include/os0file.h:
        Add OS_FILE_OPEN_RETRY for os_file_create()ing ibdata1
      innobase/os/os0file.c:
        os_file_lock(): Do not close the file on failure, but let the
        callers do that.
        os_file_create(): If create_mode==OS_FILE_OPEN_RETRY and
        os_file_lock() fails, keep retrying for 100 seconds.
      innobase/srv/srv0start.c:
        open_or_create_data_files(): Open the first data file with
        OS_FILE_OPEN_RETRY, to resolve a conflict with a shutting-down
        instance of the MySQL server.
      cde615c9
  3. 08 Mar, 2005 1 commit
    • unknown's avatar
      This code change has 0 effects as it's about the case where innobase_very_fast_shutdown!=0, · b0e1389b
      unknown authored
      which is always false. In a very fast InnoDB shutdown, we just ensure that
      no more transactions are running, flush InnoDB log, signal InnoDB threads to die,
      and then return from InnoDB (from innobase_end()) without waiting for those threads
      to actually die. I have tested on a 4CPU machine that even with --innodb_flush_log_at_trx_commit=0,
      this optimized InnoDB very fast shutdown loses no committed transactions. Patch pre-approved by Heikki.
      
      
      innobase/log/log0log.c:
        In an InnoDB very fast shutdown, we just need to wait for no more transactions to be happening
        and then we can flush the InnoDB log and don't need to wait for the
        signaled-to-die InnoDB threads to finish (saves seconds).
      innobase/srv/srv0start.c:
        In an InnoDB very fast shutdown, once we have forced a flush of the InnoDB
        log to disk, and signalled InnoDB threads to die, we needn't wait
        for these threads to die.
      b0e1389b
  4. 03 Mar, 2005 2 commits
    • unknown's avatar
      srv0start.c: · 56096825
      unknown authored
        Work around the AIX 5.1 security patch ML7 problem in errno when it should be EEXIST
      
      
      innobase/srv/srv0start.c:
        Work around the AIX 5.1 security patch ML7 problem in errno when it should be EEXIST
      56096825
    • unknown's avatar
      srv0start.c: · afc85273
      unknown authored
        Work around the AIX 5.1 ML7 patch problem in errno at a higher level, in srv0start.c
      os0file.c:
        Revert the AIX patch here
      
      
      innobase/os/os0file.c:
        Revert the AIX patch here
      innobase/srv/srv0start.c:
        Work around the AIX 5.1 ML7 patch problem in errno at a higher level, in srv0start.c
      afc85273
  5. 04 Feb, 2005 1 commit
    • unknown's avatar
      InnoDB: Exclude code from InnoDB Hot Backup builds · ed4dbd12
      unknown authored
      by adding #ifndef UNIV_HOTBACKUP and adjusting some function
      declarations.
      
      
      innobase/data/data0type.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/dict/dict0dict.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/dict/dict0load.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/include/data0type.ic:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/include/srv0srv.h:
        Introduce srv_init(), so that it can be called in InnoDB Hot Backup
      innobase/include/srv0start.h:
        Introduce srv_add_path_separator_if_needed(), so that it can be
        invoked in InnoDB Hot Backup
      innobase/include/sync0sync.h:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/include/sync0sync.ic:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/include/trx0trx.h:
        trx_recover_for_mysql(): replace uint with ulint, as uint is not
        declared in InnoDB Hot Backup
      innobase/lock/lock0lock.c:
        Replace bool with ibool
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/row/row0ins.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/row/row0mysql.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/srv/srv0srv.c:
        Make srv_init() global, so that InnoDB Hot Backup can call it.
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/srv/srv0start.c:
        Make srv_add_path_separator_if_needed() global for InnoDB Hot Backup.
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/sync/sync0rw.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/sync/sync0sync.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/trx/trx0roll.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      innobase/trx/trx0trx.c:
        Replace uint with ulint, as uint is undeclared in InnoDB Hot Backup
      innobase/ut/ut0ut.c:
        Exclude code from InnoDB Hot Backup with #ifndef UNIV_HOTBACKUP
      ed4dbd12
  6. 13 Jan, 2005 1 commit
    • unknown's avatar
      InnoDB: Detect the availability of the Mac OS X fsync() work-around · 8dc27f1e
      unknown authored
      at run-time, so that an executable compiled on Mac OS X 10.2 can
      be run on Mac OS X 10.2 (without the work-around) and Mac OS X 10.3
      and later with the work-aroud enabled.
      
      
      innobase/include/srv0start.h:
        Mac OS X: Add srv_have_fullfsync
      innobase/os/os0file.c:
        os_file_flush(): Use F_FULLFSYNC on Mac OS X 10.3, but not on 10.2
      innobase/srv/srv0start.c:
        innobase_start_or_create_for_mysql(): When compiled on OS X 10.2,
        detect if the binary is running on OS X 10.3 or later, and set
        srv_have_fullfsync accordingly.
      8dc27f1e
  7. 29 Dec, 2004 1 commit
    • unknown's avatar
      srv0start.c: · 49501611
      unknown authored
        Print a more descriptive error and refuse to start InnoDB if the size of ibdata files is smaller than what is stored in the tablespace header; innodb_force_recovery will override this
      
      
      innobase/srv/srv0start.c:
        Print a more descriptive error and refuse to start InnoDB if the size of ibdata files is smaller than what is stored in the tablespace header; innodb_force_recovery will override this
      49501611
  8. 27 Dec, 2004 1 commit
    • unknown's avatar
      Many files: · 708eebea
      unknown authored
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      
      
      innobase/buf/buf0rea.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/include/dict0load.h:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/include/fil0fil.h:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/include/row0mysql.h:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/include/trx0trx.h:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/dict/dict0load.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/fil/fil0fil.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/row/row0ins.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/row/row0mysql.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/row/row0sel.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/srv/srv0start.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      innobase/trx/trx0trx.c:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      sql/ha_innodb.cc:
        Fix InnoDB critical bug #7496; we scan the InnoDB data dictionary also at a normal mysqld startup, and create the spaces, so that we know the mapping space id -> .ibd file name; fix an infinite loop if DISCARD TABLESPACE coincides with INSERT or some other table operation; fix a potential crash if DISCARD TABLESPACE coincides with a cascaded FOREIGN KEY operation in the same table; do not allow DISCARD TABLESPACE of a referenced table if FOREIGN_KEY_CHECKS=1
      708eebea
  9. 18 Dec, 2004 1 commit
    • unknown's avatar
      trx0roll.c: · 8da9faaa
      unknown authored
        Print progress of background rollback of transactions with more than 1000 undo log entries
      srv0start.c, trx0roll.c, log0recv.c, trx0roll.h:
        Cleanup background rollback code in crash recovery; do not flush all modified pages from the buffer pool after a crash recovery: this makes mysqld accesible for users more quickly
      
      
      innobase/include/trx0roll.h:
        Cleanup background rollback code in crash recovery; do not flush all modified pages from the buffer pool after a crash recovery: this makes mysqld accesible for users more quickly
      innobase/log/log0recv.c:
        Cleanup background rollback code in crash recovery; do not flush all modified pages from the buffer pool after a crash recovery: this makes mysqld accesible for users more quickly
      innobase/srv/srv0start.c:
        Cleanup background rollback code in crash recovery; do not flush all modified pages from the buffer pool after a crash recovery: this makes mysqld accesible for users more quickly
      innobase/trx/trx0roll.c:
        Print progress of background rollback of transactions with more than 1000 undo log entries
      8da9faaa
  10. 25 Nov, 2004 1 commit
    • unknown's avatar
      Many files: · a560f0fa
      unknown authored
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      
      
      innobase/buf/buf0buf.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/buf/buf0lru.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/buf0lru.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/db0err.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/row0sel.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/ut0mem.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/mem/mem0pool.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/row/row0mysql.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/row/row0sel.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/srv/srv0start.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/ut/ut0mem.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      a560f0fa
  11. 19 Oct, 2004 1 commit
    • unknown's avatar
      Review of all code pushed since last review · 4736d0fe
      unknown authored
      Simple optimzations and cleanups
      Removed compiler warnings and fixed portability issues
      Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
      Fixes for purify
      
      
      client/mysqlimport.c:
        Remove not used variable
      client/mysqltest.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
        Simplified code
        Remove usage of sprintf("%llu") as this is not portable
      include/mysql.h:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      innobase/srv/srv0start.c:
        Don't use memcmp() when using purify (to avoid false warnings)
      libmysql/libmysql.c:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      libmysql/libmysql.def:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      myisam/myisam_ftdump.c:
        Remove compiler warning
      myisam/myisamchk.c:
        Remove compiler warning
      myisam/rt_test.c:
        #ifdef not used code
      mysys/hash.c:
        Remove compiler warning (from last push)
      mysys/my_gethwaddr.c:
        Remove compiler warning
      ndb/src/ndbapi/ndberror.c:
        #ifdef not used code
      regex/regcomp.c:
        Remove not used code
      regex/regcomp.ih:
        Remove not used code (to remove compiler warnings)
      sql-common/client.c:
        Remove compiler warnings
      sql/field.cc:
        Simple optimization
      sql/ha_innodb.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/item.cc:
        Fix comments
        Move variables first on block
        Remove else after return
        Simple optimizations
        (no logic changes)
      sql/item_cmpfunc.cc:
        Added comment
      sql/mysql_priv.h:
        Rename mysql_embedded -> mysqld_embedded
      sql/mysqld.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/sql_acl.cc:
        Added comments
        simple optimization
        Fixed 'very unlikely' bug when doing REVOKE ALL PRIVILEGES
      sql/sql_select.cc:
        More comments
        Simple optimization
      sql/sql_show.cc:
        Simple changes to make similar code similar
        More comments
      sql/sql_string.cc:
        Trivial optimization and better code layout
      strings/Makefile.am:
        Change xml.c to use bcmp to avoid warnings from purify
      strings/xml.c:
        Change xml.c to use bcmp to avoid warnings from purify
      tests/client_test.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
      4736d0fe
  12. 06 Sep, 2004 1 commit
    • unknown's avatar
      srv0start.c: · bdf4d694
      unknown authored
        Fix bug #5414 in 4.1: srv_max_n_threads was always set to only 1000, regardless of the buffer pool size; undelr very high concurrent loads this could cause an assertion failure in sync0arr.c line 384 when we ran out of wait slots for threads; also innodb_thread_concurrency did not work, because the wait queue also there overflowed at 1000 concurrent threads; also remove redundant code
      trx0undo.c:
        Add a missing newline to fprints
      
      
      innobase/trx/trx0undo.c:
        Add a missing newline to fprints
      innobase/srv/srv0start.c:
        Fix bug in 4.1: srv_max_n_threads was always set to only 1000, regardless of the buffer pool size; undelr very high concurrent loads this could cause an assertion failure in sync0arr.c line 384 when we ran out of wait slots for threads; also innodb_thread_concurrency did not work, because the wait queue also there overflowed at 1000 concurrent threads; also remove redundant code
      bdf4d694
  13. 02 Sep, 2004 1 commit
    • unknown's avatar
      srv0start.c: · 4ad76aed
      unknown authored
        Change a reference to ibman.php to a reference in the MySQL manual; someone should change the 20 other places in the source code where we still refer to ibman.php
      
      
      innobase/srv/srv0start.c:
        Change a reference to ibman.php to a reference in the MySQL manual; someone should change the 20 other places in the source code where we still refer to ibman.php
      4ad76aed
  14. 17 Aug, 2004 1 commit
    • unknown's avatar
      srv0start.c, ut0mem.c, ut0dbg.c, ut0dbg.h, srv0start.h: · 0c062ae6
      unknown authored
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      mysqld.cc, ha_innodb.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri) 
      
      
      sql/ha_innodb.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      sql/mysqld.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/include/srv0start.h:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/include/ut0dbg.h:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/ut/ut0dbg.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/ut/ut0mem.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/srv/srv0start.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      0c062ae6
  15. 06 Aug, 2004 1 commit
    • unknown's avatar
      InnoDB: Add option for disabling innodb_status.<pid> files. · fc4364e3
      unknown authored
      InnoDB: Implement tmpfile() differently on Windows (Bug #3998)
      
      
      innobase/dict/dict0dict.c:
        Check the return value of os_file_create_tmpfile(),
        as it can now return NULL
      innobase/include/os0file.h:
        Note that os_file_create_tmpfile() can now return NULL
      innobase/include/srv0srv.h:
        Add a new server flag (srv_innodb_status) to disable
        the creation of innodb_status.<pid> files
      innobase/lock/lock0lock.c:
        Check the return value of os_file_create_tmpfile(),
        as it can now return NULL
      innobase/os/os0file.c:
        os_file_create_tmpfile(): separate implementation for Win32;
        errors will be reported but will not cause assertion failure
      innobase/srv/srv0srv.c:
        Add a new server flag (srv_innodb_status) to disable
        the creation of innodb_status.<pid> files
      innobase/srv/srv0start.c:
        innobase_start_or_create_for_mysql(): create srv_monitor_file
        with tmpfile() or with a visible name "innodb_status.<pid>",
        depending on the setting of the flag srv_innodb_status.
      sql/ha_innodb.cc:
        innobase_init(): initialize srv_innodb_status
        update_table_comment(), get_foreign_key_create_info(): replace
        tmpfile() with os_file_create_tmpfile()
      sql/ha_innodb.h:
        Add new Boolean flag, innobase_create_status_file.
      sql/mysqld.cc:
        Add new Boolean flag, innodb_status_file
      fc4364e3
  16. 12 Jul, 2004 1 commit
    • unknown's avatar
      srv0start.c: · 45485da7
      unknown authored
        innobase_start_or_create_for_mysql(): Rename innodb.status.<pid>
        to innodb_status.<pid> to avoid problems on VMS
      
      
      innobase/srv/srv0start.c:
        innobase_start_or_create_for_mysql(): Rename innodb.status.<pid>
        to innodb_status.<pid> to avoid problems on VMS
      45485da7
  17. 16 Jun, 2004 1 commit
    • unknown's avatar
      InnoDB: Revert most of ChangeSet@1.1772, as the debug functions may · d587a36a
      unknown authored
      be needed when testing production releases
      
      
      innobase/btr/btr0btr.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0buf.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0flu.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0lru.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0rea.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/data/data0type.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/dict/dict0dict.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/fsp/fsp0fsp.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/fut/fut0lst.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/ibuf/ibuf0ibuf.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/btr0btr.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0buf.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0buf.ic:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0flu.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0lru.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/data0type.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/dict0dict.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/fsp0fsp.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/fut0lst.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/lock0lock.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0dbg.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0dbg.ic:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0pool.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mtr0mtr.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/pars0opt.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/sync0rw.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/sync0sync.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/lock/lock0lock.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/mem/mem0dbg.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/mem/mem0pool.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/mtr/mtr0mtr.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/pars/pars0opt.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/srv/srv0start.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/sync/sync0rw.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/sync/sync0sync.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/trx/trx0roll.c:
        Remove #ifdef UNIV_DEBUG around debug code
      d587a36a
  18. 27 May, 2004 1 commit
    • unknown's avatar
      InnoDB cleanup: · a1bcf382
      unknown authored
      Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
      Remove (char*) casts of string constants; add const qualifiers
      Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
      
      
      innobase/btr/btr0cur.c:
        Cast away constness from dfield_get_data() result
      innobase/buf/buf0buf.c:
        Enclose a debug assertion in #ifdef UNIV_SYNC_DEBUG
      innobase/buf/buf0rea.c:
        Corrected compile error #ifdef UNIV_DEBUG
      innobase/dict/dict0boot.c:
        Remove (char*) casts of string constants
      innobase/dict/dict0crea.c:
        Remove (char*) casts of string constants
      innobase/dict/dict0dict.c:
        Enclosed a debug assertion in #ifdef UNIV_SYNC_DEBUG
        Replaced some debug assertions with preprocessor tests
        Add const qualifiers to string constants
      innobase/dict/dict0load.c:
        Remove (char*) casts of string constants
      innobase/fil/fil0fil.c:
        Remove (char*) casts of string constants
        Enclose debug assertions in #ifdef UNIV_SYNC_DEBUG
      innobase/ha/ha0ha.c:
        Enclose debug assertion in #ifdef UNIV_SYNC_DEBUG
      innobase/ibuf/ibuf0ibuf.c:
        Remove (char*) casts of string constants
      innobase/include/buf0buf.ic:
        Add const qualifier to string parameter
      innobase/include/fil0fil.h:
        Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
      innobase/include/log0recv.h:
        Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
        Enclose ibbackup specific code in #ifdef UNIV_HOTBACKUP
      innobase/include/mem0dbg.ic:
        Add const qualifiers to string parameters
      innobase/include/srv0srv.h:
        Add const qualifiers to string constants
        Enclose srv_arch_dir and srv_log_archive_on #ifdef UNIV_LOG_ARCHIVE
      innobase/include/sync0rw.ic:
        Add const qualifier to string parameter
      innobase/include/sync0sync.ic:
        Add const qualifier to string parameter
      innobase/log/log0log.c:
        Enclose log archiving code in #ifdef UNIV_LOG_ARCHIVE
        Do not cast string constants to (char*)
      innobase/log/log0recv.c:
        Enclose ibbackup specific code in #ifdef UNIV_HOTBACKUP
        Enclose disabled log code in #ifdef UNIV_LOG_REPLICATE or UNIV_LOG_ARCHIVE
      innobase/mem/mem0dbg.c:
        Add const qualifiers to string parameters
      innobase/page/page0page.c:
        Remove (char*) casts of string constants
      innobase/pars/pars0pars.c:
        Add const qualifier to string variable
      innobase/row/row0ins.c:
        Remove (char*) casts of string constants
        Add const qualifiers to string parameters
        row_ins_foreign_check_on_constraint(): Allocate table_name dynamically
      innobase/row/row0mysql.c:
        Remove (char*) casts of string constants
      innobase/row/row0sel.c:
        Remove (char*) casts of string constants
      innobase/srv/srv0srv.c:
        Remove (char*) casts of string constants
        Disable log archiving variables unless #ifdef UNIV_LOG_ARCHIVE
      innobase/srv/srv0start.c:
        Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
        Remove (char*) casts of string constants
      innobase/sync/sync0rw.c:
        Remove (char*) casts of string constants
        Add const qualifier to string parameter
      innobase/sync/sync0sync.c:
        Remove (char*) cast of string constant
        Add const qualifier to string parameter
      innobase/trx/trx0roll.c:
        Remove (char*) cast of string constants
      innobase/trx/trx0sys.c:
        Remove (char*) cast of string constants
      innobase/trx/trx0trx.c:
        Remove (char*) cast of string constant
      sql/ha_innodb.cc:
        Enclose log archiving code in #ifdef UNIV_LOG_ARCHIVE
      a1bcf382
  19. 28 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB: make UNIV_SYNC_DEBUG useable again · 74b70e0d
      unknown authored
      innobase/include/sync0sync.h:
        mutex_get_debug_info(): add const qualifier
      innobase/srv/srv0start.c:
        Set srv_monitor_file_mutex at level SYNC_NO_ORDER_CHECK
      innobase/sync/sync0arr.c:
        sync_array_detect_deadlock(): Remove extraneous declaration of "lock"
      innobase/sync/sync0sync.c:
        mutex_get_debug_info(): add const qualifier
      74b70e0d
  20. 27 Apr, 2004 1 commit
    • unknown's avatar
      After merge fixes · a3828081
      unknown authored
      Changed 'SHOW FIELD STATUS' to use 'Engine' instead of 'Type'
      
      
      client/client_priv.h:
        Added option 'create_options' for mysqldump
      client/mysqldump.c:
        Changed '--all' to '--create-options' as the old name was meaningless
      innobase/buf/buf0buf.c:
        After merge fixes
      innobase/buf/buf0lru.c:
        After merge fixes
      innobase/buf/buf0rea.c:
        After merge fixes
      innobase/dict/dict0load.c:
        After merge fixes
      innobase/fil/fil0fil.c:
        After merge fixes
      innobase/ibuf/ibuf0ibuf.c:
        After merge fixes
      innobase/include/fil0fil.h:
        After merge fixes
      innobase/include/row0mysql.h:
        After merge fixes
      innobase/include/ut0mem.h:
        After merge fixes
      innobase/log/log0recv.c:
        After merge fixes
      innobase/row/row0mysql.c:
        After merge fixes
      innobase/row/row0sel.c:
        After merge fixes
      innobase/srv/srv0start.c:
        After merge fixes
      innobase/sync/sync0rw.c:
        After merge fixes
      innobase/sync/sync0sync.c:
        After merge fixes
      myisam/ft_boolean_search.c:
        After merge fixes
      myisam/ft_nlq_search.c:
        After merge fixes
      mysql-test/r/mysqldump.result:
        After merge fixes
      mysql-test/t/mysqldump.test:
        Make result file smaller
        Some new tests
      sql/ha_innodb.cc:
        After merge fixes
      sql/set_var.cc:
        Removed compiler warning
      sql/slave.cc:
        After merge fixes
      sql/slave.h:
        After merge fixes
      sql/sql_show.cc:
        Type -> Engine
      a3828081
  21. 07 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG · 095d6463
      unknown authored
      innobase/btr/btr0btr.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0buf.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0flu.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0lru.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0rea.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/data/data0type.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/dict/dict0dict.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/fsp/fsp0fsp.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/fut/fut0lst.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/ibuf/ibuf0ibuf.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/btr0btr.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0buf.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0buf.ic:
        Remove global declaration of buf_dbg_counter
      innobase/include/buf0flu.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0lru.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/data0type.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/dict0dict.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/fsp0fsp.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/fut0lst.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/lock0lock.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0dbg.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0dbg.ic:
        Add #ifdef UNIV_MEM_DEBUG around debug code
      innobase/include/mem0pool.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/mtr0mtr.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/pars0opt.h:
        Add #ifdef UNIV_SQL_DEBUG around debug code
      innobase/include/sync0rw.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/sync0sync.h:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/include/trx0sys.h:
        Add #ifdef UNIV_HOTBACKUP around InnoDB Hot Backup specific code
      innobase/lock/lock0lock.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/mem/mem0dbg.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/mem/mem0pool.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/mtr/mtr0mtr.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/pars/pars0opt.c:
        Add #ifdef UNIV_SQL_DEBUG around debug code
      innobase/srv/srv0start.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/sync/sync0rw.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/sync/sync0sync.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/trx/trx0roll.c:
        Add #ifdef UNIV_DEBUG around debug code
      innobase/trx/trx0sys.c:
        Add #ifdef UNIV_HOTBACKUP around InnoDB Hot Backup specific code
      095d6463
  22. 06 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB: send diagnostic output to stderr or files · 80fe399f
      unknown authored
      instead of stdout or fixed-size memory buffers
      
      
      innobase/btr/btr0btr.c:
        Output to stderr; quote table and index names
      innobase/btr/btr0cur.c:
        Output to stderr; quote table and index names
      innobase/btr/btr0sea.c:
        Output to stderr
      innobase/buf/buf0buf.c:
        Output to stderr; quote table and index names
      innobase/buf/buf0flu.c:
        Output to stderr
      innobase/buf/buf0lru.c:
        Output to stderr
      innobase/buf/buf0rea.c:
        Output to stderr
      innobase/data/data0data.c:
        Remove dtuple_validate() unless #ifdef UNIV_DEBUG
        Remove unnecessary sprintf() calls
        Output to stderr
      innobase/data/data0type.c:
        Output to stderr
      innobase/dict/dict0boot.c:
        Remove dummy call to printf()
      innobase/dict/dict0crea.c:
        Output diagnostic information to stream, not to memory
      innobase/dict/dict0dict.c:
        Output diagnostics to a file, not to a memory buffer
      innobase/dict/dict0load.c:
        Output to stderr; quote table and index names
      innobase/eval/eval0eval.c:
        Output to stderr
      innobase/fil/fil0fil.c:
        Output to stderr
      innobase/fsp/fsp0fsp.c:
        Output to stderr
        Avoid sprintf()
      innobase/fut/fut0lst.c:
        Output to stderr
      innobase/ha/ha0ha.c:
        Output to stream, not to memory buffer
      innobase/ibuf/ibuf0ibuf.c:
        Output to stderr
        Avoid sprintf()
      innobase/include/buf0buf.h:
        Output to stream, not to memory buffer
      innobase/include/buf0buf.ic:
        Use %p for displaying pointers
      innobase/include/data0data.h:
        Remove dtuple_sprintf()
      innobase/include/dict0dict.h:
        Output to stream, not to memory buffer
      innobase/include/ha0ha.h:
        Output to stream, not to memory buffer
      innobase/include/ibuf0ibuf.h:
        Output to stream, not to memory buffer
      innobase/include/lock0lock.h:
        Output to stream, not to memory buffer
      innobase/include/log0log.h:
        Output to stream, not to memory buffer
      innobase/include/mtr0log.ic:
        Output to stderr
        Display pointers with %p
      innobase/include/os0file.h:
        Output to stream, not to memory buffer
      innobase/include/rem0rec.h:
        Remove rec_sprintf()
      innobase/include/rem0rec.ic:
        Output to stderr
      innobase/include/row0sel.ic:
        Output to stderr
      innobase/include/row0upd.ic:
        Quote table and index names
      innobase/include/srv0srv.h:
        Remove srv_sprintf_innodb_monitor()
      innobase/include/sync0arr.h:
        Output to stream, not to memory buffer
      innobase/include/sync0sync.h:
        Output to stream, not to memory buffer
      innobase/include/trx0sys.h:
        Output to stderr
      innobase/include/trx0trx.h:
        Output to stream, not to memory buffer
      innobase/include/ut0ut.h:
        Remove ut_sprintf_buf()
        Add ut_print_name(), ut_print_namel() and ut_copy_file()
      innobase/lock/lock0lock.c:
        Output to stream, not to memory buffer
      innobase/log/log0log.c:
        Output to stderr
      innobase/log/log0recv.c:
        Output to stderr
      innobase/mem/mem0dbg.c:
        Output to stderr
      innobase/mtr/mtr0log.c:
        Display pointers with %p
      innobase/mtr/mtr0mtr.c:
        Output to stderr
      innobase/os/os0file.c:
        Output to stream, not to memory buffer
      innobase/os/os0proc.c:
        Output to stderr
      innobase/os/os0thread.c:
        Output to stderr
      innobase/page/page0cur.c:
        Output to stderr
      innobase/page/page0page.c:
        Avoid sprintf()
        Output to stderr instead of stdout
      innobase/pars/pars0opt.c:
        Output to stderr instead of stdout
      innobase/rem/rem0rec.c:
        Remove rec_sprintf()
        Output to stderr instead of stdout
      innobase/row/row0ins.c:
        Output diagnostics to stream instead of memory buffer
      innobase/row/row0mysql.c:
        Output to stderr instead of stdout
        Quote table and index names
      innobase/row/row0purge.c:
        Output to stderr instead of stdout
      innobase/row/row0row.c:
        Quote table and index names
      innobase/row/row0sel.c:
        Output to stderr instead of stdout
        Quote table and index names
      innobase/row/row0umod.c:
        Avoid sprintf()
        Quote table and index names
      innobase/row/row0undo.c:
        Output to stderr instead of stdout
      innobase/row/row0upd.c:
        Avoid sprintf()
      innobase/srv/srv0srv.c:
        Output to stderr instead of stdout
      innobase/srv/srv0start.c:
        Handle srv_monitor_file
        Make some global variables static
      innobase/sync/sync0arr.c:
        Output to stderr instead of stdout
        Output to stream instead of memory buffer
      innobase/sync/sync0rw.c:
        Output to stderr instead of stdout
      innobase/sync/sync0sync.c:
        Output to stderr instead of stdout
        Output to stream instead of memory buffer
      innobase/trx/trx0purge.c:
        Output to stderr instead of stdout
      innobase/trx/trx0rec.c:
        Quote index and table names
        Avoid sprintf()
      innobase/trx/trx0roll.c:
        Quote identifier names
        Output to stderr instead of stdout
      innobase/trx/trx0sys.c:
        Output to stderr instead of stdout
      innobase/trx/trx0trx.c:
        Output to stream instead of memory buffer
      innobase/trx/trx0undo.c:
        Output to stderr instead of stdout
      innobase/ut/ut0ut.c:
        Declare mysql_get_identifier_quote_char()
        Remove ut_sprintf_buf()
        Add ut_print_name() and ut_print_namel()
        Add ut_copy_file()
      sql/ha_innodb.cc:
        innobase_mysql_print_thd(): output to stream, not to memory buffer
        Add mysql_get_identifier_quote_char()
        Remove unused function innobase_print_error()
        Display pointers with %p
        Buffer InnoDB output via files, not via statically allocated memory
      80fe399f
  23. 01 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB cleanup: fixing buffer overflows and quoting of quotes · 025ddfea
      unknown authored
      innobase/dict/dict0crea.c:
        Remove unneeded prototypes for static functions
        Remove unused parameters from some functions
        Replace some assertions with compile-time checks
        dict_create_add_foreigns_to_dictionary():
        allocate space dynamically for the SQL, and quote quotes
      innobase/dict/dict0dict.c:
        Remove unnecessary prototypes for static functions
        dict_tables_have_same_db(): Remove length limitation
        dict_remove_db_name(): Use strchr()
        dict_get_db_name_len(): Use strchr()
        Replace mem_heap_alloc()+strlen()+memcpy() with mem_heap_strdup()
        Remove unnecessary strlen() calls
        Allocate space dynamically for generated strings
        dict_scan_id(): allow quotes within quoted strings
      innobase/dict/dict0load.c:
        Remove unnecessary strlen() calls
        Replace mem_heap_alloc()+strlen()+memcpy() with mem_heap_strdup()
      innobase/dict/dict0mem.c:
        Replace mem_heap_alloc()+strlen()+memcpy() with mem_heap_strdup()
      innobase/eval/eval0eval.c:
        Make TO_CHAR() work with any machine word width
      innobase/fil/fil0fil.c:
        Replace mem_alloc()+strlen()+strcpy() with mem_strdup()
      innobase/ibuf/ibuf0ibuf.c:
        Make some global variables static
        Add #ifdef UNIV_IBUF_DEBUG around debug statements
      innobase/include/data0data.h:
        Add #ifdef UNIV_DEBUG around dtuple_validate()
      innobase/include/data0data.ic:
        Replace = with == in ut_ad(tuple->magic_n == DATA_TUPLE_MAGIC_N)
      innobase/include/dict0dict.h:
        Add const qualifiers
      innobase/include/lock0lock.h:
        Add UL suffixes to unsigned long masks
      innobase/include/log0log.h:
        Remove unused parameter "type" of log_group_write_buf()
      innobase/include/mem0mem.h:
        Add mem_strdup(), mem_strdupl(), mem_strdupq(), mem_heap_strdup(),
        and mem_heap_strdupl()
      innobase/include/mem0mem.ic:
        Add mem_strdup(), mem_strdupl(), mem_strdupq(), mem_heap_strdup(),
        and mem_heap_strdupl()
      innobase/include/row0uins.h:
        Remove unused parameter "thr" of row_undo_ins()
      innobase/include/row0undo.h:
        Remvoe unused parameter "thr" of row_undo_search_clust_to_pcur()
      innobase/include/ut0byte.h:
        Add const qualifier to ut_cpy_in_lower_case()
        Remove parameter "len" of ut_cmp_in_lower_case()
      innobase/include/ut0mem.h:
        Add ut_strlenq(), ut_strcpyq() and ut_memcpyq()
      innobase/include/ut0mem.ic:
        Add ut_strlenq()
      innobase/include/ut0ut.h:
        Declare ut_sprintf() as a printf-style function
      innobase/lock/lock0lock.c:
        lock_clust_rec_modify_check_and_lock(): Remove unused variable "trx"
      innobase/log/log0log.c:
        Remove unused parameters
      innobase/log/log0recv.c:
        Remove parameter "type" from log_group_write_buf()
      innobase/mem/mem0mem.c:
        Simplify the initialization of block->init_block
      innobase/mtr/mtr0log.c:
        Add a debug assertion to mlog_parse_initial_log_record()
      innobase/page/page0cur.c:
        Add debug assertion to page_cur_insert_rec_write_log()
        Remove hard-coded buffer size in page_cur_parse_insert_rec()
      innobase/page/page0page.c:
        Remove unneeded variable rec
      innobase/pars/pars0opt.c:
        Correct a potential buffer overflow
      innobase/pars/pars0pars.c:
        Replace mem_heap_alloc()+strlen()+memcpy() with mem_heap_strdup()
      innobase/row/row0ins.c:
        Replace parameter "thr" with "trx" in row_ins_foreign_report_add_err()
        Remove unnecessary strlen() call
        Use strchr()
      innobase/row/row0mysql.c:
        Add row_mysql_is_recovered_tmp_table()
        Add row_mysql_is_system_table()
        Compare reserved table names with exact match
        Use strstr() and strchr() and mem_strdupl()
        Compute space needed for generated SQL, and allocate it dynamically
      innobase/row/row0purge.c:
        Remove unused parameters "thr"
      innobase/row/row0row.c:
        Simplify row_get_clust_rec()
      innobase/row/row0uins.c:
        Remove unused parameters "thr"
      innobase/row/row0umod.c:
        Remove unused variable "index"
        row_undo_mod_del_unmark_sec_and_undo_update():
         Remove parameter "node" and variable "rec"
        Remove unused parameters "thr"
      innobase/row/row0undo.c:
        Remove unused parameters "thr"
      innobase/srv/srv0srv.c:
        Replace UT_NOT_USED() with __attribute__((unused))
      innobase/srv/srv0start.c:
        Remove unnecessary strlen() calls
        Remove unused parameter "create_new_db" of open_or_create_log_file()
      innobase/trx/trx0roll.c:
        Replace mem_alloc()+strlen()+memcpy() with mem_strdup()
      innobase/trx/trx0sys.c:
        Remove unnecessary strlen() call
      innobase/ut/ut0byte.c:
        Add const qualifier to ut_cpy_in_lower_case()
        Remove parameter "len" of ut_cmp_in_lower_case()
      innobase/ut/ut0mem.c:
        Add ut_strlenq() and ut_memcpyq()
      sql/ha_innodb.cc:
        Remove parameter "len" of ut_cmp_in_lower_case()
      025ddfea
  24. 11 Mar, 2004 1 commit
    • unknown's avatar
      Remove unneeded module "com" · 3fbf812f
      unknown authored
      BitKeeper/deleted/.del-Makefile.am~2b013aa835a140c4:
        Delete: innobase/com/Makefile.am
      BitKeeper/deleted/.del-com0com.c~473a1f0f440ce91b:
        Delete: innobase/com/com0com.c
      BitKeeper/deleted/.del-com0shm.c~6a16f0c3d81de1f:
        Delete: innobase/com/com0shm.c
      BitKeeper/deleted/.del-makefilewin~3e26f0df100887f2:
        Delete: innobase/com/makefilewin
      BitKeeper/deleted/.del-com0com.h~533a7eaa16ec585a:
        Delete: innobase/include/com0com.h
      BitKeeper/deleted/.del-com0com.ic~671e309916e285b:
        Delete: innobase/include/com0com.ic
      BitKeeper/deleted/.del-com0shm.h~5f3df7c04221b0fe:
        Delete: innobase/include/com0shm.h
      BitKeeper/deleted/.del-com0shm.ic~f827cfca1603fa6b:
        Delete: innobase/include/com0shm.ic
      innobase/configure.in:
        Remove com/Makefile
      innobase/include/Makefile.am:
        Remove com*.h
      innobase/include/usr0sess.h:
        Remove unused communication functions
      innobase/include/usr0sess.ic:
        Remove unused communication functions
      innobase/include/usr0types.h:
        Remove sess_sys_t and sess_sig_t
      innobase/usr/usr0sess.c:
        Remove unused functions
      innobase/dict/dict0crea.c:
        Remove unneeded params of que_fork_start_command()
      innobase/include/que0que.h:
        Remove unneeded params of que_fork_start_command()
      innobase/row/row0mysql.c:
        Remove unneeded params of que_fork_start_command()
      innobase/include/srv0srv.h:
        Remove references to the com module
      innobase/srv/srv0srv.c:
        Remove references to the com module
        Remove unused vars srv_n_{com,worker}_threads
        Make some global vars static
      innobase/que/que0que.c:
        Remove references to odbc
        Add #ifdef UNIV_SYNC_DEBUG around some ut_ad()
        Remove unneeded params of que_fork_start_command()
        Remove unreachable code
        Output diagnostics to stderr, not stdout
      innobase/include/trx0trx.h:
        Remove unneeded params of trx_sig_send() and trx_sig_reply()
      innobase/trx/trx0trx.c:
        Remove unneeded params of trx_sig_send() and trx_sig_reply()
        Remove params of sess_open()
      innobase/srv/srv0start.c:
        Remove reference to com0com.h
        Remove call to sess_sys_init_at_db_start()
      innobase/trx/trx0purge.c:
        Remove references to the com module
        Remove params of sess_open()
        Remove unneeded params of que_fork_start_command()
      innobase/trx/trx0roll.c:
        Remove params of sess_open()
        Remove unneeded params of que_fork_start_command()
        Remove unneeded params of trx_sig_send() and trx_sig_reply()
      3fbf812f
  25. 20 Feb, 2004 1 commit
    • unknown's avatar
      Many files: · 0eacf58f
      unknown authored
        Removed unused code
      .del-os0trash.c~8cae5c1695501117:
        Delete: innobase/os/os0trash.c
      dict0crea.c:
        Protect all sprintf(%s) with assertions
      
      
      BitKeeper/deleted/.del-os0trash.c~8cae5c1695501117:
        Delete: innobase/os/os0trash.c
      innobase/btr/btr0sea.c:
        Removed unused code
      innobase/buf/buf0buf.c:
        Removed unused code
      innobase/com/com0shm.c:
        Removed unused code
      innobase/data/data0data.c:
        Removed unused code
      innobase/dict/dict0crea.c:
        Removed unused code
      innobase/fsp/fsp0fsp.c:
        Removed unused code
      innobase/ha/ha0ha.c:
        Removed unused code
      innobase/include/btr0cur.h:
        Removed unused code
      innobase/include/btr0sea.h:
        Removed unused code
      innobase/include/buf0buf.ic:
        Removed unused code
      innobase/include/data0data.h:
        Removed unused code
      innobase/include/dict0crea.h:
        Removed unused code
      innobase/include/dict0dict.h:
        Removed unused code
      innobase/include/ibuf0ibuf.h:
        Removed unused code
      innobase/include/lock0lock.h:
        Removed unused code
      innobase/include/mem0dbg.h:
        Removed unused code
      innobase/include/mem0mem.ic:
        Removed unused code
      innobase/include/mtr0log.h:
        Removed unused code
      innobase/include/mtr0mtr.h:
        Removed unused code
      innobase/include/os0proc.h:
        Removed unused code
      innobase/include/os0thread.h:
        Removed unused code
      innobase/include/rem0cmp.ic:
        Removed unused code
      innobase/include/row0row.h:
        Removed unused code
      innobase/include/srv0srv.h:
        Removed unused code
      innobase/include/sync0sync.h:
        Removed unused code
      innobase/lock/lock0lock.c:
        Removed unused code
      innobase/log/log0recv.c:
        Removed unused code
      innobase/mem/mem0dbg.c:
        Removed unused code
      innobase/mtr/mtr0mtr.c:
        Removed unused code
      innobase/os/os0proc.c:
        Removed unused code
      innobase/page/page0page.c:
        Removed unused code
      innobase/que/que0que.c:
        Removed unused code
      innobase/rem/rem0cmp.c:
        Removed unused code
      innobase/row/row0ins.c:
        Removed unused code
      innobase/row/row0mysql.c:
        Removed unused code
      innobase/row/row0row.c:
        Removed unused code
      innobase/srv/srv0srv.c:
        Removed unused code
      innobase/srv/srv0start.c:
        Removed unused code
      innobase/sync/sync0sync.c:
        Removed unused code
      innobase/trx/trx0rec.c:
        Removed unused code
      innobase/trx/trx0trx.c:
        Removed unused code
      innobase/ut/ut0dbg.c:
        Removed unused code
      innobase/ut/ut0mem.c:
        Removed unused code
      innobase/ut/ut0ut.c:
        Removed unused code
      0eacf58f
  26. 19 Feb, 2004 1 commit
  27. 16 Feb, 2004 1 commit
    • unknown's avatar
      After merge fixes · a07e48ec
      unknown authored
      Added more DBUG statements
      Ensure that we are comparing end space with BINARY strings
      Use 'any_db' instead of '' to mean any database. (For HANDLER command)
      Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
      
      
      BitKeeper/deleted/.del-ctype_tis620.result-old~3578ceb0b8284685:
        Delete: mysql-test/r/ctype_tis620.result-old
      BitKeeper/deleted/.del-ctype_tis620.test-old~ffb1bbd2935d1aba:
        Delete: mysql-test/t/ctype_tis620.test-old
      client/mysqlbinlog.cc:
        Added DBUG statements
        Added call of my_end() to free all used memory on exit
      heap/hp_info.c:
        After merge fixes
      heap/hp_open.c:
        After merge fixes
      include/heap.h:
        After merge fixes
      include/m_ctype.h:
        Use pchar instead of 'int' for character parameters.
        Added 'my_binary_compare()'
      include/m_string.h:
        Fixed wrong define
      innobase/ibuf/ibuf0ibuf.c:
        After merge fixes
      innobase/srv/srv0start.c:
        After merge fixes
      mysql-test/r/alter_table.result:
        Fixed results after merge
      mysql-test/r/auto_increment.result:
        Fixed results after merge
      mysql-test/r/bdb.result:
        Fixed results after merge
      mysql-test/r/binary.result:
        Fixed results after merge
      mysql-test/r/create.result:
        Fixed results after merge
      mysql-test/r/ctype_mb.result:
        Fixed results after merge
      mysql-test/r/ctype_tis620.result:
        Fixed results after merge
      mysql-test/r/ctype_utf8.result:
        Fixed results after merge
      mysql-test/r/delete.result:
        Fixed results after merge
      mysql-test/r/func_compress.result:
        Fixed results after merge
      mysql-test/r/func_gconcat.result:
        Fixed results after merge
      mysql-test/r/func_group.result:
        Fixed results after merge
      mysql-test/r/func_str.result:
        Fixed results after merge
      mysql-test/r/innodb.result:
        Fixed results after merge
      mysql-test/r/insert.result:
        Fixed results after merge
      mysql-test/r/insert_select.result:
        Fixed results after merge
      mysql-test/r/key.result:
        Fixed results after merge
      mysql-test/r/loaddata.result:
        Fixed results after merge
      mysql-test/r/lock.result:
        Fixed results after merge
      mysql-test/r/myisam.result:
        Fixed results after merge
      mysql-test/r/null.result:
        Fixed results after merge
      mysql-test/r/null_key.result:
        Fixed results after merge
      mysql-test/r/order_by.result:
        Fixed results after merge
      mysql-test/r/query_cache.result:
        Fixed results after merge
      mysql-test/r/range.result:
        Fixed results after merge
      mysql-test/r/rpl_multi_delete.result:
        Fixed results after merge
      mysql-test/r/rpl_until.result:
        Fixed results after merge
      mysql-test/r/subselect.result:
        Fixed results after merge
      mysql-test/r/subselect_innodb.result:
        Fixed results after merge
      mysql-test/r/type_blob.result:
        Fixed results after merge
      mysql-test/r/type_datetime.result:
        Fixed results after merge
      mysql-test/r/type_decimal.result:
        Fixed results after merge
      mysql-test/r/type_enum.result:
        Fixed results after merge
      mysql-test/r/type_float.result:
        Fixed results after merge
      mysql-test/r/type_ranges.result:
        Fixed results after merge
      mysql-test/r/type_time.result:
        Fixed results after merge
      mysql-test/r/type_timestamp.result:
        Fixed results after merge
      mysql-test/r/type_uint.result:
        Fixed results after merge
      mysql-test/r/type_year.result:
        Fixed results after merge
      mysql-test/r/variables.result:
        Fixed results after merge
      mysql-test/r/warnings.result:
        Fixed results after merge
      mysql-test/t/case.test:
        Fixed shifted error messages
      mysql-test/t/create.test:
        Fixed shifted error messages
      mysql-test/t/ctype_collate.test:
        Fixed shifted error messages
      mysql-test/t/ctype_tis620.test:
        Merge with 4.0 ctype_tis620 test
      mysql-test/t/delete.test:
        Fixed shifted error messages
      mysql-test/t/derived.test:
        Fixed shifted error messages
      mysql-test/t/fulltext.test:
        Fixed shifted error messages
      mysql-test/t/func_in.test:
        Fixed shifted error messages
      mysql-test/t/func_str.test:
        Fixed shifted error messages
      mysql-test/t/func_test.test:
        Fixed shifted error messages
      mysql-test/t/grant.test:
        Fixed shifted error messages
      mysql-test/t/innodb.test:
        Change to 4.1 syntax
      mysql-test/t/key_cache.test:
        Fixed shifted error messages
      mysql-test/t/myisam.test:
        New test of blob and end space
      mysql-test/t/row.test:
        Fixed shifted error messages
      mysql-test/t/rpl_until.test:
        Fixed shifted error messages
      mysql-test/t/subselect.test:
        Fixed shifted error messages
      mysql-test/t/subselect_innodb.test:
        Fix test to take into account foreign key constraints
      mysql-test/t/union.test:
        Fixed shifted error messages
      mysql-test/t/user_var.test:
        Fixed shifted error messages
      mysql-test/t/variables.test:
        Fixed shifted error messages
      mysys/my_handler.c:
        Merge with 4.0 code
      sql/ha_heap.cc:
        After merge fixes
      sql/handler.cc:
        After merge fixes
      sql/item.cc:
        After merge fixes
      sql/item_cmpfunc.cc:
        Ensure that we are comparing end space with BINARY strings
      sql/item_cmpfunc.h:
        Ensure that we are comparing end space with BINARY strings
      sql/log_event.cc:
        More DBUG statements
        Ensure that we use all options to LOAD DATA in replication
      sql/opt_range.cc:
        After merge fixes
      sql/sql_db.cc:
        After merge fixes
      sql/sql_handler.cc:
        After merge fixes
        Use 'any_db' instead of '' to mean 'no database comparison'
      sql/sql_parse.cc:
        After merge fixes
      sql/sql_select.cc:
        After merge fixes
        Added function comment for setup_group()
      sql/sql_string.cc:
        Added stringcmp() for binary comparison.
        Added function comments for sortcmp() and stringcmp()
      sql/sql_string.h:
        Added stringcmp()
      sql/sql_table.cc:
        After merge fixes
      sql/sql_update.cc:
        After merge fixes
      sql/sql_yacc.yy:
        Use 'any_db' instead of '' to mean any database. Using "" causes a 'wrong db name' error.
      strings/ctype-big5.c:
        Strip only end space, not other space characters.
      strings/ctype-bin.c:
        Removed some not needed functions.
        Added function comments
        Don't remove end space in comparisons
        Change my_wildcmp_bin() to be 'identical' with other similar code
      strings/ctype-czech.c:
        Strip only end space, not other space characters.
      strings/ctype-gbk.c:
        Strip only end space, not other space characters.
      strings/ctype-latin1.c:
        Strip only end space, not other space characters.
      strings/ctype-mb.c:
        Strip only end space, not other space characters.
      strings/ctype-simple.c:
        Strip only end space, not other space characters.
      strings/ctype-sjis.c:
        Strip only end space, not other space characters.
      strings/ctype-tis620.c:
        Added usage of my_instr_simple. This needs to be cleaned up!
      strings/ctype-utf8.c:
        Strip only end space, not other space characters.
      strings/ctype-win1250ch.c:
        Strip only end space, not other space characters.
        Fixed indentation
      strings/strto.c:
        Code cleanup
      a07e48ec
  28. 13 Jan, 2004 1 commit
    • unknown's avatar
      srv0start.c, srv0srv.c: · 9dfada0c
      unknown authored
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      
      
      innobase/srv/srv0srv.c:
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      innobase/srv/srv0start.c:
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      9dfada0c
  29. 06 Jan, 2004 3 commits
    • unknown's avatar
      srv0start.c: · 079b4819
      unknown authored
        More instructions about a downgrade 4.1.1 -> 4.0.18
      
      
      innobase/srv/srv0start.c:
        More instructions about a downgrade 4.1.1 -> 4.0.18
      079b4819
    • unknown's avatar
      trx0sys.c, srv0start.c, ibuf0ibuf.c, trx0sys.h, srv0srv.h: · 72195137
      unknown authored
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      
      
      innobase/include/srv0srv.h:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/include/trx0sys.h:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/ibuf/ibuf0ibuf.c:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/srv/srv0start.c:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/trx/trx0sys.c:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      72195137
    • unknown's avatar
      srv0start.c: · 0d770c43
      unknown authored
        Add comment that the insert buffer format changed between 4.0 and 4.1.1, but the undo log format did not
      
      
      innobase/srv/srv0start.c:
        Add comment that the insert buffer format changed between 4.0 and 4.1.1, but the undo log format did not
      0d770c43
  30. 20 Dec, 2003 2 commits
    • unknown's avatar
      srv0start.c, univ.i, configure.in: · 9e56a0a7
      unknown authored
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      
      
      innobase/configure.in:
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      innobase/include/univ.i:
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      innobase/srv/srv0start.c:
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      9e56a0a7
    • unknown's avatar
      Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe · 65c44414
      unknown authored
      A after merge fix for last merge
      
      
      innobase/btr/btr0btr.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/btr/btr0sea.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0buf.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0flu.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0lru.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0rea.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/com/com0shm.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/data/data0data.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/data/data0type.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/dict/dict0crea.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/dict/dict0dict.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/fil/fil0fil.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/fsp/fsp0fsp.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/fut/fut0lst.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ha/ha0ha.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ibuf/ibuf0ibuf.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/include/univ.i:
        Disabled ut_sprintf/ut_fprintf. Not needed as all number arguments to printf are now casted
      innobase/lock/lock0lock.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/log/log0log.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/log/log0recv.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mem/mem0dbg.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mem/mem0pool.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mtr/mtr0log.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mtr/mtr0mtr.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/os/os0file.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/os/os0sync.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/page/page0cur.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/page/page0page.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/read/read0read.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/rem/rem0cmp.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/rem/rem0rec.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/row/row0mysql.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
        Heikki, please check the change of % to %%
      innobase/row/row0sel.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/row/row0undo.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/srv/srv0srv.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/srv/srv0start.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/sync/sync0arr.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/sync/sync0rw.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/sync/sync0sync.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0purge.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0rec.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0roll.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0sys.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0trx.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0undo.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/usr/usr0sess.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ut/ut0mem.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ut/ut0ut.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      sql/sql_delete.cc:
        After merge fix
      65c44414
  31. 28 Nov, 2003 1 commit
    • unknown's avatar
      Added missing SSL library (Should be in source distribution) · 76bf7d22
      unknown authored
      Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
      Added a lot of 'version_xxx' strings to 'show variables'
      Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
      Fixed problem with printing sub selects to debug log
      
      
      Docs/mysqld_error.txt:
        Updated error messages
      Makefile.am:
        Added missing SSL library (Should be in source distribution)
      configure.in:
        Added missing SSL library
      include/sql_common.h:
        Move duplicated prototypes
      innobase/os/os0file.c:
        Added comment for line that could be removed
      innobase/srv/srv0srv.c:
        Added comment for line that could be removed
      innobase/srv/srv0start.c:
        Added comment for line that could be removed
      innobase/trx/trx0sys.c:
        Added cast to remove compiler warning
      isam/isamchk.c:
        Fixed compiler warning
      libmysql/conf_to_src.c:
        Include files in proper order
      myisam/mi_check.c:
        Removed else part that caused compiler warning
      myisam/mi_delete.c:
        Added cast
      myisam/mi_page.c:
        Added cast
      myisam/mi_preload.c:
        Added cast
      myisam/mi_write.c:
        Added cast
      myisam/myisampack.c:
        changed 'byte' to 'current_byte' to avoid compiler warnings
      mysql-test/mysql-test-run.sh:
        Removed start-from as test '<' is not portable and this can easily be done from command line
      mysys/hash.c:
        Added cast
      mysys/mf_wcomp.c:
        Removed not reached line
      mysys/my_append.c:
        Fixed include file order to get this more portable
      mysys/my_copy.c:
        Fixed include file order to get this more portable
      mysys/my_redel.c:
        Fixed include file order to get this more portable
      sql-common/client.c:
        More DBUG_PRINT
      sql-common/pack.c:
        Added casts becasue Fortre compiler apparently compares (ulonglong) < (longlong) as signed
      sql/ha_heap.cc:
        Changed variable names to not cause hidden variables
      sql/ha_innodb.cc:
        Changed variable names to not cause hidden variables
      sql/item.cc:
        Changed variable names to not cause hidden variables
      sql/item.h:
        Changed variable names to not cause hidden variables
      sql/item_cmpfunc.h:
        Changed variable names to not cause hidden variables
      sql/item_func.cc:
        Changed variable names to not cause hidden variables
      sql/item_subselect.cc:
        Changed variable names to not cause hidden variables
      sql/item_subselect.h:
        Changed variable names to not cause hidden variables
      sql/item_sum.cc:
        Changed variable names to not cause hidden variables
      sql/item_timefunc.cc:
        Changed variable names to not cause hidden variables
      sql/log.cc:
        Changed variable names to not cause hidden variables
      sql/protocol.cc:
        Changed variable names to not cause hidden variables
      sql/protocol.h:
        Changed variable names to not cause hidden variables
        Remove function not declared in protocol.cc
      sql/protocol_cursor.cc:
        Changed variable names to not cause hidden variables
      sql/set_var.cc:
        Added a lot of 'version_xxx' strings
        Changed 'bdb_version' to 'version_bdb'
      sql/sql_class.cc:
        Changed variable names to not cause hidden variables
        Add TMP_TABLE_PARAM::init() to allow one to initialize structure several times
      sql/sql_class.h:
        Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
      sql/sql_derived.cc:
        Avoid copying TMP_TABLE_PARAM (Use class version instead)
      sql/sql_error.cc:
        More DBUG
      sql/sql_help.cc:
        Fixed compiler warning
      sql/sql_lex.cc:
        Changed variable names to not cause hidden variables
      sql/sql_list.h:
        Changed variable names to not cause hidden variables
      sql/sql_parse.cc:
        Changed variable names to not cause hidden variables
      sql/sql_select.cc:
        Changed variable names to not cause hidden variables
        Ensure that you don't send NULL to printf() for %s
        Fixed problem with printing sub selects to debug log
      sql/sql_select.h:
        Changed variable names to not cause hidden variables
      sql/sql_union.cc:
        Changed variable names to not cause hidden variables
        Don't use local copy of TMP_TABLE_PARAM (Caused core dump on Solaris)
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Remove warning
      strings/conf_to_src.c:
        Fixed include file order
      76bf7d22
  32. 18 Nov, 2003 1 commit
    • unknown's avatar
      CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS · e72124c4
      unknown authored
      New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
      ALTER TABLE table_name ... CHARACTER SET  ... now changes all char/varchar/text columns to the given character set
      (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
      Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
      New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
      Removed compiler warnings
      Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
      
      
      BUILD/compile-pentium-valgrind-max:
        Add test of isam
      client/mysql.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      include/my_base.h:
        Remove HA_EXTRA_SET_KEY_CACHE
      include/my_no_pthread.h:
        Add defines to ignore rw-locks when running without threads
      include/my_sys.h:
        Added function for multi-key-caches
      include/myisam.h:
        Added function to handle multi-key-caches
      include/mysql.h:
        Added mysql_set_server_option
      include/mysql_com.h:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Added enum_mysql_set_option
      include/mysqld_error.h:
        Added error message for unknown key cache
      innobase/srv/srv0start.c:
        Removed warning that is confused for MySQL users
      libmysql/libmysql.c:
        Added mysql_set_server_option()
      libmysql/libmysql.def:
        Added mysql_set_server_option()
      myisam/ft_nlq_search.c:
        Removed compiler warning
      myisam/ft_static.c:
        Removed compiler warning and fixed wrong return value
      myisam/mi_check.c:
        Clean up multi-key-cache usage
      myisam/mi_checksum.c:
        Removed not used variable
      myisam/mi_close.c:
        keycache -> key_cache
      myisam/mi_delete_all.c:
        keycache -> key_cache
      myisam/mi_extra.c:
        keycache -> key_cache
        Removed HA_EXTRA_SET_KEY_CACHE
      myisam/mi_keycache.c:
        Changed logic so that it's MyISAM that is responsible for assign tables to different key caches instead of the upper level
      myisam/mi_locking.c:
        Don't change key cache on unlock (must be done before)
      myisam/mi_open.c:
        Fetch key cache to use from multi_key_cache_search()
      myisam/mi_page.c:
        keycache -> key_cache
      myisam/mi_panic.c:
        keycache -> key_cache
      myisam/mi_preload.c:
        keycache -> key_cache
      myisam/mi_test1.c:
        Use KEY_CACHE_BLOCK_SIZE
      myisam/mi_test2.c:
        Always test resize_key_cache()
      myisam/mi_test3.c:
        Use KEY_CACHE_BLOCK_SIZE instead of 512
      myisam/myisamchk.c:
        update for multiple key caches
      myisam/myisamdef.h:
        Remove reg_keycache
        Add unique_name_length for storing length of unique_file_name
      myisam/myisamlog.c:
        Change how end_key_cache() is called
      mysql-test/mysql-test-run.sh:
        Fixed web link
        Added name of failed test to abort row.
      mysql-test/r/alter_table.result:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/r/case.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/cast.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/create.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_collate.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_latin1_de.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_many.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_mb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_recoding.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_ucs.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/derived.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/r/fulltext.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_str.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_system.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/gis-rtree.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/innodb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/key_cache.result:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/r/merge.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/preload.result:
        New syntax
      mysql-test/r/show_check.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/sql_mode.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/subselect.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_blob.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_enum.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_nchar.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_set.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/union.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/alter_table.test:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/t/ctype_many.test:
        Update result for DEFAULT CHARSET...
      mysql-test/t/derived.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/isam.test:
        Use disable warnings for test loop
      mysql-test/t/join.test:
        Update test now when we only support 61 tables in join
      mysql-test/t/key_cache.test:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/t/preload.test:
        Update for new syntax
      mysql-test/t/union.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysys/Makefile.am:
        Added mf_keycaches.c
      mysys/hash.c:
        TRUE -> 1
      mysys/mf_keycache.c:
        Removed compiler warnings
        Striped end space
        Fixed indentation and improved function comments
        TRUE -> 1
        Changed parameters to end_key_cache() to make it easer to use
        Fixed bug when using key blocks size > 1024 bytes (First part of index file could be overwritten with wrong data)
        Split function flush_key_blocks into two functions to not get mutex used twice when called from flush_all_key_blocks()
      mysys/my_bitmap.c:
        More debugging
        Safe bitmap_free()
        Fixed indentation
      mysys/my_getopt.c:
        Ensure that we initialize option->value, option->max_value and value from GET_ASK_ADDR
      mysys/my_thr_init.c:
        Remove not used mutex THR_LOCK_keycache
      mysys/typelib.c:
        Fixed function comments
      sql-common/client.c:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Fixed the multi_result flag is set also on SELECT;s
      sql/ha_myisam.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/ha_myisammrg.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/handler.cc:
        New multi key cache handling
      sql/handler.h:
        New multi key cache handling
        Added support for default character set
      sql/item.h:
        Added function cleanup() (Needed for prepared statements / cursors)
      sql/item_cmpfunc.h:
        Added cleanup function
      sql/item_func.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        New multi-key-cache functions
        Removed LOCK_assign
      sql/mysqld.cc:
        New multi-key-cache handling
        Fixed that variable have_compress is set correctly
      sql/protocol.cc:
        SELECT didn't work reliable in multi-statements
      sql/set_var.cc:
        Support for new key cache variables
      sql/set_var.h:
        Support for new key cache variables
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/serbian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Removed all key_cache handling (this is now done on MyISAM level)
        Change table_charset -> default_table_charset
      sql/sql_db.cc:
        table_charset -> default_table_charset
      sql/sql_delete.cc:
        table_charset -> default_table_charset
      sql/sql_lex.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      sql/sql_lex.h:
        New option to store a name and length
      sql/sql_parse.cc:
        Support for mysql_set_server_option()
        Reset "default" keycache status variables in 'FLUSH STATUS' (Need to be improved later)
      sql/sql_show.cc:
        Add DEFAULT before CHARSET (for table character sets)
        Fetch key cache variables from 'sql_key_cache'
      sql/sql_table.cc:
        table_charset -> default_table_charset
        New multi-key-cache handling
      sql/sql_test.cc:
        Write information from all key caches
      sql/sql_yacc.yy:
        Changed syntax for CACHE INDEX ...
        Force user to use DEFAULT before database/table level character sets
      sql/structs.h:
        Added SHOW_KEY_CACHE_LONG (to get values from sql_key_cache)
      sql/table.cc:
        table_charset -> default_table_charset
      sql/table.h:
        New key cache handling (this is now done in mysys/mf_keycaches.c)
      sql/unireg.h:
        A
      e72124c4
  33. 03 Nov, 2003 1 commit
    • unknown's avatar
      Many files: · 8b648b03
      unknown authored
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      
      
      innobase/buf/buf0buf.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/dict/dict0crea.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/dict/dict0dict.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/fil/fil0fil.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/fsp/fsp0fsp.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/fil0fil.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/fsp0fsp.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/log0recv.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/mtr0log.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/mtr0mtr.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/os0file.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/ut0dbg.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/ut0ut.h:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/ha0ha.ic:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/include/mtr0log.ic:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/log/log0log.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/log/log0recv.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/mem/mem0pool.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/os/os0file.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/pars/lexyy.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/row/row0mysql.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/row/row0sel.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/srv/srv0srv.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/srv/srv0start.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/ut/ut0rnd.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      innobase/ut/ut0ut.c:
        Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
      8b648b03
  34. 17 Oct, 2003 2 commits
    • unknown's avatar
      thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h, ha_innodb.cc: · 14affe7e
      unknown authored
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      
      
      sql/ha_innodb.cc:
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      innobase/include/os0thread.h:
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      innobase/include/srv0srv.h:
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      innobase/srv/srv0srv.c:
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      innobase/srv/srv0start.c:
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      innobase/thr/thr0loc.c:
        Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
      14affe7e
    • unknown's avatar
      thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h: · 6713bb09
      unknown authored
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      
      
      innobase/include/os0thread.h:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/include/srv0srv.h:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/srv/srv0srv.c:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/srv/srv0start.c:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/thr/thr0loc.c:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      6713bb09
  35. 07 Oct, 2003 1 commit
    • unknown's avatar
      Many files: · d1485aad
      unknown authored
        Multiple tablespaces for InnoDB
      sql_table.cc:
        Tell explicitly that InnoDB should retrieve all columns in CHECKSUM TABLE
      sql_update.cc, sql_select.cc, my_base.h:
        More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
      
      
      include/my_base.h:
        More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
      sql/sql_select.cc:
        More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
      sql/sql_update.cc:
        More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
      sql/sql_table.cc:
        Tell explicitly that InnoDB should retrieve all columns in CHECKSUM TABLE
      sql/sql_db.cc:
        Multiple tablespaces for InnoDB
      sql/ha_innodb.cc:
        Multiple tablespaces for InnoDB
      sql/mysqld.cc:
        Multiple tablespaces for InnoDB
      sql/set_var.cc:
        Multiple tablespaces for InnoDB
      sql/sql_cache.cc:
        Multiple tablespaces for InnoDB
      sql/ha_innodb.h:
        Multiple tablespaces for InnoDB
      innobase/include/btr0btr.ic:
        Multiple tablespaces for InnoDB
      innobase/include/btr0pcur.ic:
        Multiple tablespaces for InnoDB
      innobase/include/data0type.ic:
        Multiple tablespaces for InnoDB
      innobase/include/dyn0dyn.ic:
        Multiple tablespaces for InnoDB
      innobase/include/fut0lst.ic:
        Multiple tablespaces for InnoDB
      innobase/include/log0log.ic:
        Multiple tablespaces for InnoDB
      innobase/include/mach0data.ic:
        Multiple tablespaces for InnoDB
      innobase/include/mtr0log.ic:
        Multiple tablespaces for InnoDB
      innobase/include/rem0rec.ic:
        Multiple tablespaces for InnoDB
      innobase/include/ut0byte.ic:
        Multiple tablespaces for InnoDB
      innobase/include/ut0ut.ic:
        Multiple tablespaces for InnoDB
      innobase/include/buf0buf.h:
        Multiple tablespaces for InnoDB
      innobase/include/buf0lru.h:
        Multiple tablespaces for InnoDB
      innobase/include/buf0rea.h:
        Multiple tablespaces for InnoDB
      innobase/include/data0type.h:
        Multiple tablespaces for InnoDB
      innobase/include/db0err.h:
        Multiple tablespaces for InnoDB
      innobase/include/dict0boot.h:
        Multiple tablespaces for InnoDB
      innobase/include/dict0dict.h:
        Multiple tablespaces for InnoDB
      innobase/include/dict0load.h:
        Multiple tablespaces for InnoDB
      innobase/include/dict0mem.h:
        Multiple tablespaces for InnoDB
      innobase/include/fil0fil.h:
        Multiple tablespaces for InnoDB
      innobase/include/fsp0fsp.h:
        Multiple tablespaces for InnoDB
      innobase/include/ibuf0ibuf.h:
        Multiple tablespaces for InnoDB
      innobase/include/lock0lock.h:
        Multiple tablespaces for InnoDB
      innobase/include/log0log.h:
        Multiple tablespaces for InnoDB
      innobase/include/log0recv.h:
        Multiple tablespaces for InnoDB
      innobase/include/os0file.h:
        Multiple tablespaces for InnoDB
      innobase/include/page0page.h:
        Multiple tablespaces for InnoDB
      innobase/include/que0types.h:
        Multiple tablespaces for InnoDB
      innobase/include/rem0rec.h:
        Multiple tablespaces for InnoDB
      innobase/include/srv0srv.h:
        Multiple tablespaces for InnoDB
      innobase/include/srv0start.h:
        Multiple tablespaces for InnoDB
      innobase/include/sync0sync.h:
        Multiple tablespaces for InnoDB
      innobase/include/trx0sys.h:
        Multiple tablespaces for InnoDB
      innobase/include/ut0byte.h:
        Multiple tablespaces for InnoDB
      innobase/include/univ.i:
        Multiple tablespaces for InnoDB
      innobase/btr/btr0cur.c:
        Multiple tablespaces for InnoDB
      innobase/btr/btr0sea.c:
        Multiple tablespaces for InnoDB
      innobase/buf/buf0buf.c:
        Multiple tablespaces for InnoDB
      innobase/buf/buf0flu.c:
        Multiple tablespaces for InnoDB
      innobase/buf/buf0lru.c:
        Multiple tablespaces for InnoDB
      innobase/buf/buf0rea.c:
        Multiple tablespaces for InnoDB
      innobase/data/data0type.c:
        Multiple tablespaces for InnoDB
      innobase/dict/dict0boot.c:
        Multiple tablespaces for InnoDB
      innobase/dict/dict0crea.c:
        Multiple tablespaces for InnoDB
      innobase/dict/dict0dict.c:
        Multiple tablespaces for InnoDB
      innobase/dict/dict0load.c:
        Multiple tablespaces for InnoDB
      innobase/dict/dict0mem.c:
        Multiple tablespaces for InnoDB
      innobase/fil/fil0fil.c:
        Multiple tablespaces for InnoDB
      innobase/fsp/fsp0fsp.c:
        Multiple tablespaces for InnoDB
      innobase/ha/ha0ha.c:
        Multiple tablespaces for InnoDB
      innobase/ibuf/ibuf0ibuf.c:
        Multiple tablespaces for InnoDB
      innobase/log/log0log.c:
        Multiple tablespaces for InnoDB
      innobase/log/log0recv.c:
        Multiple tablespaces for InnoDB
      innobase/mach/mach0data.c:
        Multiple tablespaces for InnoDB
      innobase/mem/mem0dbg.c:
        Multiple tablespaces for InnoDB
      innobase/mem/mem0pool.c:
        Multiple tablespaces for InnoDB
      innobase/mtr/mtr0log.c:
        Multiple tablespaces for InnoDB
      innobase/os/os0file.c:
        Multiple tablespaces for InnoDB
      innobase/os/os0proc.c:
        Multiple tablespaces for InnoDB
      innobase/page/page0cur.c:
        Multiple tablespaces for InnoDB
      innobase/que/que0que.c:
        Multiple tablespaces for InnoDB
      innobase/row/row0ins.c:
        Multiple tablespaces for InnoDB
      innobase/row/row0mysql.c:
        Multiple tablespaces for InnoDB
      innobase/row/row0sel.c:
        Multiple tablespaces for InnoDB
      innobase/row/row0upd.c:
        Multiple tablespaces for InnoDB
      innobase/srv/srv0srv.c:
        Multiple tablespaces for InnoDB
      innobase/srv/srv0start.c:
        Multiple tablespaces for InnoDB
      innobase/sync/sync0rw.c:
        Multiple tablespaces for InnoDB
      innobase/sync/sync0sync.c:
        Multiple tablespaces for InnoDB
      innobase/trx/trx0sys.c:
        Multiple tablespaces for InnoDB
      innobase/trx/trx0trx.c:
        Multiple tablespaces for InnoDB
      innobase/trx/trx0undo.c:
        Multiple tablespaces for InnoDB
      innobase/ut/ut0byte.c:
        Multiple tablespaces for InnoDB
      innobase/ut/ut0ut.c:
        Multiple tablespaces for InnoDB
      d1485aad