• Satya B's avatar
    Applying InnoDB Plugin 1.0.5 snapshot, part 11 · 8709cea1
    Satya B authored
    From revision r5945 to r5994
    r5950 - already applied and so skipped
    
    Detailed revision comments:
    
    r5945 | calvin | 2009-09-21 09:53:22 -0500 (Mon, 21 Sep 2009) | 4 lines
    branches/zip: fix a type in r5935
    
    Should be innodb_open_files, spotted by Michael.
    
    r5951 | calvin | 2009-09-22 10:17:01 -0500 (Tue, 22 Sep 2009) | 4 lines
    branches/zip: adjust CMake file to work with old versions of MySQL
    
    Tested with MySQL 5.1.38 and 5.1.30.
    
    r5956 | calvin | 2009-09-22 18:30:10 -0500 (Tue, 22 Sep 2009) | 4 lines
    branches/zip: remove handler0vars.h from Makefile.am
    
    Left over from r5950.
    
    r5971 | marko | 2009-09-23 08:03:51 -0500 (Wed, 23 Sep 2009) | 2 lines
    branches/zip: os_file_pwrite(): Make the code compile in InnoDB Hot Backup
    when the pwrite system call is not available.
    r5972 | marko | 2009-09-23 14:44:52 -0500 (Wed, 23 Sep 2009) | 5 lines
    branches/zip: fil_node_open_file(): In InnoDB Hot Backup,
    determine the page size of single-file tablespaces before computing
    the file node size.  Otherwise, the space->size of compressed tablespaces
    would be computed with UNIV_PAGE_SIZE instead of key_block_size.
    This should fix Issue #313.
    r5973 | marko | 2009-09-23 14:53:21 -0500 (Wed, 23 Sep 2009) | 2 lines
    branches/zip: recv_add_to_hash_table():
    Simplify obfuscated pointer arithmetics.
    r5978 | marko | 2009-09-24 02:47:56 -0500 (Thu, 24 Sep 2009) | 1 line
    branches/zip: Fix warnings and errors when UNIV_HOTBACKUP is defined.
    r5979 | marko | 2009-09-24 05:16:10 -0500 (Thu, 24 Sep 2009) | 4 lines
    branches/zip: ha_innodb.cc: Define MYSQL_PLUGIN_IMPORT when necessary.
    This preprocessor symbol has been recently introduced in MySQL 5.1.
    The InnoDB Plugin should remain source compatible with MySQL 5.1.24
    and later.
    r5988 | calvin | 2009-09-25 14:14:43 -0500 (Fri, 25 Sep 2009) | 8 lines
    branches/zip: fix bug#47055 unconditional exit(1) on ERROR_WORKING_SET_QUOTA
    1453 (0x5AD) for InnoDB backend
    
    When error ERROR_WORKING_SET_QUOTA or ERROR_NO_SYSTEM_RESOURCES
    occurs, yields for 100ms and retries the operation.
    
    Approved by: Heikki (on IM)
    
    r5992 | vasil | 2009-09-28 02:10:29 -0500 (Mon, 28 Sep 2009) | 4 lines
    branches/zip:
    
    Add ChangeLog entry for c5988.
    
    r5994 | marko | 2009-09-28 03:33:59 -0500 (Mon, 28 Sep 2009) | 17 lines
    branches/zip: Try to prevent the reuse of tablespace identifiers after
    InnoDB has crashed during table creation.  Also, refuse to start if
    files with duplicate tablespace identifiers are encountered.
    
    fil_node_create(): Update fil_system->max_assigned_id.  This should
    prevent the reuse of a space->id when InnoDB does a full crash
    recovery and invokes fil_load_single_table_tablespaces().  Normally,
    fil_system->max_assigned_id is initialized from
    SELECT MAX(ID) FROM SYS_TABLES.
    
    fil_open_single_table_tablespace(): Return FALSE when
    fil_space_create() fails.
    
    fil_load_single_table_tablespace(): Exit if fil_space_create() fails
    and innodb_force_recovery=0.
    
    rb://173 approved by Heikki Tuuri.  This addresses Issue #335.
    8709cea1
ha_innodb.cc 294 KB