1. 11 Aug, 2002 1 commit
    • unknown's avatar
      ha_innobase.cc, ut0ut.c, univ.i, ut0ut.h: · 12c89220
      unknown authored
        Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
      lock0lock.c:
        Add safety against buffer overruns in latest deadlock info
      srv0srv.c:
        Add safety against buffer overruns in SHOW INNODB STATUS
      os0thread.h, os0thread.c:
        Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
      
      
      innobase/os/os0thread.c:
        Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
      innobase/include/os0thread.h:
        Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
      innobase/srv/srv0srv.c:
        Add safety against buffer overruns in SHOW INNODB STATUS
      innobase/lock/lock0lock.c:
        Add safety against buffer overruns in latest deadlock info
      innobase/include/ut0ut.h:
        Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
      innobase/include/univ.i:
        Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
      innobase/ut/ut0ut.c:
        Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
      sql/ha_innobase.cc:
        Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
      12c89220
  2. 10 Aug, 2002 4 commits
  3. 09 Aug, 2002 5 commits
    • unknown's avatar
      After discussing it with Monty by phone once more: · e22a2a83
      unknown authored
       - Only define alloca as a compiler builtin, if we use GCC and there
         is no alloca.h installed
      
      
      include/my_sys.h:
         - Only define alloca as a compiler builtin, if we use GCC and there
           is no alloca.h installed
      e22a2a83
    • unknown's avatar
      9d7b069c
    • unknown's avatar
      ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c: · 1d4594ec
      unknown authored
        Add some more safety margin to buffer sizes in prints
      
      
      innobase/trx/trx0trx.c:
        Add some more safety margin to buffer sizes in prints
      innobase/lock/lock0lock.c:
        Add some more safety margin to buffer sizes in prints
      innobase/include/trx0trx.h:
        Add some more safety margin to buffer sizes in prints
      sql/ha_innobase.cc:
        Add some more safety margin to buffer sizes in prints
      1d4594ec
    • unknown's avatar
      ha_innobase.cc: · 62ce2576
      unknown authored
        Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works
      
      
      sql/ha_innobase.cc:
        Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works
      62ce2576
    • unknown's avatar
      ha_innobase.cc: · c642d316
      unknown authored
        Revert changes to sprintf until we know why control characters scrambled the output
      
      
      sql/ha_innobase.cc:
        Revert changes to sprintf until we know why control characters scrambled the output
      c642d316
  4. 08 Aug, 2002 4 commits
  5. 07 Aug, 2002 2 commits
  6. 06 Aug, 2002 7 commits
    • unknown's avatar
      Many files: · 41b79db6
      unknown authored
        Merge InnoDB-3.23.52d
      
      
      innobase/btr/btr0sea.c:
        Merge InnoDB-3.23.52d
      innobase/buf/buf0buf.c:
        Merge InnoDB-3.23.52d
      innobase/buf/buf0lru.c:
        Merge InnoDB-3.23.52d
      innobase/include/buf0buf.h:
        Merge InnoDB-3.23.52d
      innobase/include/ha0ha.h:
        Merge InnoDB-3.23.52d
      innobase/include/log0log.h:
        Merge InnoDB-3.23.52d
      innobase/include/os0file.h:
        Merge InnoDB-3.23.52d
      innobase/include/os0thread.h:
        Merge InnoDB-3.23.52d
      innobase/include/ha0ha.ic:
        Merge InnoDB-3.23.52d
      innobase/include/os0sync.ic:
        Merge InnoDB-3.23.52d
      innobase/include/srv0start.h:
        Merge InnoDB-3.23.52d
      innobase/include/sync0rw.ic:
        Merge InnoDB-3.23.52d
      innobase/include/sync0sync.ic:
        Merge InnoDB-3.23.52d
      innobase/include/ut0dbg.h:
        Merge InnoDB-3.23.52d
      innobase/include/univ.i:
        Merge InnoDB-3.23.52d
      innobase/lock/lock0lock.c:
        Merge InnoDB-3.23.52d
      innobase/log/log0log.c:
        Merge InnoDB-3.23.52d
      innobase/mem/mem0pool.c:
        Merge InnoDB-3.23.52d
      innobase/os/os0file.c:
        Merge InnoDB-3.23.52d
      innobase/os/os0thread.c:
        Merge InnoDB-3.23.52d
      innobase/srv/srv0srv.c:
        Merge InnoDB-3.23.52d
      innobase/srv/srv0start.c:
        Merge InnoDB-3.23.52d
      innobase/sync/sync0arr.c:
        Merge InnoDB-3.23.52d
      innobase/sync/sync0rw.c:
        Merge InnoDB-3.23.52d
      innobase/sync/sync0sync.c:
        Merge InnoDB-3.23.52d
      innobase/thr/thr0loc.c:
        Merge InnoDB-3.23.52d
      innobase/trx/trx0trx.c:
        Merge InnoDB-3.23.52d
      innobase/configure.in:
        Merge InnoDB-3.23.52d
      sql/ha_innobase.cc:
        Merge InnoDB-3.23.52d
      41b79db6
    • unknown's avatar
      Fixed problem with make distcheck · 56175cb0
      unknown authored
      Fixed bug in automatic repair of MyISAM tables where table cache was not locked properly
      
      
      Docs/manual.texi:
        Changelog
      libmysql/Makefile.am:
        Fixed problem with make distcheck
      libmysql/Makefile.shared:
        Fixed problem with make distcheck
      sql/sql_base.cc:
        Fixed bug in automatic repair where table cache was not locked properly.
      strings/Makefile.am:
        Fixed problem with make distcheck
      56175cb0
    • unknown's avatar
      Backported pthread_mutex_trylock code from MySQL 4.0 to fix problem on HPUX. · 0c7a9555
      unknown authored
      Removed Heikki's patch for handling this.
      
      0c7a9555
    • unknown's avatar
      d94bdfc6
    • unknown's avatar
      Better error messages for mysql-test-run · 1482ea7d
      unknown authored
      Added option --host to mysqlhotcopy
      
      
      mysql-test/mysql-test-run.sh:
        Added error message if the server doesn't start.
        Increase connect timeout a bit (for running under purify).
      mysql-test/t/rpl000001.test:
        Longer sleep time (for running under purify)
      scripts/mysqlhotcopy.sh:
        Added option --host for usage with TCP/IP connections
      sql/gen_lex_hash.cc:
        Fixed typo
      1482ea7d
    • unknown's avatar
      my_pthread.h, configure.in: · d79aab55
      unknown authored
        In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
      
      
      configure.in:
        In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
      include/my_pthread.h:
        In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
      d79aab55
    • unknown's avatar
      Changed initialization of RND() to be less predictable. · 6c12397b
      unknown authored
      Use MYSQL_CONFIG_NAME instead of "my" as the configuration file name.
      
      
      Docs/manual.texi:
        Changelog
      include/mysql_version.h.in:
        Use MYSQL_CONFIG_NAME instead of "my" as the configuration file name.
      6c12397b
  7. 05 Aug, 2002 6 commits
    • unknown's avatar
      merge · 03723b2b
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/sql_base.cc:
        Auto merged
      03723b2b
    • unknown's avatar
      Changelog · 11f6eae4
      unknown authored
      11f6eae4
    • unknown's avatar
      Added some missing mutex_locks() when manipulating the table cache. · 5bdd5664
      unknown authored
      This should fix some possible table cache corruptions when doing
      OPTIMIZE or REPAIR table when other threads are opening new tables.
      
      
      sql/sql_base.cc:
        Added missing mutex unlock on error condition
      sql/sql_insert.cc:
        Added TODO item
      sql/sql_show.cc:
        Added missing pthread_mutex_lock(&LOCK_open) when calling
        query_table_status().
      sql/sql_table.cc:
        Added missing pthread_mutex_lock(&LOCK_open) when calling
        hash_delete(), unlock_table_name() and remove_table_from_cache().
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      5bdd5664
    • unknown's avatar
      Fixed bug with GROUP BY on NULL fields. · 7fc5f6d1
      unknown authored
      (Merge of code from 4.0)
      
      
      Docs/manual.texi:
        Changelog
      include/my_base.h:
        Fixed bug with GROUP BY on NULL fields.
      include/mysql_com.h:
        Fixed bug with GROUP BY on NULL fields.
      myisam/mi_search.c:
        Fixed bug with GROUP BY on NULL fields.
      myisam/mi_write.c:
        Fixed bug with GROUP BY on NULL fields.
      mysql-test/r/group_by.result:
        Fixed bug with GROUP BY on NULL fields.
      mysql-test/t/group_by.test:
        Fixed bug with GROUP BY on NULL fields.
      sql/sql_base.cc:
        Removed some not-needed comments in the trace file
      sql/sql_select.cc:
        Fixed bug with GROUP BY on NULL fields.
      7fc5f6d1
    • unknown's avatar
      merge · 3c649c07
      unknown authored
      3c649c07
    • unknown's avatar
      Added some mutex locks to make SLAVE START and SLAVE STOP thread safe. · 6caa0081
      unknown authored
      
      Docs/manual.texi:
        Changelog
      sql/gen_lex_hash.cc:
        Merged --verbose option from 4.0
        Smaller hash table
      sql/slave.cc:
        Added some mutex locks to make SLAVE START and SLAVE STOP thread safe.
      6caa0081
  8. 03 Aug, 2002 4 commits
  9. 02 Aug, 2002 1 commit
    • unknown's avatar
      Many files: · e41206a5
      unknown authored
        Merge InnoDB-3.23.52c
      ha_innobase.cc:
        Test the ref length sanity also in the production version
      
      
      sql/ha_innobase.cc:
        Test the ref length sanity also in the production version
      innobase/btr/btr0cur.c:
        Merge InnoDB-3.23.52c
      innobase/buf/buf0buf.c:
        Merge InnoDB-3.23.52c
      innobase/buf/buf0lru.c:
        Merge InnoDB-3.23.52c
      innobase/ha/ha0ha.c:
        Merge InnoDB-3.23.52c
      innobase/log/log0recv.c:
        Merge InnoDB-3.23.52c
      innobase/mtr/mtr0log.c:
        Merge InnoDB-3.23.52c
      innobase/os/os0file.c:
        Merge InnoDB-3.23.52c
      innobase/page/page0cur.c:
        Merge InnoDB-3.23.52c
      innobase/include/btr0btr.h:
        Merge InnoDB-3.23.52c
      innobase/include/dyn0dyn.h:
        Merge InnoDB-3.23.52c
      innobase/include/log0recv.h:
        Merge InnoDB-3.23.52c
      innobase/include/buf0buf.ic:
        Merge InnoDB-3.23.52c
      innobase/include/log0log.ic:
        Merge InnoDB-3.23.52c
      e41206a5
  10. 31 Jul, 2002 4 commits
    • unknown's avatar
      Innodb fixes: · 3884935d
      unknown authored
      Added back 'static inline', as not having this caused more problems than having it
      Fixed wrong arguments to printf()
      
      
      innobase/buf/buf0buf.c:
        Fixed wrong argument to printf()
      innobase/fsp/fsp0fsp.c:
        Fixed wrong argument to printf()
      innobase/include/btr0btr.h:
        Removed UNIV_INLINE for functions that should not be inlined
      innobase/include/dyn0dyn.h:
        Removed UNIV_INLINE for functions that should not be inlined
      innobase/include/univ.i:
        Added back 'static inline', as not having this caused more problems than having it
      3884935d
    • unknown's avatar
      Fixed wrong printf() string in InnoDB · 9fb1e4db
      unknown authored
      Removed some compiler warnings regarding 'static' from InnoDB
      
      
      Docs/manual.texi:
        Fixed wrong manual entry
      innobase/btr/btr0cur.c:
        Fixed wrong printf() string
      innobase/include/univ.i:
        Removed compiler warnings (static inline produces a lot of warnings and is probably not portable)
      9fb1e4db
    • unknown's avatar
      Merge · 4cc20ec5
      unknown authored
      
      Docs/manual.texi:
        SCCS merged
      4cc20ec5
    • unknown's avatar
      Changelog update · 884bc9a3
      unknown authored
      
      Docs/manual.texi:
        Changelog
      884bc9a3
  11. 30 Jul, 2002 2 commits
    • unknown's avatar
      Many files: · ab8ff0d6
      unknown authored
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      
      
      sql/ha_innobase.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      sql/ha_innobase.cc:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/buf/buf0buf.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/dict/dict0dict.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/fil/fil0fil.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/ha/ha0ha.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/dict0dict.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/dict0mem.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/dyn0dyn.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/fsp0fsp.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/log0log.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/log0recv.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/trx0sys.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/trx0trx.h:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/include/log0log.ic:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/lock/lock0lock.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/log/log0log.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/log/log0recv.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/mem/mem0dbg.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/row/row0mysql.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/srv/srv0srv.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/srv/srv0start.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/trx/trx0sys.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      innobase/trx/trx0trx.c:
        Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
      ab8ff0d6
    • unknown's avatar
      - added the init script to support the LSB init script spec · 912911fe
      unknown authored
       - overhauled the RPM spec file (more macros, package descriptions)
      
      
      support-files/mysql.server.sh:
         - Added LSB-compliant init script header
      support-files/mysql.spec.sh:
         - Use some more macros (_mandir and _infodir)
         - Updated package description
         - Install binaries stripped to save disk space
         - Rearranged file list (make sure man pages are in
           the same package as the binaries)
         - clean up the BuildRoot directory afterwards
         - added mysqldumpslow to the server package
      912911fe