1. 18 Jan, 2005 1 commit
    • unknown's avatar
      Fix over-optimization that could result in an unsigned double field being · 69be6683
      unknown authored
      set to a negative value. (Bug #7700)
      
      
      sql/field_conv.cc:
        Don't treat real fields as identical when destination is unsigned and
        the source is not.
      mysql-test/t/type_float.test:
        Add test for setting double unsigned to a negative value from a signed double
      mysql-test/r/type_float.result:
        Add test results
      69be6683
  2. 14 Jan, 2005 1 commit
  3. 13 Jan, 2005 3 commits
    • unknown's avatar
      Fix mysql_install_db to look for libexecdir relative to basedir when · 0898b40c
      unknown authored
      it has been specified. (Bug #7347)
      
      
      scripts/mysql_install_db.sh:
        When basedir is specified, look for libexecdir relative to that
      0898b40c
    • unknown's avatar
      ha_innodb.cc: · 3a1d782e
      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
      3a1d782e
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1084e141
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      1084e141
  4. 12 Jan, 2005 6 commits
  5. 10 Jan, 2005 1 commit
  6. 07 Jan, 2005 1 commit
    • unknown's avatar
      Bootstrap: · dfeeb1a1
      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>.
      dfeeb1a1
  7. 06 Jan, 2005 2 commits
  8. 05 Jan, 2005 1 commit
    • unknown's avatar
      Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... so our · 717f3cac
      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=...
      717f3cac
  9. 04 Jan, 2005 1 commit
  10. 03 Jan, 2005 1 commit
  11. 31 Dec, 2004 2 commits
  12. 30 Dec, 2004 3 commits
  13. 27 Dec, 2004 2 commits
    • unknown's avatar
      row0mysql.c: · 9e893300
      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
      9e893300
    • unknown's avatar
      row0ins.c: · 5fded139
      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
      5fded139
  14. 24 Dec, 2004 1 commit
  15. 23 Dec, 2004 3 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 5a4f8907
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      5a4f8907
    • unknown's avatar
      Fix for a bug #7495 · 21535b6f
      unknown authored
      
      mysql-test/r/func_str.result:
        result for test case for a bug in QUOTE() (Bug #7495)
      mysql-test/t/func_str.test:
        test case for a bug in QUOTE() (Bug #7495)
      sql/item_strfunc.cc:
        a better fix for a QUOTE() bug (Bug #7495)
      21535b6f
    • unknown's avatar
      Make GRANTs, which change SSL attributes and/or user limits, · dd0ee30d
      unknown authored
      to behave well on 5.0 tables (well now you can't use tables from 4.1
      and 5.0 with 4.0 because former use utf8, but still it is nice to have
      similar code in acl_init() and replace_user_table()).
      This also will make such GRANTs working in 5.0 (they are broken now).
      
      
      mysql-test/r/grant.result:
        Added test for GRANT which manipulates user limits.
      mysql-test/t/grant.test:
        Added test for GRANT which manipulates user limits.
      dd0ee30d
  16. 22 Dec, 2004 2 commits
    • unknown's avatar
      A fix for the bug #7495 · 049c3fb1
      unknown authored
      
      mysql-test/r/func_str.result:
        A result for test case for the bug #7495 involving either LTRIM() 
        or TRIM() within QUOTE() function.
      mysql-test/t/func_str.test:
        A test case for the bug #7495 involving either LTRIM() or TRIM() 
        within QUOTE() function.
      sql/item_strfunc.cc:
        Changes for LTRIM() and TRIM() functions that aleviate the bug  
        entirely.
      049c3fb1
    • unknown's avatar
      ha_innodb.cc: · 5da6294e
      unknown authored
        If AUTOCOMMIT=1, do not acquire an InnoDB table lock in LOCK TABLES; this makes porting of old MyISAM applications to InnoDB easier, since in that mode InnoDB table locks caused deadlocks very easily
      
      
      sql/ha_innodb.cc:
        If AUTOCOMMIT=1, do not acquire an InnoDB table lock in LOCK TABLES; this makes porting of old MyISAM applications to InnoDB easier, since in that mode InnoDB table locks caused deadlocks very easily
      5da6294e
  17. 21 Dec, 2004 2 commits
    • unknown's avatar
      os0file.c: · d0c7a81c
      unknown authored
        Put back accidentally removed undef and remove a debug def
      
      
      innobase/os/os0file.c:
        Put back accidentally removed undef and remove a debug def
      d0c7a81c
    • unknown's avatar
      os0file.c: · 02d7cccb
      unknown authored
        Fix InnoDB bug: on HP-UX, with a 32-bit binary, InnoDB was only able to read or write <= 2 GB files; the reason was that InnoDB treated the return value of lseek() as a 32-bit integer; lseek was used on HP-UX-11 as a replacement for pread() and pwrite() because HAVE_BROKEN_PREAD was defined on that platform
      
      
      innobase/os/os0file.c:
        Fix InnoDB bug: on HP-UX, with a 32-bit binary, InnoDB was only able to read or write <= 2 GB files; the reason was that InnoDB treated the return value of lseek() as a 32-bit integer; lseek was used on HP-UX-11 as a replacement for pread() and pwrite() because HAVE_BROKEN_PREAD was defined on that platform
      02d7cccb
  18. 20 Dec, 2004 1 commit
    • unknown's avatar
      configure.in: · 04284466
      unknown authored
        Increment from 4.0.23 to 4.0.24
      
      
      configure.in:
        Increment from 4.0.23 to 4.0.24
      04284466
  19. 18 Dec, 2004 5 commits
  20. 16 Dec, 2004 1 commit