1. 27 Jan, 2005 2 commits
    • unknown's avatar
      configure.in: · bde9e860
      unknown authored
        Add -DDBUG_ON to CXXFLAGS whenever it is added to CFLAGS.
        Thus, sql/ha_innodb.cc will be compiled with the same
        setting of UNIV_DEBUG as the rest of InnoDB,
        i.e., --with-debug enables InnoDB ut_ad() assertions
        everywhere.
      
      
      configure.in:
        Add -DDBUG_ON to CXXFLAGS whenever it is added to CFLAGS.
        Thus, sql/ha_innodb.cc will be compiled with the same
        setting of UNIV_DEBUG as the rest of InnoDB,
        i.e., --with-debug enables InnoDB ut_ad() assertions
        everywhere.
      bde9e860
    • unknown's avatar
      InnoDB: Tolerate negative return values from ftell(). · a12d52a1
      unknown authored
      
      sql/ha_innodb.cc:
        Tolerate negative return values from ftell().
      a12d52a1
  2. 26 Jan, 2005 1 commit
  3. 25 Jan, 2005 3 commits
    • unknown's avatar
      order_by.result, order_by.test: · 8deafa80
      unknown authored
        Added a test case for bug #7672.
      sql_yacc.yy:
        Fixed bug #7672.
        Made queries of the form (SELECT ...) ORDER BY ... to
        be equivalent to SELECT ... ORDER BY ...
      
      
      sql/sql_yacc.yy:
        Fixed bug #7672.
        Made queries of the form (SELECT ...) ORDER BY ... to
        be equivalent to SELECT ... ORDER BY ...
      mysql-test/t/order_by.test:
        Added a test case for bug #7672.
      mysql-test/r/order_by.result:
        Added a test case for bug #7672.
      8deafa80
    • unknown's avatar
      InnoDB: Backport innodb_autoextend_increment from 4.1 · f35117ea
      unknown authored
      
      innobase/include/srv0srv.h:
        Add configuration variable srv_auto_extend_increment
      innobase/srv/srv0srv.c:
        Add configuration variable srv_auto_extend_increment
      sql/ha_innodb.h:
        Add configuration variable srv_auto_extend_increment
      sql/mysqld.cc:
        Add startup option innodb_autoextend_increment
      sql/set_var.cc:
        Add settable global variable innodb_autoextend_increment
      f35117ea
    • unknown's avatar
      InnoDB: Enable ut_ad() assertions in MySQL debug builds. · b7c59b9e
      unknown authored
      
      innobase/include/univ.i:
        InnoDB: Define UNIV_DEBUG when DBUG_ON (in MySQL) is defined.
        This enables InnoDB debug assertions in debug builds of mysqld.
      b7c59b9e
  4. 22 Jan, 2005 1 commit
    • unknown's avatar
      select_found.result, select_found.test: · 25c2d1ad
      unknown authored
        Added a test case for bug #7945.
      sql_select.cc:
        Fixed bug #7945. If DISTINCT is used only with constants
        in a query with GROUP BY, we can apply an optimization
        that set LIMIT to 1 only in the case when there is 
        no SQL_CALC_FOUND_ROWS.
      
      
      sql/sql_select.cc:
        Fixed bug #7945. If DISTINCT is used only with constants
        in a query with GROUP BY, we can apply an optimization
        that set LIMIT to 1 only in the case when there is 
        no SQL_CALC_FOUND_ROWS.
      mysql-test/t/select_found.test:
        Added a test case for bug #7945.
      mysql-test/r/select_found.result:
        Added a test case for bug #7945.
      25c2d1ad
  5. 20 Jan, 2005 1 commit
  6. 18 Jan, 2005 6 commits
  7. 17 Jan, 2005 1 commit
  8. 15 Jan, 2005 1 commit
  9. 14 Jan, 2005 1 commit
  10. 13 Jan, 2005 3 commits
    • unknown's avatar
      Fix mysql_install_db to look for libexecdir relative to basedir when · e667cf91
      unknown authored
      it has been specified. (Bug #7347)
      
      
      scripts/mysql_install_db.sh:
        When basedir is specified, look for libexecdir relative to that
      e667cf91
    • unknown's avatar
      ha_innodb.cc: · d90e3b49
      unknown authored
        Fix a theoretical hang over the adaptive hash latch in InnoDB if one runs INSERT ... SELECT ... (binlog not enabled), or a multi-table UPDATE or DELETE, and only the read tables are InnoDB type, the rest are MyISAM; this also fixes bug #7879 for InnoDB type tables
      
      
      sql/ha_innodb.cc:
        Fix a theoretical hang over the adaptive hash latch in InnoDB if one runs INSERT ... SELECT ... (binlog not enabled), or a multi-table UPDATE or DELETE, and only the read tables are InnoDB type, the rest are MyISAM; this also fixes bug #7879 for InnoDB type tables
      d90e3b49
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1e63ecd0
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      
      1e63ecd0
  11. 12 Jan, 2005 6 commits
  12. 10 Jan, 2005 1 commit
  13. 07 Jan, 2005 1 commit
    • unknown's avatar
      Bootstrap: · 04498c2a
      unknown authored
        Made the default --mail address to be <build@mysql.com>.
      
      
      Build-tools/Bootstrap:
        Made the default --mail address to be <build@mysql.com>.
      04498c2a
  14. 06 Jan, 2005 2 commits
  15. 05 Jan, 2005 1 commit
    • unknown's avatar
      Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... so our · 3edb7774
      unknown authored
      official binary builds for Linux that are built against a static glibc with
      a 128k thread stack size limit can be compiled with a default that doesn't
      result in a harmless (but oft-misunderstood) warning message. (Bug #6226)
      
      
      include/my_pthread.h:
        Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=...
      3edb7774
  16. 04 Jan, 2005 1 commit
  17. 03 Jan, 2005 1 commit
  18. 31 Dec, 2004 2 commits
  19. 30 Dec, 2004 3 commits
  20. 27 Dec, 2004 2 commits
    • unknown's avatar
      row0mysql.c: · 4ba981e5
      unknown authored
        Fix the previous bug fix: dropping a table with FOREIGN KEY checks running on it caused a cascade of failed drops while the foreign key check was waiting for a lock
      
      
      innobase/row/row0mysql.c:
        Fix the previous bug fix: dropping a table with FOREIGN KEY checks running on it caused a cascade of failed drops while the foreign key check was waiting for a lock
      4ba981e5
    • unknown's avatar
      row0ins.c: · a7b984d2
      unknown authored
        Fix bug: if we dropped a table where an INSERT was waiting for a lock to check a FOREIGN KEY constraint, then an assertion would fail in lock_reset_all_on_table(), since that operation assumes no waiting locks on the table or its records
      row0mysql.c:
        Fix bug: InnoDB failed to drop a table in the background drop queue if the table was referenced by a foreign key constraint
      
      
      innobase/row/row0mysql.c:
        Fix bug: InnoDB failed to drop a table in the background drop queue if the table was referenced by a foreign key constraint
      innobase/row/row0ins.c:
        Fix bug: if we dropped a table where an INSERT was waiting for a lock to check a FOREIGN KEY constraint, then an assertion would fail in lock_reset_all_on_table(), since that operation assumes no waiting locks on the table or its records
      a7b984d2