• unknown's avatar
    Apply InnoDB snapshot innodb-5.1-ss2438. · 7febbe45
    unknown authored
    Addresses the following bugs:
    
      Change the fix for Bug#32440 to show bytes instead of kilobytes in
      INFORMATION_SCHEMA.TABLES.DATA_FREE.
    
      branches/5.1: Fix bug#29507 TRUNCATE shows to many rows effected
      In InnoDB, the row count is only a rough estimate used by SQL
      optimization. InnoDB is now return row count 0 for TRUNCATE operation.
    
      branches/5.1: Fix bug#35537 - Innodb doesn't increment handler_update
      and handler_delete
      Add the calls to ha_statistic_increment() in ha_innobase::delete_row()
      and ha_innobase::update_row().
    
      Fix Bug#36169 create innodb compressed table with too large row size crashed
      Sometimes it is possible that
      row_drop_table_for_mysql(index->table_name, trx, FALSE); is invoked in
      row_create_index_for_mysql() when the index object is freed so copy the
      table name to a safe place beforehand and use the copy.
    
      Fix Bug#36434 ha_innodb.so is installed in the wrong directory
      Change pkglib_LTLIBRARIES with pkgplugin_LTLIBRARIES which has been
      forgotten in this commit: http://lists.mysql.com/commits/40206
    
    
    mysql-test/r/innodb.result:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2420:
      branches/5.1: Fix bug#29507 TRUNCATE shows to many rows effected
      
      In InnoDB, the row count is only a rough estimate used by SQL
      optimization. InnoDB is now return row count 0 for TRUNCATE operation.
      
      Revision r2421:
      branches/5.1: Fix bug#35537 - Innodb doesn't increment handler_update
      and handler_delete
      
      Add the calls to ha_statistic_increment() in ha_innobase::delete_row()
      and ha_innobase::update_row().
    mysql-test/t/innodb.test:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2420:
      branches/5.1: Fix bug#29507 TRUNCATE shows to many rows effected
      
      In InnoDB, the row count is only a rough estimate used by SQL
      optimization. InnoDB is now return row count 0 for TRUNCATE operation.
      
      Revision r2421:
      branches/5.1: Fix bug#35537 - Innodb doesn't increment handler_update
      and handler_delete
      
      Add the calls to ha_statistic_increment() in ha_innobase::delete_row()
      and ha_innobase::update_row().
    storage/innobase/Makefile.am:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2429:
      branches/5.1:
      
      * Use INNODB_CFLAGS insead of cluttering CFLAGS with InnoDB specific
        flags. CFLAGS are used to compile every file in the MySQL source tree.
      
      * Add INNODB_DYNAMIC_CFLAGS to the flags of the dynamic plugin and use
        -prefer-non-pic to make the dynamic plugin faster on i386.
      
      Approved by:	Sunny
      
      
      Revision r2437:
      branches/5.1:
      
      Fix Bug#36434 ha_innodb.so is installed in the wrong directory
      
      Change pkglib_LTLIBRARIES with pkgplugin_LTLIBRARIES which has been
      forgotten in this commit: http://lists.mysql.com/commits/40206
      
      
      
      Revision r2430:
      branches/5.1:
      
      Use CFLAGS instead of INNODB_CFLAGS to avoid having incompatible flags
      inserted in CFLAGS and INNODB_CFLAGS and to avoid compiling mysql and
      innodb with different flags.
      
      Discussed with:	Sunny
      
      
      Revision r2434:
      branches/5.1:
      
      Merge changes from MySQL:
      
        ChangeSet@1.2645, 2007-12-19 13:24:43+00:00, jperkin@chorlton.adsl.perkin.org.uk +14 -0
          Add new pkgplugindir handling to seperate plugins from libraries,
          and allow override for binary distributions.  Extend mysql_config
          to print compiled-in plugin location for third-party plugins to
          use.  Resolves bug#31736.
      
      and
      
        ChangeSet@1.2646, 2008-01-02 13:00:46+00:00, jperkin@chorlton.adsl.perkin.org.uk +11 -0
          Use pkglibdir to simplify pkgplugindir, and fix the path in a
          couple of Makefiles.  Continuation of the fix for bug#31736.
      
      
      
      Revision r2436:
      branches/5.1:
      
      Non-functional white space change in Makefile.am:
      Use tabs for indentation and be consistent about spaces around the
      equal sign.
    storage/innobase/handler/ha_innodb.cc:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2419:
      branches/5.1:
      
      Change the fix for Bug#32440 to show bytes instead of kilobytes in
      INFORMATION_SCHEMA.TABLES.DATA_FREE.
      
      Suggested by:	Domas Mituzas <domas@mysql.com>
      Approved by:	Heikki
      
      
      
      Revision r2435:
      branches/5.1:
      
      Merge change from MySQL:
      
        ChangeSet@1.2563, 2008-03-18 19:42:04+04:00, gluh@mysql.com +1 -0
          Bug#35406 5.1-opt crashes on select from I_S.REFERENTIAL_CONSTRAINTS
          added intialization of f_key_info.referenced_key_name for the case when
          referenced table is dropped
      
      
      
      Revision r2420:
      branches/5.1: Fix bug#29507 TRUNCATE shows to many rows effected
      
      In InnoDB, the row count is only a rough estimate used by SQL
      optimization. InnoDB is now return row count 0 for TRUNCATE operation.
      
      Revision r2421:
      branches/5.1: Fix bug#35537 - Innodb doesn't increment handler_update
      and handler_delete
      
      Add the calls to ha_statistic_increment() in ha_innobase::delete_row()
      and ha_innobase::update_row().
    storage/innobase/plug.in:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2429:
      branches/5.1:
      
      * Use INNODB_CFLAGS insead of cluttering CFLAGS with InnoDB specific
        flags. CFLAGS are used to compile every file in the MySQL source tree.
      
      * Add INNODB_DYNAMIC_CFLAGS to the flags of the dynamic plugin and use
        -prefer-non-pic to make the dynamic plugin faster on i386.
      
      Approved by:	Sunny
      
      
      Revision r2432:
      branches/5.1:
      
      Non-functional change: use tabs for indentation in plug.in.
      
      
      Revision r2431:
      branches/5.1:
      
      Fix r2430, it should be CFLAGS="$CFLAGS ..." not CFLAGS="..."
      
      
      Revision r2430:
      branches/5.1:
      
      Use CFLAGS instead of INNODB_CFLAGS to avoid having incompatible flags
      inserted in CFLAGS and INNODB_CFLAGS and to avoid compiling mysql and
      innodb with different flags.
      
      Discussed with:	Sunny
      
      
      Revision r2433:
      branches/5.1:
      
      Add vim modeline to hint it that plug.in is a config file
      so it can be colorized.
    storage/innobase/row/row0mysql.c:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2422:
      branches/5.1:
      
      Fix Bug#36169 create innodb compressed table with too large row size crashed
      
      Sometimes it is possible that
      row_drop_table_for_mysql(index->table_name, trx, FALSE); is invoked in
      row_create_index_for_mysql() when the index object is freed so copy the
      table name to a safe place beforehand and use the copy.
      
      Approved by:	Sunny
    storage/innobase/row/row0sel.c:
      Apply InnoDB snapshot innodb-5.1-ss2438.
      
      Revision r2388:
      branches/5.1:
      
      Swap the order in which mysql_thd, mysql_query_str and *mysql_query_str
      are checked for non-NULL.
      
      Suggested by:	Marko
    7febbe45
ha_innodb.cc 234 KB