1. 06 Aug, 2002 5 commits
  2. 05 Aug, 2002 6 commits
    • unknown's avatar
      merge · 3cf7c3e6
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/sql_base.cc:
        Auto merged
      3cf7c3e6
    • unknown's avatar
      Changelog · ccf72877
      unknown authored
      ccf72877
    • unknown's avatar
      Added some missing mutex_locks() when manipulating the table cache. · 79529144
      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
      79529144
    • unknown's avatar
      Fixed bug with GROUP BY on NULL fields. · 529e1af2
      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.
      529e1af2
    • unknown's avatar
      merge · 19c6bdba
      unknown authored
      19c6bdba
    • unknown's avatar
      Added some mutex locks to make SLAVE START and SLAVE STOP thread safe. · f2dba61e
      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.
      f2dba61e
  3. 03 Aug, 2002 4 commits
  4. 02 Aug, 2002 1 commit
    • unknown's avatar
      Many files: · 0ebb78e8
      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
      0ebb78e8
  5. 31 Jul, 2002 4 commits
    • unknown's avatar
      Innodb fixes: · dd764d99
      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
      dd764d99
    • unknown's avatar
      Fixed wrong printf() string in InnoDB · e2cf3f8e
      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)
      e2cf3f8e
    • unknown's avatar
      Merge · 3af8f85f
      unknown authored
      
      Docs/manual.texi:
        SCCS merged
      3af8f85f
    • unknown's avatar
      Changelog update · 6485267c
      unknown authored
      
      Docs/manual.texi:
        Changelog
      6485267c
  6. 30 Jul, 2002 3 commits
    • unknown's avatar
      Many files: · 39ee64cd
      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
      39ee64cd
    • unknown's avatar
      - added the init script to support the LSB init script spec · da35a074
      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
      da35a074
    • unknown's avatar
      ha_innobase.cc: · 95cb4cc8
      unknown authored
        Since MySQL commits the stmt always at the end of an INSERT, it is enough to release auto-inc lock at innobase_commit and innobase_rollback; add also more comments to code
      
      
      sql/ha_innobase.cc:
        Since MySQL commits the stmt always at the end of an INSERT, it is enough to release auto-inc lock at innobase_commit and innobase_rollback; add also more comments to code
      95cb4cc8
  7. 29 Jul, 2002 4 commits
    • unknown's avatar
      ha_innobase.h, ha_innobase.cc: · d47ee142
      unknown authored
        procinfo -> proc_info to make ha_innobase.cc to compile, add more comments about ref
      
      
      sql/ha_innobase.cc:
        procinfo -> proc_info to make ha_innobase.cc to compile, add more comments about ref
      sql/ha_innobase.h:
        procinfo -> proc_info to make ha_innobase.cc to compile, add more comments about ref
      d47ee142
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too... · 01152fb1
      unknown authored
      Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too big buffers when sorting innobase rows
      Changed name of variables
      NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
      RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
      to avoid confusion with 'not...' variables.
      Write name of adminstrator command to slow log.
      Added mysqldumpslow to RPM
      
      
      Docs/manual.texi:
        Changelog
      sql/gen_lex_hash.cc:
        Updated values
      sql/ha_innobase.cc:
        Remove return value of sprintf
        Merged back optimizations done in 4.0
        Fixed ref_length;  Caused MySQL to use big buffers when using InnoDB
      sql/lex.h:
        Changed name of variables
        NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
        RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
      sql/log.cc:
        Write name of adminstrator command to slow log
      sql/sql_yacc.yy:
        Changed name of variables
        NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
        RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
      support-files/mysql.spec.sh:
        Added mysqldumpslow to RPM
      01152fb1
  8. 26 Jul, 2002 1 commit
    • unknown's avatar
      dyn0dyn.ic, dyn0dyn.h: · 48e8ed29
      unknown authored
        Backport the AIX crash fix changes from 4.0
      
      
      innobase/include/dyn0dyn.h:
        Backport the AIX crash fix changes from 4.0
      innobase/include/dyn0dyn.ic:
        Backport the AIX crash fix changes from 4.0
      48e8ed29
  9. 25 Jul, 2002 3 commits
  10. 23 Jul, 2002 1 commit
    • unknown's avatar
      os0thread.c, configure.in: · 4a6b039c
      unknown authored
        Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
      
      
      innobase/configure.in:
        Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
      innobase/os/os0thread.c:
        Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
      4a6b039c
  11. 22 Jul, 2002 4 commits
  12. 21 Jul, 2002 3 commits
    • unknown's avatar
      row0ins.c: · 8f09b705
      unknown authored
        Move the assertion in foreign keys to the right place
      
      
      innobase/row/row0ins.c:
        Move the assertion in foreign keys to the right place
      8f09b705
    • unknown's avatar
      dict0dict.c: · 81a75051
      unknown authored
        Revert the test changes to wait for a full push of new auto-inc algorithm
      
      
      innobase/dict/dict0dict.c:
        Revert the test changes to wait for a full push of new auto-inc algorithm
      81a75051
    • unknown's avatar
      row0ins.c: · b6b2546c
      unknown authored
        Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
      dict0dict.c:
        test
      
      
      innobase/dict/dict0dict.c:
        test
      innobase/row/row0ins.c:
        Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
      b6b2546c
  13. 19 Jul, 2002 1 commit
    • unknown's avatar
      Fix wrong usage of constant which could cause mysqld to use index when doing... · a9c52ff7
      unknown authored
      Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
      code cleanup
      
      
      Docs/manual.texi:
        changelog
      sql/ha_innobase.cc:
        Removed compiler warning
      sql/slave.cc:
        Cleanup comments and indentation for suppressing connect warnings
      sql/sql_db.cc:
        clean up comment
      sql/sql_delete.cc:
        Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
      sql/sql_update.cc:
        Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
      a9c52ff7