1. 18 Jan, 2006 1 commit
    • osku's avatar
      Port r139 from branches/5.0: · 8c66ed2c
      osku authored
      From MySQL:
      
      Fix bug #15108 (mysqld crashes when innodb_log_file_size is set > 4GB).
      8c66ed2c
  2. 17 Jan, 2006 3 commits
  3. 12 Jan, 2006 5 commits
    • marko's avatar
      Port r132 from branches/5.0: Port r15 from innodb-4.1: · 0695353e
      marko authored
      Do not mistake TABLENAME_ibfk_0 for auto-generated id (Bug #16387).
      
      dict_table_get_highest_foreign_id(): Ignore foreign constraint identifiers
      starting with the pattern TABLENAME_ibfk_0.
      
      innodb.test, innodb.result: Add test case.
      0695353e
    • osku's avatar
      Forward port r123 from branches/5.0: · 86e48ce5
      osku authored
      Replace goto in os_event_wait with a normal loop.
      86e48ce5
    • jan's avatar
      Forward port r127 from branches/5.0: · 1cae2808
      jan authored
      Fixed a bug #16229 MySQL/InnoDB uses full explicit table locks 
      in trigger processing. Take a InnoDB table lock only if user has explicitly
      requested a table lock. Added some additional comments to store_lock() and 
      external_lock(). Added test cases for a bug. Fixed some code style errors.
      1cae2808
    • jan's avatar
      Forward port r108 from from branches/5.0: · 191ae582
      jan authored
      Fixed bug #15308: Problem of Order with Enum Column in 
      Primary Key. Added a new test case for bug #14056.
      191ae582
    • jan's avatar
      Forward port r120 from branches/5.0: · f9425367
      jan authored
      Added diagnostic code trx_print() to 
      innobase_query_caching_of_table_permitted() to find reason
      why we are holding adaptive search latch.
      f9425367
  4. 11 Jan, 2006 1 commit
    • marko's avatar
      Port r125 from branches/5.0: · 2ba82679
      marko authored
      dict_load_columns(): Set the charset-collation code
      DATA_MYSQL_BINARY_CHARSET_COLL for those binary string columns
      that lack a charset-collation code, i.e., the tables were created
      with an older version of MySQL/InnoDB than 4.1.2.  (Bug #16298)
      2ba82679
  5. 10 Jan, 2006 1 commit
  6. 05 Jan, 2006 1 commit
    • marko's avatar
      Port r118 from branches/5.0: · dd42a65a
      marko authored
      Remove some declarations of unused global variables and member variables
      of class ha_innobase.
      dd42a65a
  7. 04 Jan, 2006 1 commit
  8. 03 Jan, 2006 2 commits
    • marko's avatar
      Port r114 from branches/5.0: · 33bc8a79
      marko authored
      lock_rec_unlock(): Initialize local variable release_lock, in order to avoid
      dereferencing an uninitialized pointer when no lock exists on rec.
      
      This bug was introduced in r103 of branches/5.0, ported as r104 to trunk.
      33bc8a79
    • marko's avatar
      Merge r112 from branches/5.0: · 7515828b
      marko authored
      os_file_handle_error(): Map the error codes EXDEV, ENOTDIR, and EISDIR
      to the new code OS_FILE_PATH_ERROR.  Treat this code as OS_FILE_PATH_ERROR.
      This fixes the crash on RENAME TABLE when the .ibd file is a symbolic link
      to a different file system.  (Bug #15991)
      7515828b
  9. 30 Dec, 2005 1 commit
    • marko's avatar
      Port r110 from branches/5.0: · 6162aa39
      marko authored
      Do not log empty binlog file name at transaction commit.
      
      trx_commit_off_kernel(): Do not write empty trx->mysql_log_file_name.
      
      6162aa39
  10. 20 Dec, 2005 2 commits
    • marko's avatar
      Port r106 from branches/5.0: · 8f7f6b3c
      marko authored
      Protect the increment and decrement operations on the statistic variables
      os_n_pending_writes and os_n_pending_reads with os_file_count_mutex.
      8f7f6b3c
    • osku's avatar
      From MySQL: · 2a59184a
      osku authored
      Restore "make dist" for the header files in "innobase/include".
      2a59184a
  11. 16 Dec, 2005 1 commit
    • jan's avatar
      Port r103 from braches/5.0 to trunk. · 78e381b6
      jan authored
      Fixed a bug on unlock_row. In a unlock_row we may unlock
      only the latest lock granted to this transaction to the row.
      78e381b6
  12. 15 Dec, 2005 2 commits
    • osku's avatar
      From MySQL: · 5b2758ca
      osku authored
      Fix for BUG#11704: "Found locks from different thread" warnings:
       The source of warnings was this scenario in OPTIMIZE:
      
           thr1: lock table with TL_WRITE_ONLY (InnoDB converts lock to
           TL_WRITE_ALLOW_WRITE)
      
           thr2: (UPDATE command) obtains a TL_WRITE_ALLOW_WRITE lock
      
           thr1: call mysql_lock_abort(). This function sets type of thr'1 lock
           to TL_WRITE_ONLY
      
           thr2: try to release thr2's lock. See two locks: TL_WRITE_ONLY,
           TL_WRITE_ALLOW_WRITE and produce a warning.
         
      The fix: Make InnoDB not to convert TL_WRITE_ONLY locks to
      TL_WRITE_ALLOW_WRITE in OPTIMIZE TABLE.
      5b2758ca
    • jan's avatar
      Port r100 from branches/5.0 to trunk. · 14876884
      jan authored
      14876884
  13. 14 Dec, 2005 1 commit
    • marko's avatar
      Port r98 from branches/5.0: INCOMPATIBLE CHANGE: · eacc1b5d
      marko authored
      Do not pad VARBINARY or BINARY columns. (Bug #14189)
      
      innodb.test, innodb.result: Add test cases for foreign key constraints
      between VARBINARY and BINARY columns, and between VARCHAR BINARY and
      CHAR BINARY columns.
      
      innobase_init(): Assert that
      DATA_MYSQL_BINARY_CHARSET_COLL == my_charset_bin.number.
      
      dtype_get_pad_char(): Do not pad VARBINARY or BINARY columns.
      
      row_ins_cascade_calc_update_vec(): Refuse ON UPDATE CASCADE
      when trying to change the length of a VARBINARY column
      that refers to or is referenced by a BINARY column.  BINARY
      columns are no longer padded on comparison, and thus they
      cannot be padded on storage either.
      eacc1b5d
  14. 12 Dec, 2005 2 commits
  15. 09 Dec, 2005 2 commits
  16. 08 Dec, 2005 1 commit
    • osku's avatar
      Port r87 from branches/5.0: · 389c33b7
      osku authored
      Work around Bug #12071: Do not call os_file_create_tmpfile() at runtime.
      Instead, create all tempfiles at startup and guard access to them with
      mutexes.
      389c33b7
  17. 02 Dec, 2005 1 commit
  18. 01 Dec, 2005 1 commit
  19. 30 Nov, 2005 3 commits
    • osku's avatar
      From MySQL: · 94cdd5c0
      osku authored
      We new use TABLE_SHARE instead of TABLE when creating engine handlers.
      94cdd5c0
    • osku's avatar
      From MySQL: · 1ed017dd
      osku authored
      innobase_savepoint():
        Replaced check which always failed due to similar check in caller
        with assertion.
      1ed017dd
    • osku's avatar
      From MySQL: · 8f9c53ce
      osku authored
      Fixed compiler error for Win32 build.
      8f9c53ce
  20. 29 Nov, 2005 1 commit
  21. 17 Nov, 2005 1 commit
  22. 16 Nov, 2005 2 commits
    • marko's avatar
      Merge patch to MySQL/InnoDB 5.0: Fix Bug #14747. · 96cccd15
      marko authored
      Note that buf_block_t::index should be protected by btr_search_latch
      or an s-latch or x-latch on the index page.
      btr_search_drop_page_hash_index(): Read block->index while holding
      btr_search_latch and use the cached value in the loop.  Remove some
      redundant assertions.
      96cccd15
    • osku's avatar
      Forward-port r46 from branches/5.0: · 7163d59f
      osku authored
      Mostly fix bug #13778, when FOREIGN_KEY_CHECKS=0 we still need to check
      that datatypes between foreign key references are compatible.
      
      Add test cases (also for bug #9802).
      7163d59f
  23. 07 Nov, 2005 1 commit
  24. 04 Nov, 2005 3 commits