An error occurred fetching the project authors.
  1. 21 Oct, 2004 1 commit
    • unknown's avatar
      row0mysql.c, row0ins.c: · a05d9b79
      unknown authored
        Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
      
      
      innobase/row/row0ins.c:
        Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
      innobase/row/row0mysql.c:
        Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
      a05d9b79
  2. 04 Oct, 2004 1 commit
  3. 08 Sep, 2004 1 commit
    • unknown's avatar
      InnoDB: Update links to the user manual · 37edeaa7
      unknown authored
      innobase/btr/btr0btr.c:
        Update links to the user manual
      innobase/buf/buf0buf.c:
        Update links to the user manual
      innobase/dict/dict0dict.c:
        Update links to the user manual
      innobase/fsp/fsp0fsp.c:
        Update links to the user manual
      innobase/log/log0log.c:
        Update links to the user manual
      innobase/log/log0recv.c:
        Update links to the user manual
      innobase/os/os0file.c:
        Update links to the user manual
      innobase/row/row0mysql.c:
        Update links to the user manual
      innobase/ut/ut0dbg.c:
        Update links to the user manual
      37edeaa7
  4. 13 Aug, 2004 1 commit
    • unknown's avatar
      row0mysql.c: · 09182527
      unknown authored
        Fix bug: if we RENAME a table, InnoDB forgot to load the foreign key constraints that reference the new table name, and forgot to check that they are compatible with the table
      
      
      innobase/row/row0mysql.c:
        Fix bug: if we RENAME a table, InnoDB forgot to load the foreign key constraints that reference the new table name, and forgot to check that they are compatible with the table
      09182527
  5. 12 Jul, 2004 2 commits
    • unknown's avatar
      InnoDB: LOCK TABLE clean-up · 922fbbab
      unknown authored
      innobase/include/lock0lock.h:
        Improve comments regarding LOCK_TABLE_EXP
      innobase/include/row0mysql.h:
        Rename row_unlock_table_for_mysql() to row_unlock_tables_for_mysql()
        and improve its comment
      innobase/include/trx0trx.h:
        Rename n_tables_locked to n_lock_table_exp
      innobase/lock/lock0lock.c:
        Rename n_tables_locked to n_lock_table_exp
        Increment n_lock_table_exp already in lock_table_create()
        Replace some ut_ad() assertions with ut_a()
      innobase/row/row0mysql.c:
        Rename n_tables_locked to n_lock_table_exp
        Rename row_unlock_table_for_mysql() to row_unlock_tables_for_mysql()
        and improve its comment
      innobase/trx/trx0trx.c:
        Rename n_tables_locked to n_lock_table_exp
      sql/ha_innodb.cc:
        Rename n_tables_locked to n_lock_table_exp
        Rename row_unlock_table_for_mysql() to row_unlock_tables_for_mysql()
      922fbbab
    • unknown's avatar
      InnoDB: Increment the lock wait watchdog timeout during CHECK TABLE · 994c762f
      unknown authored
      (Bug #2694)
      
      
      innobase/include/srv0srv.h:
        Add srv_fatal_semaphore_wait_threshold
      innobase/include/sync0arr.h:
        Improve comment of sync_array_print_long_waits()
      innobase/row/row0mysql.c:
        Lengthen the srv_fatal_semaphore_wait_threshold by 2 hours during
        CHECK TABLE
      innobase/srv/srv0srv.c:
        Add srv_fatal_semaphore_wait_threshold
      innobase/sync/sync0arr.c:
        Improve comment of sync_array_print_long_waits().
        Replace the fixed timeout of 600 seconds with
        srv_fatal_semaphore_wait_threshold.
      994c762f
  6. 15 Jun, 2004 1 commit
  7. 01 Jun, 2004 1 commit
    • unknown's avatar
      row0mysql.c, row0mysql.h, ha_innodb.cc: · 05d13fa9
      unknown authored
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      
      
      sql/ha_innodb.cc:
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      innobase/include/row0mysql.h:
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      innobase/row/row0mysql.c:
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      05d13fa9
  8. 10 May, 2004 1 commit
  9. 07 May, 2004 1 commit
  10. 29 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB: implement LOCK TABLE (Bug #3299) · 57fc5263
      unknown authored
      innobase/include/lock0lock.h:
        Add lock_table_unlock() and lock_release_tables_off_kernel()
        Add LOCK_TABLE_EXP
      innobase/include/row0mysql.h:
        Add row_unlock_table_for_mysql() and row_lock_table_for_mysql()
      innobase/include/trx0trx.h:
        Add n_tables_locked
      innobase/lock/lock0lock.c:
        Add LOCK_TABLE_EXP for explicit LOCK TABLE commands
        Add lock_table_unlock()
        Add lock_release_tables_off_kernel()
      innobase/row/row0mysql.c:
        Add row_unlock_table_for_mysql() and row_lock_table_for_mysql()
      innobase/trx/trx0trx.c:
        Add n_tables_locked
      mysql-test/r/innodb.result:
        Updated handling of auto_inc columns
      sql/ha_innodb.cc:
        Call row_lock_table_for_mysql() and row_unlock_table_for_mysql()
      57fc5263
  11. 06 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB: send diagnostic output to stderr or files · 08ebb924
      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
      08ebb924
  12. 02 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB: ignore intra-database foreign key references between tables · a6d2408b
      unknown authored
      when dropping database (Bug #3058)
      
      
      innobase/dict/dict0crea.c:
        Add a parameter to row_drop_table_for_mysql()
      innobase/dict/dict0dict.c:
        Make dict_tables_have_same_db() a global function
      innobase/include/dict0dict.h:
        Make dict_tables_have_same_db() a global function
      innobase/include/row0mysql.h:
        Add a parameter to row_drop_table_for_mysql()
      innobase/row/row0mysql.c:
        Add a parameter "drop_db" to row_drop_table_for_mysql()
        to skip foreign constraint checks on tables in same database
      innobase/trx/trx0roll.c:
        Add a parameter to row_drop_table_for_mysql()
      sql/ha_innodb.cc:
        Add a parameter "drop_db" to row_drop_table_for_mysql()
        innobase_drop_database(): allocate namebuf dynamically
      a6d2408b
  13. 01 Apr, 2004 1 commit
    • unknown's avatar
      InnoDB cleanup: fixing buffer overflows and quoting of quotes · b75ef697
      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()
      b75ef697
  14. 31 Mar, 2004 1 commit
    • unknown's avatar
      InnoDB: Remove ut_str_contains() and replace it with strchr() · 1ec7ead4
      unknown authored
      innobase/dict/dict0dict.c:
        Replace ut_str_contains() with strchr()
      innobase/include/ut0mem.h:
        Remove ut_str_contains(), a reinvented strchr()
      innobase/row/row0mysql.c:
        Replace ut_str_contains() with strchr()
      innobase/ut/ut0mem.c:
        Remove ut_str_contains(), a reinvented strchr()
      1ec7ead4
  15. 13 Mar, 2004 1 commit
    • unknown's avatar
      InnoDB: Replace ut_a(0) with ut_error · 80a5f391
      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
      80a5f391
  16. 12 Mar, 2004 1 commit
  17. 11 Mar, 2004 1 commit
    • unknown's avatar
      Remove unneeded module "com" · 661b90dd
      unknown authored
      BitKeeper/deleted/.del-Makefile.am~2b013aa835a140c4:
        Delete: innobase/com/Makefile.am
      BitKeeper/deleted/.del-com0com.c~473a1f0f440ce91b:
        Delete: innobase/com/com0com.c
      BitKeeper/deleted/.del-com0shm.c~6a16f0c3d81de1f:
        Delete: innobase/com/com0shm.c
      BitKeeper/deleted/.del-makefilewin~3e26f0df100887f2:
        Delete: innobase/com/makefilewin
      BitKeeper/deleted/.del-com0com.h~533a7eaa16ec585a:
        Delete: innobase/include/com0com.h
      BitKeeper/deleted/.del-com0com.ic~671e309916e285b:
        Delete: innobase/include/com0com.ic
      BitKeeper/deleted/.del-com0shm.h~5f3df7c04221b0fe:
        Delete: innobase/include/com0shm.h
      BitKeeper/deleted/.del-com0shm.ic~f827cfca1603fa6b:
        Delete: innobase/include/com0shm.ic
      innobase/configure.in:
        Remove com/Makefile
      innobase/include/Makefile.am:
        Remove com*.h
      innobase/include/usr0sess.h:
        Remove unused communication functions
      innobase/include/usr0sess.ic:
        Remove unused communication functions
      innobase/include/usr0types.h:
        Remove sess_sys_t and sess_sig_t
      innobase/usr/usr0sess.c:
        Remove unused functions
      innobase/dict/dict0crea.c:
        Remove unneeded params of que_fork_start_command()
      innobase/include/que0que.h:
        Remove unneeded params of que_fork_start_command()
      innobase/row/row0mysql.c:
        Remove unneeded params of que_fork_start_command()
      innobase/include/srv0srv.h:
        Remove references to the com module
      innobase/srv/srv0srv.c:
        Remove references to the com module
        Remove unused vars srv_n_{com,worker}_threads
        Make some global vars static
      innobase/que/que0que.c:
        Remove references to odbc
        Add #ifdef UNIV_SYNC_DEBUG around some ut_ad()
        Remove unneeded params of que_fork_start_command()
        Remove unreachable code
        Output diagnostics to stderr, not stdout
      innobase/include/trx0trx.h:
        Remove unneeded params of trx_sig_send() and trx_sig_reply()
      innobase/trx/trx0trx.c:
        Remove unneeded params of trx_sig_send() and trx_sig_reply()
        Remove params of sess_open()
      innobase/srv/srv0start.c:
        Remove reference to com0com.h
        Remove call to sess_sys_init_at_db_start()
      innobase/trx/trx0purge.c:
        Remove references to the com module
        Remove params of sess_open()
        Remove unneeded params of que_fork_start_command()
      innobase/trx/trx0roll.c:
        Remove params of sess_open()
        Remove unneeded params of que_fork_start_command()
        Remove unneeded params of trx_sig_send() and trx_sig_reply()
      661b90dd
  18. 20 Feb, 2004 1 commit
    • unknown's avatar
      Many files: · 04a7c9eb
      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
      04a7c9eb
  19. 09 Feb, 2004 2 commits
    • unknown's avatar
      row0mysql.c: · 2b02c1cc
      unknown authored
        Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table
      Many files:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      
      
      sql/ha_innodb.cc:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      sql/sql_insert.cc:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      sql/ha_innodb.h:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      sql/handler.h:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      innobase/dict/dict0dict.c:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      innobase/include/dict0dict.h:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      innobase/row/row0mysql.c:
        Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table
      2b02c1cc
    • unknown's avatar
      row0mysql.c: · 37d014f4
      unknown authored
        Fix crash in InnoDB RENAME TABLE if 'databasename/tablename' is shorter than 5 characters (Bug #2689); reported by Sergey Petrunia
      
      
      innobase/row/row0mysql.c:
        Fix crash in InnoDB RENAME TABLE if 'databasename/tablename' is shorter than 5 characters (Bug #2689); reported by Sergey Petrunia
      37d014f4
  20. 08 Feb, 2004 1 commit
    • unknown's avatar
      Many files: · a3488235
      unknown authored
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      sync0sync.c:
        UNIV_SYNC_DEBUG caused assertion in the creation of the doublewrite buffer, if we do not allow thousands of latches per thread
      
      
      innobase/dict/dict0crea.c:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      innobase/dict/dict0dict.c:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      innobase/include/dict0crea.h:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      innobase/include/dict0dict.h:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      innobase/include/ut0mem.h:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      innobase/row/row0mysql.c:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      innobase/sync/sync0sync.c:
        UNIV_SYNC_DEBUG caused assertion in the creation of the doublewrite buffer, if we do not allow thousands of latches per thread
      innobase/ut/ut0mem.c:
        Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication
      a3488235
  21. 01 Feb, 2004 1 commit
    • unknown's avatar
      dict0dict.c: · 1ec4c124
      unknown authored
        Remove redundant code; parse both the database name and the table name in a FOREIGN KEY constraint with quotes in mind
      row0mysql.c, ha_innodb.cc, sql_table.cc:
        Return error message Cannot delete or update a parent row... if we try to drop a table which is referenced by a FOREIGN KEY constraint, and the user has not set foreign_key_checks=0
      
      
      sql/sql_table.cc:
        Return error message Cannot delete or update a parent row... if we try to drop a table which is referenced by a FOREIGN KEY constraint, and the user has not set foreign_key_checks=0
      sql/ha_innodb.cc:
        Return error message Cannot delete or update a parent row... if we try to drop a table which is referenced by a FOREIGN KEY constraint, and the user has not set foreign_key_checks=0
      innobase/row/row0mysql.c:
        Return error message Cannot delete or update a parent row... if we try to drop a table which is referenced by a FOREIGN KEY constraint, and the user has not set foreign_key_checks=0
      innobase/dict/dict0dict.c:
        Remove redundant code; parse both the database name and the table name in a FOREIGN KEY constraint with quotes in mind
      1ec4c124
  22. 06 Oct, 2003 2 commits
    • unknown's avatar
      row0mysql.c: · 44adffaa
      unknown authored
        Remove unintentional changes in previous push
      
      
      innobase/row/row0mysql.c:
        Remove unintentional changes in previous push
      44adffaa
    • unknown's avatar
      row0mysql.c: · 180ee6e6
      unknown authored
        Fix bug: if one used the rename trick of ibman section 15.1 to recover a temp table, InnoDB asserted because it tried to lock the data dictionary twice
      
      
      innobase/row/row0mysql.c:
        Fix bug: if one used the rename trick of ibman section 15.1 to recover a temp table, InnoDB asserted because it tried to lock the data dictionary twice
      180ee6e6
  23. 06 Jul, 2003 1 commit
    • unknown's avatar
      row0mysql.c: · b1b806af
      unknown authored
        Fix performance bug: if there were thousands of tables, DROP TABLE could take as much as a second CPU time
      
      
      innobase/row/row0mysql.c:
        Fix performance bug: if there were thousands of tables, DROP TABLE could take as much as a second CPU time
      b1b806af
  24. 03 Jul, 2003 1 commit
    • unknown's avatar
      Many files: · 17348394
      unknown authored
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      os0sync.h, os0sync.c:
        Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
      
      
      innobase/os/os0sync.c:
        Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
      innobase/include/os0sync.h:
        Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
      innobase/log/log0log.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/include/log0log.h:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/srv/srv0srv.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/row/row0mysql.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/trx/trx0trx.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      sql/ha_innodb.cc:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/btr/btr0btr.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      17348394
  25. 15 Jun, 2003 1 commit
    • unknown's avatar
      row0mysql.c, dict0dict.ic: · 7ee4c918
      unknown authored
        Cleanup
      ha_innodb.cc, data0type.h:
        Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
      
      
      innobase/include/data0type.h:
        Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
      sql/ha_innodb.cc:
        Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
      innobase/include/dict0dict.ic:
        Cleanup
      innobase/row/row0mysql.c:
        Cleanup
      7ee4c918
  26. 14 Jun, 2003 1 commit
    • unknown's avatar
      Many files: · 97fe74ac
      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
      97fe74ac
  27. 02 May, 2003 1 commit
    • unknown's avatar
      Many files: · fa90ccb6
      unknown authored
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      
      
      sql/log.cc:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      sql/handler.cc:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      sql/handler.h:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      sql/ha_innodb.cc:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      sql/ha_innodb.h:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/include/log0log.h:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/include/trx0trx.h:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/os/os0file.c:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/buf/buf0flu.c:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/trx/trx0trx.c:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/log/log0log.c:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/srv/srv0srv.c:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      innobase/row/row0mysql.c:
        Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
      fa90ccb6
  28. 22 Apr, 2003 1 commit
    • unknown's avatar
      row0mysql.c: · 9f448ece
      unknown authored
        Give sensible advice to the user if InnoDB notices index corruption
      
      
      innobase/row/row0mysql.c:
        Give sensible advice to the user if InnoDB notices index corruption
      9f448ece
  29. 16 Apr, 2003 2 commits
    • unknown's avatar
      ha_innodb.cc, row0sel.c, row0mysql.c, row0mysql.h: · 99cea2be
      unknown authored
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      
      
      innobase/include/row0mysql.h:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      innobase/row/row0mysql.c:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      innobase/row/row0sel.c:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      sql/ha_innodb.cc:
        Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
      99cea2be
    • unknown's avatar
      Many files: · 84278711
      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
      84278711
  30. 16 Mar, 2003 1 commit
    • unknown's avatar
      row0mysql.c: · 73ebe159
      unknown authored
        Test if merging from 3.23 to 4.0 succeeds
      
      
      innobase/row/row0mysql.c:
        Test if merging from 3.23 to 4.0 succeeds
      73ebe159
  31. 21 Dec, 2002 1 commit
    • unknown's avatar
      Many files: · c20b11f9
      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
      c20b11f9
  32. 05 Dec, 2002 2 commits
    • unknown's avatar
      row0mysql.c: · db3c4d22
      unknown authored
        Heikki will merge to 4.0: cleanup
      
      
      innobase/row/row0mysql.c:
        Heikki will merge to 4.0: cleanup
      db3c4d22
    • unknown's avatar
      row0mysql.c, dict0dict.c, db0err.h, ha_innobase.cc: · e1d8800c
      unknown authored
        Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
      
      
      sql/ha_innobase.cc:
        Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
      innobase/include/db0err.h:
        Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
      innobase/dict/dict0dict.c:
        Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
      innobase/row/row0mysql.c:
        Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
      e1d8800c
  33. 19 Nov, 2002 2 commits
    • unknown's avatar
      row0mysql.c, row0mysql.h: · 47476aec
      unknown authored
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      
      
      innobase/include/row0mysql.h:
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      innobase/row/row0mysql.c:
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      47476aec
    • unknown's avatar
      row0mysql.c, row0mysql.h, ha_innodb.cc, sql_table.cc, handler.h: · 1f3c20d3
      unknown authored
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      
      
      sql/handler.h:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      sql/sql_table.cc:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      sql/ha_innodb.cc:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      innobase/include/row0mysql.h:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      innobase/row/row0mysql.c:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      1f3c20d3
  34. 07 Nov, 2002 1 commit
    • unknown's avatar
      row0mysql.c: · 8d8387ee
      unknown authored
        Backport from 4.0: Fix corruption of ON DELETE CASCADE in lock wait timeout
      
      
      innobase/row/row0mysql.c:
        Backport from 4.0: Fix corruption of ON DELETE CASCADE in lock wait timeout
      8d8387ee