An error occurred fetching the project authors.
  1. 14 Oct, 2004 1 commit
    • unknown's avatar
      This patch removes unnecessary lock from the supremum record, takes · dbe27392
      unknown authored
      X-locks on duplicates also on LOAD DATA...REPLACE clause and
      fixes a bug #6086 adding --disable_warnings and --enable_warnings around
      the create table clauses in ctype_utf8 tests for InnoDB.
      
      
      innobase/dict/dict0dict.c:
        Remove static.
      innobase/include/dict0dict.h:
        Add prototype for a function dict_scan_to
      innobase/row/row0ins.c:
        Add support for a LOAD DATA INFILE 'xxx' REPLACE INTO TABLE x. We should
        take X-locks on both REPLACE and LOAD DATA...REPLACE queries to duplicate
        records.
      innobase/row/row0sel.c:
        If innodb_locks_unsafe_for_binlog options is used we do not lock
        gaps. Supremum record is really a dummy record i.e. gap, therefore 
        we do set locks there.
      mysql-test/t/ctype_utf8.test:
        Fix bug #6086: Add --disable_warnings and --enable_warnings around the 
        create table where engine=innodb.
      dbe27392
  2. 01 Oct, 2004 2 commits
    • unknown's avatar
      Many files: · d822c6f7
      unknown authored
        Fix bug introduced by the prefix key + multibyte charsets patch today
      
      
      sql/ha_innodb.cc:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/include/data0type.h:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/include/fsp0fsp.h:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/data/data0type.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0ins.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0row.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0sel.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0upd.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      d822c6f7
    • unknown's avatar
      InnoDB: quote identifiers according to MySQL settings (Bug #5292) · a418a35c
      unknown authored
      innobase/btr/btr0btr.c:
        Add parameter to ut_print_name() and dict_index_name_print() calls
      innobase/btr/btr0cur.c:
        Add parameter to dict_index_name_print() calls
      innobase/buf/buf0buf.c:
        Add parameter to dict_index_name_print() calls
      innobase/dict/dict0crea.c:
        Add parameter to ut_print_name() calls
      innobase/dict/dict0dict.c:
        Add parameter to ut_print_name() calls
        Update documentation links to http://dev.mysql.com
      innobase/dict/dict0load.c:
        Add parameter to ut_print_name() calls
      innobase/fil/fil0fil.c:
        Use ut_print_filename()
        Update links to documentation to http://dev.mysql.com
      innobase/ibuf/ibuf0ibuf.c:
        Replaced printf(...) with fprintf(stderr,...)
      innobase/include/dict0dict.h:
        Added trx parameters
      innobase/include/row0row.h:
        Added trx parameter
      innobase/include/row0sel.h:
        Added trx parameter
      innobase/include/row0upd.h:
        Added trx parameters
      innobase/include/row0upd.ic:
        Added trx parameter for dict_index_name_print()
      innobase/include/trx0rec.h:
        Added trx parameter
      innobase/include/ut0ut.h:
        Added ut_print_filename()
        Added trx parameter to ut_print_name() and ut_print_namel()
      innobase/lock/lock0lock.c:
        Added parameter to dict_index_name_print() and ut_print_name() calls
      innobase/page/page0page.c:
        Added parameter to dict_index_name_print() calls
      innobase/pars/pars0opt.c:
        Added parameter to dict_index_name_print() call
      innobase/pars/pars0pars.c:
        Added parameter to upd_field_set_field_no() call
      innobase/row/row0ins.c:
        Added trx parameters
      innobase/row/row0mysql.c:
        Added trx parameters
      innobase/row/row0purge.c:
        Added trx parameter
      innobase/row/row0row.c:
        Added trx parameter
      innobase/row/row0sel.c:
        Added trx parameters
      innobase/row/row0umod.c:
        Added trx parameters
      innobase/row/row0upd.c:
        Added trx parameters
      innobase/trx/trx0rec.c:
        Added trx parameters
      innobase/trx/trx0roll.c:
        Added parameter to ut_print_name() calls
      innobase/ut/ut0ut.c:
        Added ut_print_filename()
        Added trx parameter to ut_print_namel() and ut_print_name() calls
      sql/ha_innodb.cc:
        Added trx parameters
        Rewrote mysql_get_identifier_quote_char()
      sql/mysql_priv.h:
        Added get_quote_char_for_identifier()
      sql/sql_show.cc:
        Added get_quote_char_for_identifier()
        Removed append_quoted_simple_identifier()
        Make append_identifier() use get_quote_char_for_identifier()
      a418a35c
  3. 03 Sep, 2004 2 commits
    • unknown's avatar
      bfe3df38
    • unknown's avatar
      Fixed unique prefix key bug for multibyte character sets (BUG #4521) for · bbd402dc
      unknown authored
      InnoDB. This fixes also a second part of the same problem with prefix keys
      on a multibyte string column for InnoDB.
      
      
      innobase/btr/btr0btr.c:
        Multibyte character set prefix indexes are not any more fixed size. Therefore,
        we have to chect that length of the index field in not greater than
        prefix length.
      innobase/rem/rem0cmp.c:
        Remove unnecessary changes.
      innobase/row/row0ins.c:
        Fixed unique prefix key or prefix key using multibyte character set bugs for
        InnoDB (BUG #4521). For prefix keys we have to get the storage length
        for the prefix length of characters in the key.
      innobase/row/row0row.c:
        Fixed unique prefix key or prefix key using multibyte character set bugs for
        InnoDB (BUG #4521). For prefix keys we have to get the storage length
        for the prefix length of characters in the key.
      innobase/row/row0sel.c:
        Fixed unique prefix key or prefix key using multibyte character set bugs for
        InnoDB (BUG #4521). For prefix keys we have to get the storage length
        for the prefix length of characters in the key.
      innobase/row/row0upd.c:
        Fixed unique prefix key or prefix key using multibyte character set bugs for
        InnoDB (BUG #4521). For prefix keys we have to get the storage length
        for the prefix length of characters in the key.
      mysql-test/r/ctype_utf8.result:
        Added utf8 character test cases for InnoDB.
      mysql-test/t/ctype_utf8.test:
        Added utf8 character expected test results for InnoDB.
      sql/ha_innodb.cc:
        Added function innobase_get_at_most_n_mbchars to return position of
        the nth character in the multibyte character string.
      sql/ha_innodb.h:
        Remove unnecessary changes.
      bbd402dc
  4. 17 Aug, 2004 1 commit
  5. 12 Aug, 2004 1 commit
    • unknown's avatar
      This change includes optimization for a lock wait rules and a new behaviour for · a7bd2db6
      unknown authored
      a REPLACE command. 
      
      
      innobase/lock/lock0lock.c:
        Gap type locks without LOCK_INSERT_INTENSION flag do not need to wait for
        anything. This is because different users can have conflicting lock types
        on gaps.
      innobase/row/row0ins.c:
        The manual defines the REPLACE semantics that it is either an INSERT or 
        DELETE(s) for duplicate key + INSERT. Therefore, we take X-lock for 
        duplicates.
      a7bd2db6
  6. 11 Aug, 2004 1 commit
    • unknown's avatar
      Take X-lock for duplicate keys in REPLACE command. · 11b25579
      unknown authored
      innobase/lock/lock0lock.c:
        Made change where lock on the supremum record is really a 'gap' type lock and
        gap type lock do not need to wait if it is not LOCK_INSERT_INTENSION type.
      innobase/row/row0ins.c:
        Added fuction row_ins_set_exclusive_rec_lock to set exclusive lock on a record. 
        This function is used for locking possible duplicate key records when
        user has issued REPLACE-command.
        
        Because manual defines the REPLACE semantics that it is either an INSERT or 
        DELETE(s) for duplicate key + INSERT, we take X-lock directly for duplicate
        records to avoid unnecessary lock upgrades and deadlocks caused by lock 
        upgrades.
      11b25579
  7. 15 Jul, 2004 1 commit
  8. 17 Jun, 2004 1 commit
    • unknown's avatar
      Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040311211202|05613 · a7139dd2
      unknown authored
      innobase/trx/trx0sys.c:
        Remove #ifdef UNIV_HOT_BACKUP: best to keep the codebase as uniform as possible
      innobase/dict/dict0dict.c:
        Exclude
      innobase/dict/dict0mem.c:
        Exclude
      innobase/ha/hash0hash.c:
        Exclude
      innobase/include/data0data.h:
        Exclude
      innobase/include/dict0mem.h:
        Exclude
      innobase/include/hash0hash.h:
        Exclude
      innobase/include/hash0hash.ic:
        Exclude
      innobase/include/mtr0mtr.h:
        Exclude
      innobase/include/row0ins.h:
        Exclude
      innobase/include/row0upd.h:
        Exclude
      innobase/row/row0ins.c:
        Exclude
      innobase/row/row0upd.c:
        Exclude
      innobase/thr/thr0loc.c:
        Exclude
      a7139dd2
  9. 16 Jun, 2004 1 commit
    • unknown's avatar
      row0ins.c: · cf595632
      unknown authored
        Return the code of row_ins_foreign_check_on_constraint() as close to 4.0 as possible, except that we use mem_strdup() to allocate the memory for the modified table name
      
      
      innobase/row/row0ins.c:
        Return the code of row_ins_foreign_check_on_constraint() as close to 4.0 as possible, except that we use mem_strdup() to allocate the memory for the modified table name
      cf595632
  10. 15 Jun, 2004 1 commit
    • unknown's avatar
      InnoDB: fix bug in call to innobase_invalidate_query_cache(), · 56392008
      unknown authored
        introduced in ChangeSet@1.1843.1.25
      InnoDB: fix bug in the error exit of
        fil_create_new_single_table_tablespace(), introduced in
        ChangeSet@1.1843.1.11
      
      
      innobase/row/row0ins.c:
        row_ins_foreign_check_on_constraint():
         the string passed to innobase_invalidate_query_cache() was truncated;
         now it is passed correctly again
      innobase/fil/fil0fil.c:
        fil_create_new_single_table_tablespace():
         delete the file if fil_space_create() fails
      56392008
  11. 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
  12. 11 May, 2004 1 commit
  13. 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
  14. 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
  15. 13 Mar, 2004 1 commit
    • unknown's avatar
      InnoDB: Replace ut_a(0) with ut_error · 1f7f2662
      unknown authored
      innobase/btr/btr0btr.c:
        Replace ut_a(0) with ut_error
      innobase/buf/buf0flu.c:
        Replace ut_a(0) with ut_error
      innobase/buf/buf0lru.c:
        Replace ut_a(0) with ut_error
      innobase/data/data0data.c:
        Replace ut_a(0) with ut_error
      innobase/dict/dict0crea.c:
        Replace ut_a(0) with ut_error
      innobase/dict/dict0dict.c:
        Replace ut_a(0) with ut_error
      innobase/dict/dict0load.c:
        Replace ut_a(0) with ut_error
      innobase/fil/fil0fil.c:
        Replace ut_a(0) with ut_error
      innobase/fsp/fsp0fsp.c:
        Replace ut_a(0) with ut_error
      innobase/ibuf/ibuf0ibuf.c:
        Replace ut_a(0) with ut_error
      innobase/include/buf0buf.ic:
        Replace ut_a(0) with ut_error
      innobase/include/data0type.ic:
        Replace ut_a(0) with ut_error
      innobase/include/mtr0log.ic:
        Replace ut_a(0) with ut_error
      innobase/include/trx0rseg.ic:
        Replace ut_a(0) with ut_error
      innobase/lock/lock0lock.c:
        Replace ut_a(0) with ut_error
      innobase/log/log0log.c:
        Replace ut_a(0) with ut_error
      innobase/log/log0recv.c:
        Replace ut_a(0) with ut_error
      innobase/mem/mem0pool.c:
        Replace ut_a(0) with ut_error
      innobase/mtr/mtr0log.c:
        Replace ut_a(0) with ut_error
      innobase/os/os0file.c:
        Replace ut_a(0) with ut_error
      innobase/page/page0cur.c:
        Replace ut_a(0) with ut_error
      innobase/page/page0page.c:
        Replace ut_a(0) with ut_error
      innobase/pars/lexyy.c:
        Replace ut_a(0) with ut_error
      innobase/que/que0que.c:
        Replace ut_a(0) with ut_error
      innobase/rem/rem0cmp.c:
        Replace ut_a(0) with ut_error
      innobase/rem/rem0rec.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0ins.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0mysql.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0purge.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0row.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0sel.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0undo.c:
        Replace ut_a(0) with ut_error
      innobase/srv/srv0srv.c:
        Replace ut_a(0) with ut_error
      innobase/sync/sync0arr.c:
        Replace ut_a(0) with ut_error
      innobase/trx/trx0purge.c:
        Replace ut_a(0) with ut_error
      innobase/trx/trx0trx.c:
        Replace ut_a(0) with ut_error
      innobase/trx/trx0undo.c:
        Replace ut_a(0) with ut_error
      1f7f2662
  16. 12 Mar, 2004 1 commit
  17. 11 Mar, 2004 1 commit
    • unknown's avatar
      More consistent handling of magic numbers · edc17c00
      unknown authored
      innobase/include/data0data.h:
        dtuple_struct:magic_n: Enclose in #ifdef UNIV_DEBUG
      innobase/dict/dict0dict.c:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/dict/dict0mem.c:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/ha/hash0hash.c:
        Remove unused functions hash_mutex_enter_all and hash_mutex_exit_all
        Use magic_n only #ifdef UNIV_DEBUG
        Add ut_ad(table->magic_n == HASH_TABLE_MAGIC_N)
      innobase/include/dict0mem.h:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/include/hash0hash.h:
        Remove unused functions hash_mutex_enter_all and hash_mutex_exit_all
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/include/hash0hash.ic:
        Add ut_ad(table->magic_n == HASH_TABLE_MAGIC_N)
      innobase/include/mtr0mtr.h:
        Use state, magic_n only #ifdef UNIV_DEBUG
      innobase/include/row0ins.h:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/include/row0upd.h:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/row/row0ins.c:
        Use magic_n only #ifdef UNIV_DEBUG
        Add ut_ad(node->magic_n == INS_NODE_MAGIC_N)
      innobase/row/row0upd.c:
        Use magic_n only #ifdef UNIV_DEBUG
        Add ut_ad(node->magic_n == UPD_NODE_MAGIC_N)
      innobase/thr/thr0loc.c:
        Use magic_n only #ifdef UNIV_DEBUG
      edc17c00
  18. 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
  19. 14 Jan, 2004 1 commit
    • unknown's avatar
      row0ins.c: · d7c2c8f1
      unknown authored
        Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
      
      
      innobase/row/row0ins.c:
        Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
      d7c2c8f1
  20. 12 Dec, 2003 1 commit
    • unknown's avatar
      Many files: · fb9467a7
      unknown authored
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      
      
      innobase/row/row0ins.c:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/row/row0sel.c:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/row/row0upd.c:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/row/row0vers.c:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/btr/btr0cur.c:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/include/btr0cur.h:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/include/row0upd.h:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/include/sync0sync.ic:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      innobase/lock/lock0lock.c:
        Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
      fb9467a7
  21. 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
  22. 18 Jun, 2003 1 commit
    • unknown's avatar
      row0sel.c, row0ins.c: · fb94c581
      unknown authored
        Fix error in previous push
      
      
      innobase/row/row0ins.c:
        Fix error in previous push
      innobase/row/row0sel.c:
        Fix error in previous push
      fb94c581
  23. 17 Jun, 2003 1 commit
    • unknown's avatar
      row0vers.c, row0sel.c, row0ins.c: · 1efc292b
      unknown authored
        Fix bug: InnoDB could print that it cannot find a clustered index record if an update undo, purge, and a consistent read coincided, in rare cases it might also have returned a wrong row in a query
      
      
      innobase/row/row0ins.c:
        Fix bug: InnoDB could print that it cannot find a clustered index record if an update undo, purge, and a consistent read coincided, in rare cases it might also have returned a wrong row in a query
      innobase/row/row0sel.c:
        Fix bug: InnoDB could print that it cannot find a clustered index record if an update undo, purge, and a consistent read coincided, in rare cases it might also have returned a wrong row in a query
      innobase/row/row0vers.c:
        Fix bug: InnoDB could print that it cannot find a clustered index record if an update undo, purge, and a consistent read coincided, in rare cases it might also have returned a wrong row in a query
      1efc292b
  24. 14 Jun, 2003 1 commit
    • unknown's avatar
      Many files: · 8fe7e029
      unknown authored
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      
      
      sql/ha_innodb.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/handler.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/sql_lex.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/handler.cc:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/sql_parse.cc:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/sql_yacc.yy:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      include/my_base.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      mysql-test/t/innodb.test:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      mysql-test/r/innodb.result:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/btr/btr0cur.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/btr/btr0pcur.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/buf/buf0buf.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/buf/buf0flu.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/data/data0data.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/data/data0type.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0boot.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0crea.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0load.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0mem.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/fil/fil0fil.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ha/ha0ha.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/btr0cur.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/buf0buf.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/data0data.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/data0type.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/db0err.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/dict0dict.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/dict0mem.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/fil0fil.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/lock0lock.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/os0file.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/page0page.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/rem0cmp.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0row.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0sel.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0upd.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/srv0srv.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/data0type.ic:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0roll.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0trx.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0types.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/ut0dbg.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/ut0mem.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0mysql.ic:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0sys.ic:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/lock/lock0lock.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/log/log0log.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/log/log0recv.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/mem/mem0pool.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/os/os0file.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/os/os0thread.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/page/page0cur.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/page/page0page.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/pars/pars0opt.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/pars/pars0pars.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/rem/rem0cmp.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0row.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0umod.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0vers.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0rec.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0roll.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0sys.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0trx.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ut/ut0mem.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ut/ut0ut.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      8fe7e029
  25. 21 May, 2003 1 commit
    • unknown's avatar
      row0ins.c: · eb4755c9
      unknown authored
        Disable UNIQU KEY error reporting in SHOW INNODB STATUS until we know if it slows down REPLACE significantly
      
      
      innobase/row/row0ins.c:
        Disable UNIQU KEY error reporting in SHOW INNODB STATUS until we know if it slows down REPLACE significantly
      eb4755c9
  26. 04 May, 2003 1 commit
    • unknown's avatar
      row0ins.c, dict0dict.c, dict0dict.h, srv0srv.c: · de4bf8b9
      unknown authored
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      
      
      innobase/srv/srv0srv.c:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      innobase/include/dict0dict.h:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      innobase/dict/dict0dict.c:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      innobase/row/row0ins.c:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      de4bf8b9
  27. 16 Apr, 2003 3 commits
    • unknown's avatar
      row0ins.c: · 7214d07b
      unknown authored
        Better fix for the ON DELETE SET NULL problem
      
      
      innobase/row/row0ins.c:
        Better fix for the ON DELETE SET NULL problem
      7214d07b
    • unknown's avatar
      row0ins.c: · 31d0d6e5
      unknown authored
        Fix bug: we did not allow ON DELETE SET NULL to modify the same table where the delete was made; we can allow it because that cannot produce infinite loops cascaded operations
      
      
      innobase/row/row0ins.c:
        Fix bug: we did not allow ON DELETE SET NULL to modify the same table where the delete was made; we can allow it because that cannot produce infinite loops cascaded operations
      31d0d6e5
    • unknown's avatar
      Many files: · 33ac4727
      unknown authored
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      
      
      innobase/buf/buf0flu.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/dict/dict0crea.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/dict/dict0load.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/include/db0err.h:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/include/dict0dict.h:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/include/row0ins.h:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/lock/lock0lock.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/os/os0file.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      innobase/ut/ut0ut.c:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
      33ac4727
  28. 21 Dec, 2002 1 commit
    • unknown's avatar
      Many files: · b69d8f4a
      unknown authored
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      sql_select.cc:
        Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
      
      
      sql/sql_select.cc:
        Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
      innobase/btr/btr0sea.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/buf0buf.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/db0err.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/dict0mem.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/mem0mem.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/row0mysql.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/row0upd.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/mem0mem.ic:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/mem/mem0pool.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/ut/ut0ut.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      b69d8f4a
  29. 05 Nov, 2002 1 commit
    • unknown's avatar
      Many files: · 444d8207
      unknown authored
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      
      
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/dict/dict0crea.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/log0recv.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/row0mysql.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/srv0srv.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/trx0trx.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/log/log0recv.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/os/os0sync.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/os/os0thread.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0purge.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0undo.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/trx/trx0roll.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/trx/trx0trx.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      444d8207
  30. 29 Oct, 2002 1 commit
    • unknown's avatar
      Many files: · 3cb98f0d
      unknown authored
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      mysqld.cc:
        Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
      
      
      sql/mysqld.cc:
        Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      sql/ha_innodb.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/buf0buf.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/dict0dict.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/fil0fil.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/lock0lock.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/os0file.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/os0proc.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/os0thread.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/page0cur.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/page0page.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/read0read.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/rem0rec.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/srv0srv.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/sync0rw.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/sync0sync.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/trx0purge.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/trx0trx.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/rem0rec.ic:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/btr/btr0btr.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/btr/btr0cur.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/btr/btr0pcur.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/buf/buf0buf.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/buf/buf0flu.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/fil/fil0fil.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/lock/lock0lock.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/mem/mem0dbg.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/os/os0file.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/os/os0proc.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/page/page0cur.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/page/page0page.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/pars/lexyy.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/pars/pars0grm.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/read/read0read.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0purge.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0uins.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0undo.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/sync/sync0rw.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/sync/sync0sync.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/trx/trx0purge.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/trx/trx0trx.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      3cb98f0d
  31. 21 Sep, 2002 1 commit
    • unknown's avatar
      row0ins.c, ha_innodb.cc: · 3b7333b4
      unknown authored
        Table hash key len in query cache also includes null char at end
      
      
      sql/ha_innodb.cc:
        Table hash key len in query cache also includes null char at end
      innobase/row/row0ins.c:
        Table hash key len in query cache also includes null char at end
      3b7333b4
  32. 20 Sep, 2002 1 commit
    • unknown's avatar
      Many files: · b8cfcf76
      unknown authored
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      os0file.c:
        Use unbuffered i/o in Windows
      
      
      innobase/dict/dict0mem.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/os/os0file.c:
        Use unbuffered i/o in Windows
      innobase/lock/lock0lock.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/row/row0ins.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/row/row0mysql.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/row/row0sel.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/srv/srv0srv.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      sql/ha_innodb.h:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      sql/ha_innodb.cc:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      b8cfcf76
  33. 21 Jul, 2002 2 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
      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
  34. 30 Jun, 2002 1 commit
    • unknown's avatar
      row0ins.c: · ea13cafb
      unknown authored
        The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout
      btr0cur.c:
        Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515
      
      
      innobase/btr/btr0cur.c:
        Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515
      innobase/row/row0ins.c:
        The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout
      ea13cafb
  35. 22 Jun, 2002 1 commit
    • unknown's avatar
      Many files: · 1081513a
      unknown authored
        Merge 3.23.52
      
      
      innobase/btr/btr0btr.c:
        Merge 3.23.52
      innobase/btr/btr0cur.c:
        Merge 3.23.52
      innobase/btr/btr0sea.c:
        Merge 3.23.52
      innobase/include/btr0btr.h:
        Merge 3.23.52
      innobase/include/btr0cur.h:
        Merge 3.23.52
      innobase/include/btr0sea.h:
        Merge 3.23.52
      innobase/include/buf0buf.h:
        Merge 3.23.52
      innobase/include/buf0rea.h:
        Merge 3.23.52
      innobase/include/data0data.h:
        Merge 3.23.52
      innobase/include/data0data.ic:
        Merge 3.23.52
      innobase/include/log0log.h:
        Merge 3.23.52
      innobase/include/log0log.ic:
        Merge 3.23.52
      innobase/include/os0file.h:
        Merge 3.23.52
      innobase/include/page0page.h:
        Merge 3.23.52
      innobase/include/page0page.ic:
        Merge 3.23.52
      innobase/include/row0mysql.h:
        Merge 3.23.52
      innobase/include/trx0roll.h:
        Merge 3.23.52
      innobase/include/trx0sys.h:
        Merge 3.23.52
      innobase/include/trx0trx.h:
        Merge 3.23.52
      innobase/include/ut0ut.h:
        Merge 3.23.52
      innobase/include/univ.i:
        Merge 3.23.52
      innobase/include/ut0ut.ic:
        Merge 3.23.52
      innobase/buf/buf0buf.c:
        Merge 3.23.52
      innobase/buf/buf0rea.c:
        Merge 3.23.52
      innobase/data/data0data.c:
        Merge 3.23.52
      innobase/dict/dict0crea.c:
        Merge 3.23.52
      innobase/dict/dict0dict.c:
        Merge 3.23.52
      innobase/dict/dict0load.c:
        Merge 3.23.52
      innobase/dict/dict0mem.c:
        Merge 3.23.52
      innobase/fsp/fsp0fsp.c:
        Merge 3.23.52
      innobase/ibuf/ibuf0ibuf.c:
        Merge 3.23.52
      innobase/lock/lock0lock.c:
        Merge 3.23.52
      innobase/log/log0log.c:
        Merge 3.23.52
      innobase/log/log0recv.c:
        Merge 3.23.52
      innobase/mtr/mtr0log.c:
        Merge 3.23.52
      innobase/mtr/mtr0mtr.c:
        Merge 3.23.52
      innobase/os/os0file.c:
        Merge 3.23.52
      innobase/page/page0cur.c:
        Merge 3.23.52
      innobase/page/page0page.c:
        Merge 3.23.52
      innobase/rem/rem0cmp.c:
        Merge 3.23.52
      innobase/row/row0ins.c:
        Merge 3.23.52
      innobase/row/row0mysql.c:
        Merge 3.23.52
      innobase/row/row0purge.c:
        Merge 3.23.52
      innobase/row/row0upd.c:
        Merge 3.23.52
      innobase/srv/srv0srv.c:
        Merge 3.23.52
      innobase/srv/srv0start.c:
        Merge 3.23.52
      innobase/trx/trx0roll.c:
        Merge 3.23.52
      innobase/trx/trx0sys.c:
        Merge 3.23.52
      innobase/trx/trx0trx.c:
        Merge 3.23.52
      innobase/trx/trx0undo.c:
        Merge 3.23.52
      innobase/ut/ut0mem.c:
        Merge 3.23.52
      innobase/ut/ut0ut.c:
        Merge 3.23.52
      1081513a