1. 01 Mar, 2007 1 commit
    • marko's avatar
      Prevent ALTER TABLE ... MODIFY ... NOT NULL on columns for which · 4cc5ef04
      marko authored
      there is a foreign key constraint ON ... SET NULL.  (Bug #25927)
      
      dict_foreign_find_index(): Add paramettter check_null.
      
      dict_foreign_add_to_cache(): Do not allow ON DELETE SET NULL
      or ON UPDATE SET NULL if any of the referencing columns are declared NOT NULL.
      4cc5ef04
  2. 15 Feb, 2007 2 commits
  3. 14 Feb, 2007 1 commit
  4. 12 Feb, 2007 2 commits
  5. 07 Feb, 2007 3 commits
    • marko's avatar
      Merge a change from MySQL AB: · 704d74d5
      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
      704d74d5
    • marko's avatar
      Merge changes from MySQL AB: · 880cc4a9
      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
      880cc4a9
    • marko's avatar
      Merge changes from MySQL AB: · 95ad47ac
      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
      95ad47ac
  6. 02 Feb, 2007 2 commits
    • marko's avatar
      Merge changes from MySQL AB: · e622cb93
      marko authored
      Rename some FIELD_TYPE_ constants to MYSQL_TYPE_.
      
      Change the scope of a type cast of two dividends.
      e622cb93
    • marko's avatar
      Rename hash_create to hash0_create by a #define. This fixes a · cd462019
      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
      cd462019
  7. 24 Jan, 2007 1 commit
  8. 22 Jan, 2007 1 commit
  9. 19 Jan, 2007 1 commit
    • marko's avatar
      Add ut_ad() debug assertions. · 0a36f900
      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.
      0a36f900
  10. 18 Jan, 2007 2 commits
  11. 12 Jan, 2007 1 commit
  12. 11 Jan, 2007 3 commits
    • osku's avatar
      Change this in ha_innobase: · 12b80747
      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.
      12b80747
    • osku's avatar
      Apply patch from MySQL: · 03b9c45e
      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)
      03b9c45e
    • marko's avatar
      Merge a change from MySQL AB: · 79b0e5d2
      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
      79b0e5d2
  13. 09 Jan, 2007 1 commit
    • marko's avatar
      dict_load_foreign(): Use a local variable instead of the 10-bit field · 80d14b8e
      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.
      80d14b8e
  14. 02 Jan, 2007 2 commits
  15. 22 Dec, 2006 1 commit
  16. 15 Dec, 2006 1 commit
  17. 12 Dec, 2006 1 commit
  18. 07 Dec, 2006 1 commit
  19. 01 Dec, 2006 1 commit
  20. 30 Nov, 2006 1 commit
  21. 29 Nov, 2006 2 commits
  22. 28 Nov, 2006 2 commits
    • heikki's avatar
      Merge r1079 from branches/5.0: · 72cd01cf
      heikki authored
      recv_recovery_from_checkpoint_finish(): Add 1 sec delay
      before switching on the sync order checks in crash recovery, so that
      file I/O threads have time to suspend themselves.
      72cd01cf
    • heikki's avatar
      Merge r1067:1077 from branches/5.0: · aee19a93
      heikki authored
      innobase_start_or_create_for_mysql(): Remove unnecessary delay now that
      we moved the setting sync_order_checks_on=TRUE to log0recv.c,
      to the start of the rollback phase in crash recovery.
      
      Fix assertion failure sync0sync.c line 1239
      (the latter ut_error in sync_thread_reset_level())
      in crash recovery when UNIV_SYNC_DEBUG is enabled.
      aee19a93
  23. 27 Nov, 2006 3 commits
  24. 23 Nov, 2006 4 commits
    • heikki's avatar
      Merge r1048:1050 from branches/5.0: · a586a909
      heikki authored
      trx_rollback_for_mysql(): Fix the comment introduced in r1046.
      
      trx_commit_for_mysql(): Use the dummy trx->sess also for committing a prepared
      transaction in XA recovery, just in case our code would need the session
      object also in that case (does not seem to need it right now).
      a586a909
    • heikki's avatar
      Merge r1048 from branches/5.0: · 9d69ac3d
      heikki authored
      trx_rollback_for_mysql(): Do not set trx->sess back to NULL.
      This bug was introduced in r1046.
      9d69ac3d
    • heikki's avatar
      Merge r1046 from branches/5.0: · 14695b0c
      heikki authored
      branches/5.0: trx_rollback_for_mysql(): Ensure that trx->sess is non-NULL
      when calling trx_general_rollback_for_mysql().  This removes a segmentation
      fault when rolling back a prepared transaction in XA recovery.  (Bug #21468)
      14695b0c
    • marko's avatar
      buf_page_init_for_read(): Correct the indentation. · f451c0b3
      marko authored
      f451c0b3