1. 08 Mar, 2007 1 commit
    • marko's avatar
      Minor cleanup in ha_innodb.cc. · 8fadfedd
      marko authored
      Remove the unused constants HA_INNOBASE_ROWS_IN_TABLE and
      HA_INNOBASE_RANGE_COUNT.  Declare innobase_active_counter static.
      8fadfedd
  2. 05 Mar, 2007 3 commits
    • marko's avatar
      innodb.test, innodb.result: Add test case for Bug #26835. · 2de9fc6e
      marko authored
      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.
      2de9fc6e
    • marko's avatar
      e0ab42c8
    • sunny's avatar
      Fix for Bug# 21409. At low transaction isolation levels we let each · 8055a7b3
      sunny authored
      consistent read set its own snapshot
      8055a7b3
  3. 02 Mar, 2007 3 commits
  4. 01 Mar, 2007 5 commits
  5. 15 Feb, 2007 2 commits
  6. 14 Feb, 2007 1 commit
  7. 12 Feb, 2007 2 commits
  8. 07 Feb, 2007 3 commits
    • marko's avatar
      Merge a change from MySQL AB: · 4dcbc856
      marko authored
      ChangeSet
        2006/10/26 15:41:47-04:00 iggy@amd64. 
        Post Merge Cleanup
      
      storage/innobase/include/univ.i
        2006/10/26 15:38:50-04:00 iggy@amd64. +9 -0
        Post Merge Cleanup
      4dcbc856
    • marko's avatar
      Merge changes from MySQL AB: · 213456bf
      marko authored
      ChangeSet
        2007/01/24 14:49:36+04:00 holyfoot@mysql.com 
        bug #22682 Test fails --without-geometry
        geometry dependent parts moved to proper .test files
      
      mysql-test/r/innodb.result
        2007/01/24 14:49:34+04:00 holyfoot@mysql.com +0 -2
        result fixed
      
      mysql-test/r/innodb_gis.result
        2007/01/24 14:49:34+04:00 holyfoot@mysql.com +2 -0
        result fixed
      
      mysql-test/t/innodb.test
        2007/01/24 14:49:34+04:00 holyfoot@mysql.com +0 -6
        HAVE_GEOMETRY dependent part moved to innodb_gis.test
      
      mysql-test/t/innodb_gis.test
        2007/01/24 14:49:35+04:00 holyfoot@mysql.com +6 -0
        HAVE_GEOMETRY dependent part moved here from innodb.test
      213456bf
    • marko's avatar
      Merge changes from MySQL AB: · 1776e2e9
      marko authored
      ChangeSet
        2007/01/22 18:42:52+02:00 monty@mysql.com 
        Give warnings for unused objects
        Changed error message to be compatible with old error file
        Added new error message for new DUP_ENTRY syntax
      
      mysql-test/t/innodb.test
        2007/01/22 18:42:49+02:00 monty@mysql.com +14 -14
        Changed to use new error message
      1776e2e9
  9. 02 Feb, 2007 2 commits
    • marko's avatar
      Merge changes from MySQL AB: · c9459f0d
      marko authored
      Rename some FIELD_TYPE_ constants to MYSQL_TYPE_.
      
      Change the scope of a type cast of two dividends.
      c9459f0d
    • marko's avatar
      Rename hash_create to hash0_create by a #define. This fixes a · eb967c21
      marko authored
      symbol collision when building PHP with IMAP and MySQL (Bug #13859).
      The bug was originally fixed by MySQL in a more obtrusive way, by
      replacing all occurrences of hash_create with hash0_create.  This
      change was applied to the MySQL tree as follows:
      
      ChangeSet@1.1616.2924.6, 2007-01-11 12:31:52+01:00, kent@mysql.com +9 -0
        Many files:
          Reverted change for bug#13859, applied smaller patch from Marko
      eb967c21
  10. 24 Jan, 2007 1 commit
  11. 22 Jan, 2007 1 commit
  12. 19 Jan, 2007 1 commit
    • marko's avatar
      Add ut_ad() debug assertions. · 1750a977
      marko authored
      UT_LIST_ADD_FIRST(), UT_LIST_ADD_LAST(), UT_LIST_INSERT_AFTER():
      Assert against some trivial cases of cyclic lists.
      
      mutex_enter_func(): Assert that the current thread is not holding the mutex.
      1750a977
  13. 18 Jan, 2007 2 commits
  14. 12 Jan, 2007 1 commit
  15. 11 Jan, 2007 3 commits
    • osku's avatar
      Change this in ha_innobase: · 58809043
      osku authored
       void*           innobase_prebuilt;
      
      to this:
      
       row_prebuilt_t* prebuilt;
      
      by introducing the typedef in ha_innodb.h, and remove all the now needless
      local variables and casts in ha_innodb.cc.
      58809043
    • osku's avatar
      Apply patch from MySQL: · 76ad45ea
      osku authored
       ChangeSet@1.2353, 2006-12-19 16:57:51-07:00, tsmith@siva.hindu.god +13 -0
         Added innodb_rollback_on_timeout option to restore the 4.1 
         InnoDB timeout behavior (Bug #24200)
      76ad45ea
    • marko's avatar
      Merge a change from MySQL AB: · b0b266a9
      marko authored
      ChangeSet@1.2372, 2006-12-31 02:29:11+01:00, kent@mysql.com +79 -0
        Many files:
          Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header
          Adjusted year(s) in copyright header 
          Added GPL copyright text
      b0b266a9
  16. 09 Jan, 2007 1 commit
    • marko's avatar
      dict_load_foreign(): Use a local variable instead of the 10-bit field · 31136568
      marko authored
      foreign->n_fields in order to preserve ON UPDATE CASCADE and
      ON DELETE CASCADE flags.  For some reason, gcc does not warn about
      shifting a 10-bit field to right by 24 bits.  (Bug #24741)
      
      This bug was introduced while reducing the memory footprint of the
      InnoDB data dictionary (Bug #20877).
      
      innodb.test, innodb.result: Add a test case.
      31136568
  17. 02 Jan, 2007 2 commits
  18. 22 Dec, 2006 1 commit
  19. 15 Dec, 2006 1 commit
  20. 12 Dec, 2006 1 commit
  21. 07 Dec, 2006 1 commit
  22. 01 Dec, 2006 1 commit
  23. 30 Nov, 2006 1 commit