An error occurred fetching the project authors.
  1. 15 Jun, 2011 1 commit
    • Marko Mäkelä's avatar
      Introduce UNIV_BLOB_NULL_DEBUG for temporarily hiding Bug#12650861. · 2a48b142
      Marko Mäkelä authored
      Some ut_a(!rec_offs_any_null_extern()) assertion failures are indicating
      genuine BLOB bugs, others are bogus failures when rolling back incomplete
      transactions at crash recovery. This needs more work, and until I get a
      chance to work on it, other testing must not be disrupted by this.
      2a48b142
  2. 09 Jun, 2011 1 commit
    • Marko Mäkelä's avatar
      BLOB instrumentation for Bug#12612184 Race condition in row_upd_clust_rec() · 6d20340c
      Marko Mäkelä authored
      If UNIV_DEBUG or UNIV_BLOB_LIGHT_DEBUG is enabled, add
      !rec_offs_any_null_extern() assertions, ensuring that records do not
      contain null pointers to externally stored columns in inappropriate
      places.
      
      btr_cur_optimistic_update(): Assert !rec_offs_any_null_extern().
      Incomplete records must never be updated or deleted. This assertion
      will cover also the pessimistic route.
      
      row_build(): Assert !rec_offs_any_null_extern(). Search tuples must
      never be built from incomplete index entries.
      
      row_rec_to_index_entry(): Assert !rec_offs_any_null_extern() unless
      ROW_COPY_DATA is requested. ROW_COPY_DATA is used for
      multi-versioning, and therefore it might be valid to copy the most
      recent (uncommitted) version while it contains a null pointer to
      off-page columns.
      
      row_vers_build_for_consistent_read(),
      row_vers_build_for_semi_consistent_read(): Assert !rec_offs_any_null_extern()
      on all versions except the most recent one.
      
      trx_undo_prev_version_build(): Assert !rec_offs_any_null_extern() on
      the previous version.
      
      rb:682 approved by Sunny Bains
      6d20340c
  3. 25 Jan, 2011 1 commit
  4. 14 Sep, 2010 1 commit
  5. 22 Mar, 2007 1 commit
    • tsmith@siva.hindu.god's avatar
      Apply the following InnoDB snapshots: · baddc4e9
      tsmith@siva.hindu.god authored
      innodb-5.1-ss1318
      innodb-5.1-ss1330
      innodb-5.1-ss1332
      innodb-5.1-ss1340
      
      Fixes:
      - Bug #21409: Incorrect result returned when in READ-COMMITTED with query_cache ON
        At low transaction isolation levels we let each consistent read set
        its own snapshot.
      
      - Bug #23666: strange Innodb_row_lock_time_% values in show status; also millisecs wrong
        On Windows ut_usectime returns secs and usecs relative to the UNIX
        epoch (which is Jan, 1 1970).
      
      - Bug #25494: LATEST DEADLOCK INFORMATION is not always cleared
        lock_deadlock_recursive(): When the search depth or length is exceeded,
        rewind lock_latest_err_file and display the two transactions at the
        point of aborting the search.
      
      - Bug #25927: Foreign key with ON DELETE SET NULL on NOT NULL can crash server
        Prevent ALTER TABLE ... MODIFY ... NOT NULL on columns for which
        there is a foreign key constraint ON ... SET NULL.
      
      - Bug #26835: Repeatable corruption of utf8-enabled tables inside InnoDB
        The bug could be reproduced as follows:
      
        Define a table so that the first column of the clustered index is
        a VARCHAR or a UTF-8 CHAR in a collation where sequences of bytes
        of differing length are considered equivalent.
      
        Insert and delete a record.  Before the delete-marked record is
        purged, insert another record whose first column is of different
        length but equivalent to the first record.  Under certain conditions,
        the insertion can be incorrectly performed as update-in-place.
      
        Likewise, an operation that could be done as update-in-place can
        unnecessarily be performed as delete and insert, but that would not
        cause corruption but merely degraded performance.
      baddc4e9
  6. 21 Sep, 2006 1 commit
  7. 05 Sep, 2006 1 commit
    • tsmith@maint1.mysql.com's avatar
      Applied InnoDB 5.1 snapshot ss787. · c488e4b9
      tsmith@maint1.mysql.com authored
      Bugs fixed:
      - Bug #20791    valgrind errors in InnoDB
        Remove Valgrind warning of Bug #20791 : in new database
        creation, we read the doublewrite buffer magic number from
        uninitialized memory; the code worked because it was extremely
        unlikely that the memory would contain the magic number
      - Bug #21784    DROP TABLE crashes 5.1.12-pre if concurrent
        queries on the table
        remove update_thd() in ::store_lock()
      
      
      Also includes numerous coding style fixes, etc.  See file-level
      comments for details.
      c488e4b9
  8. 14 Aug, 2006 1 commit
    • tsmith@production.mysql.com's avatar
      Applied innodb-5.1-ss677, -ss680, -ss713, and -ss720 snapshots. · df5e20e7
      tsmith@production.mysql.com authored
      All but ss677 are against the mysql-5.1 tree only.
      
      Fixes the following bugs:
      - Bug #19834: Using cursors when running in READ-COMMITTED can cause InnoDB to crash
      - Bug #20213: DBT2 testing cause mysqld to core using Innodb
      - Bug #20493: on partition tables, select and show command casue server crash
      - Bug #21113: Duplicate printout in SHOW INNODB STATUS
      - Bug #21313: rsql_..._recover_innodb_tmp_table is redundant and broken
      - Bug #21467: Manual URL wrong in InnoDB "page corrupted" error report
      df5e20e7
  9. 10 Mar, 2006 1 commit
    • aivanov@mysql.com's avatar
      Applied innodb-5.1-ss269 snapshot. · d33b5232
      aivanov@mysql.com authored
        Fixed BUGS:
        #3300: "UPDATE statement with no index column in where condition locks
          all rows"
          Implement semi-consistent read to reduce lock conflicts at the cost
          of breaking serializability.
          ha_innobase::unlock_row(): reset the "did semi consistent read" flag
          ha_innobase::was_semi_consistent_read(),
          ha_innobase::try_semi_consistent_read(): new methods
          row_prebuilt_t, row_create_prebuilt(): add field row_read_type for
          keeping track of semi-consistent reads
          row_vers_build_for_semi_consistent_read(),
          row_sel_build_committed_vers_for_mysql(): new functions
          row_search_for_mysql(): implement semi-consistent reads
      
        #9802: "Foreign key checks disallow alter table".
          Added test cases.
      
        #12456: "Cursor shows incorrect data - DML does not affect,
          probably caching"
          This patch implements a high-granularity read view to be used with
          cursors. In this high-granularity consistent read view modifications 
          done by the creating transaction after the cursor is created or 
         future transactions are not visible. But those modifications that 
         transaction did before the cursor was created are visible.
      
        #12701: "Support >4GB buffer pool and log files on 64-bit Windows"
          Do not call os_file_create_tmpfile() at runtime. Instead, create all
          tempfiles at startup and guard access to them with mutexes.
      
        #13778: "If FOREIGN_KEY_CHECKS=0, one can create inconsistent FOREIGN KEYs".
          When FOREIGN_KEY_CHECKS=0 we still need to check that datatypes between
          foreign key references are compatible.
      
        #14189: "VARBINARY and BINARY variables: trailing space ignored with InnoDB"
          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.
      
        #14747: "Race condition can cause btr_search_drop_page_hash_index() to crash"
          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.
      
        #15108: "mysqld crashes when innodb_log_file_size is set > 4G"
      
        #15308: "Problem of Order with Enum Column in Primary Key"
      
        #15550: "mysqld crashes in printing a FOREIGN KEY error in InnoDB"
          row_ins_foreign_report_add_err(): When printing the parent record,
          use the index in the parent table rather than the index in the child table.
      
        #15653: "Slow inserts to InnoDB if many thousands of .ibd files"
          Keep track on unflushed modifications to file spaces.  When there are tens
          of thousands of file spaces, flushing all files in fil_flush_file_spaces()
          would be very slow.
          fil_flush_file_spaces(): Only flush unflushed file spaces.
          fil_space_t, fil_system_t: Add a list of unflushed spaces.
      
        #15991: "innodb-file-per-table + symlink database + rename = cr"
         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.
      
        #16157: "InnoDB crashes when main location settings are empty"
          This patch is from Heikki.
      
        #16298: "InnoDB segfaults in INSERTs in upgrade of 4.0 -> 5.0 tables
          with VARCHAR BINARY"
          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.
      
        #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().
      
        #16387: "InnoDB crash when dropping a foreign key <table>_ibfk_0"
          Do not mistake TABLENAME_ibfk_0 for auto-generated id.
          dict_table_get_highest_foreign_id(): Ignore foreign constraint
          identifiers starting with the pattern TABLENAME_ibfk_0.
      
        #16582: "InnoDB: Error in an adaptive hash index pointer to page"
          Account for a race condition when dropping the adaptive hash index
          for a B-tree page.
          btr_search_drop_page_hash_index(): Retry the operation if a hash index
          with different parameters was built meanwhile.  Add diagnostics for the
          case that hash node pointers to the page remain.
          btr_search_info_update_hash(), btr_search_info_update_slow():
          Document the parameter "info" as in/out.
      
        #16814: "SHOW INNODB STATUS format error in LATEST FOREIGN KEY ERROR
          section"
          Add a missing newline to the LAST FOREIGN KEY ERROR section in SHOW
          INNODB STATUS output.
          dict_foreign_error_report(): Always print a newline after invoking
          dict_print_info_on_foreign_key_in_create_format().
      
        #16827: "Better InnoDB error message if ibdata files omitted from my.cnf"
      
        #17126: "CHECK TABLE on InnoDB causes a short hang during check of adaptive
          hash"
          CHECK TABLE blocking other queries, by releasing the btr_search_latch
          periodically during the adaptive hash table validation.
      
        #17405: "Valgrind: conditional jump or move depends on unititialised values"
          buf_block_init(): Reset magic_n, buf_fix_count and io_fix to avoid
          testing uninitialized variables.
      d33b5232
  10. 22 Dec, 2005 1 commit
  11. 27 Apr, 2005 1 commit
  12. 25 Apr, 2005 1 commit
  13. 07 Mar, 2005 1 commit
  14. 09 Dec, 2004 1 commit
  15. 02 Dec, 2004 1 commit
    • marko@hundin.mysql.fi's avatar
      Many files: · dd489539
      marko@hundin.mysql.fi authored
        Implement more compact InnoDB record format.
        Old format is available as CREATE TABLE ... ROW_FORMAT=DYNAMIC.
      dd489539
  16. 12 Mar, 2004 1 commit
  17. 12 Dec, 2003 1 commit
    • heikki@hundin.mysql.fi's avatar
      Many files: · d3d9b727
      heikki@hundin.mysql.fi 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
      d3d9b727
  18. 18 Jun, 2003 3 commits
  19. 17 Jun, 2003 1 commit
    • heikki@hundin.mysql.fi's avatar
      row0vers.c, row0sel.c, row0ins.c: · 01eb3d1e
      heikki@hundin.mysql.fi 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
      01eb3d1e
  20. 14 Jun, 2003 1 commit
    • heikki@hundin.mysql.fi's avatar
      Many files: · 4da7f485
      heikki@hundin.mysql.fi 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
      4da7f485
  21. 25 Jul, 2002 1 commit
  22. 30 Oct, 2001 1 commit
  23. 10 Oct, 2001 1 commit
    • heikki@donna.mysql.fi's avatar
      ut0mem.c Merge changes in InnoDB-3.23.43b · 1d7747aa
      heikki@donna.mysql.fi authored
      ut0ut.c 	Merge changes in InnoDB-3.23.43b
      trx0purge.c	Merge changes in InnoDB-3.23.43b
      trx0rec.c	Merge changes in InnoDB-3.23.43b
      trx0trx.c	Merge changes in InnoDB-3.23.43b
      trx0undo.c	Merge changes in InnoDB-3.23.43b
      thr0loc.c	Merge changes in InnoDB-3.23.43b
      sync0arr.c	Merge changes in InnoDB-3.23.43b
      sync0rw.c	Merge changes in InnoDB-3.23.43b
      sync0sync.c	Merge changes in InnoDB-3.23.43b
      srv0srv.c	Merge changes in InnoDB-3.23.43b
      srv0start.c	Merge changes in InnoDB-3.23.43b
      row0ins.c	Merge changes in InnoDB-3.23.43b
      row0mysql.c	Merge changes in InnoDB-3.23.43b
      row0purge.c	Merge changes in InnoDB-3.23.43b
      row0sel.c	Merge changes in InnoDB-3.23.43b
      row0umod.c	Merge changes in InnoDB-3.23.43b
      row0upd.c	Merge changes in InnoDB-3.23.43b
      row0vers.c	Merge changes in InnoDB-3.23.43b
      rem0cmp.c	Merge changes in InnoDB-3.23.43b
      que0que.c	Merge changes in InnoDB-3.23.43b
      pars0opt.c	Merge changes in InnoDB-3.23.43b
      pars0pars.c	Merge changes in InnoDB-3.23.43b
      lexyy.c 	Merge changes in InnoDB-3.23.43b
      pars0grm.c	Merge changes in InnoDB-3.23.43b
      page0page.c	Merge changes in InnoDB-3.23.43b
      os0file.c	Merge changes in InnoDB-3.23.43b
      mtr0log.c	Merge changes in InnoDB-3.23.43b
      mem0pool.c	Merge changes in InnoDB-3.23.43b
      log0log.c	Merge changes in InnoDB-3.23.43b
      log0recv.c	Merge changes in InnoDB-3.23.43b
      lock0lock.c	Merge changes in InnoDB-3.23.43b
      ibuf0ibuf.c	Merge changes in InnoDB-3.23.43b
      fil0fil.c	Merge changes in InnoDB-3.23.43b
      dict0crea.c	Merge changes in InnoDB-3.23.43b
      dict0dict.c	Merge changes in InnoDB-3.23.43b
      dict0load.c	Merge changes in InnoDB-3.23.43b
      dict0mem.c	Merge changes in InnoDB-3.23.43b
      data0data.c	Merge changes in InnoDB-3.23.43b
      data0type.c	Merge changes in InnoDB-3.23.43b
      buf0buf.c	Merge changes in InnoDB-3.23.43b
      buf0lru.c	Merge changes in InnoDB-3.23.43b
      btr0btr.c	Merge changes in InnoDB-3.23.43b
      btr0cur.c	Merge changes in InnoDB-3.23.43b
      btr0pcur.c	Merge changes in InnoDB-3.23.43b
      btr0sea.c	Merge changes in InnoDB-3.23.43b
      data0type.ic	Merge changes in InnoDB-3.23.43b
      dict0dict.ic	Merge changes in InnoDB-3.23.43b
      mtr0mtr.ic	Merge changes in InnoDB-3.23.43b
      row0upd.ic	Merge changes in InnoDB-3.23.43b
      sync0ipm.ic	Merge changes in InnoDB-3.23.43b
      sync0rw.ic	Merge changes in InnoDB-3.23.43b
      sync0sync.ic	Merge changes in InnoDB-3.23.43b
      trx0rseg.ic	Merge changes in InnoDB-3.23.43b
      btr0pcur.ic	Merge changes in InnoDB-3.23.43b
      buf0buf.ic	Merge changes in InnoDB-3.23.43b
      data0data.ic	Merge changes in InnoDB-3.23.43b
      row0upd.h	Merge changes in InnoDB-3.23.43b
      srv0srv.h	Merge changes in InnoDB-3.23.43b
      sync0arr.h	Merge changes in InnoDB-3.23.43b
      sync0rw.h	Merge changes in InnoDB-3.23.43b
      sync0sync.h	Merge changes in InnoDB-3.23.43b
      trx0trx.h	Merge changes in InnoDB-3.23.43b
      ut0mem.h	Merge changes in InnoDB-3.23.43b
      data0data.h	Merge changes in InnoDB-3.23.43b
      data0type.h	Merge changes in InnoDB-3.23.43b
      db0err.h	Merge changes in InnoDB-3.23.43b
      dict0crea.h	Merge changes in InnoDB-3.23.43b
      dict0dict.h	Merge changes in InnoDB-3.23.43b
      dict0load.h	Merge changes in InnoDB-3.23.43b
      dict0mem.h	Merge changes in InnoDB-3.23.43b
      dict0types.h	Merge changes in InnoDB-3.23.43b
      fil0fil.h	Merge changes in InnoDB-3.23.43b
      ibuf0ibuf.h	Merge changes in InnoDB-3.23.43b
      lock0lock.h	Merge changes in InnoDB-3.23.43b
      log0log.h	Merge changes in InnoDB-3.23.43b
      mtr0mtr.h	Merge changes in InnoDB-3.23.43b
      rem0cmp.h	Merge changes in InnoDB-3.23.43b
      row0ins.h	Merge changes in InnoDB-3.23.43b
      row0mysql.h	Merge changes in InnoDB-3.23.43b
      btr0cur.h	Merge changes in InnoDB-3.23.43b
      btr0pcur.h	Merge changes in InnoDB-3.23.43b
      btr0sea.h	Merge changes in InnoDB-3.23.43b
      buf0buf.h	Merge changes in InnoDB-3.23.43b
      sql_table.cc	Merge changes in InnoDB-3.23.43b
      sql_db.cc	Merge changes in InnoDB-3.23.43b
      ha_innobase.cc	Merge changes in InnoDB-3.23.43b
      handler.cc	Merge changes in InnoDB-3.23.43b
      ha_innobase.h	Merge changes in InnoDB-3.23.43b
      handler.h	Merge changes in InnoDB-3.23.43b
      1d7747aa
  24. 02 Mar, 2001 1 commit
    • heikki@donna.mysql.fi's avatar
      ut0ut.c Fixes for 64-bit Linux, bug fixes, compiler warning fixes · 314cdf34
      heikki@donna.mysql.fi authored
      mem0pool.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0file.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0shm.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0sync.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0thread.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      page0page.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      que0que.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      row0ins.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      row0mysql.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      row0sel.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      row0upd.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      row0vers.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      srv0srv.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      srv0start.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      sync0arr.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      sync0rw.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      sync0sync.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      trx0rec.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      trx0trx.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      srv0srv.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      sync0rw.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      sync0sync.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      ut0dbg.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      lock0lock.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      log0log.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      log0recv.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      ibuf0ibuf.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      buf0buf.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      buf0buf.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      hash0hash.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      mach0data.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      mem0mem.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      mem0pool.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      mtr0mtr.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0file.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0sync.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0sync.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      os0thread.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      univ.i  	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      row0mysql.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      com0shm.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      data0data.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      data0type.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      dict0crea.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      dict0dict.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      fil0fil.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      fsp0fsp.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      fut0lst.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      btr0sea.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      buf0buf.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      buf0flu.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      btr0btr.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      btr0cur.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
      314cdf34
  25. 17 Feb, 2001 1 commit