1. 14 May, 2003 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · fa32ba68
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      fa32ba68
    • unknown's avatar
      Fixed bug in CREATE ... DECIMAL(-1,1). Bug #432 · 61e10552
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Ensure that tests are sorted
      mysql-test/r/type_decimal.result:
        Test for bug with decimal()
      mysql-test/t/type_decimal.test:
        Test for bug with decimal()
      sql/sql_parse.cc:
        Fixed bug in CREATE ... DECIMAL(-1,1)
      61e10552
    • unknown's avatar
      os0sync.c: · c1430c7c
      unknown authored
        Check return value of pthread_cond_...
      
      
      innobase/os/os0sync.c:
        Check return value of pthread_cond_...
      c1430c7c
    • unknown's avatar
      os0sync.c: · c3ec268c
      unknown authored
        Check that pthread_mutex_init and pthread_mutex_destroy return 0
      
      
      innobase/os/os0sync.c:
        Check that pthread_mutex_init and pthread_mutex_destroy return 0
      c3ec268c
    • unknown's avatar
      os0sync.c: · 21fa716f
      unknown authored
        We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix
      
      
      innobase/os/os0sync.c:
        We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix
      21fa716f
  2. 13 May, 2003 22 commits
    • unknown's avatar
      Fix for checking global_access rights · 4945aa8d
      unknown authored
      4945aa8d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · d4210825
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      sql/sql_parse.cc:
        Auto merged
      d4210825
    • unknown's avatar
      Fix for MacOSX and symlinks · bad0f374
      unknown authored
      Fix for USE_FRM and crashed index file
      
      
      configure.in:
        Fix for MacOSX and symlinks
      myisam/mi_open.c:
        Give better error message in case of of crashed index file
      mysql-test/r/repair.result:
        new test case
      mysql-test/r/update.result:
        new test case
      mysql-test/t/repair.test:
        Added test with crashed MyISAM index header
      mysql-test/t/update.test:
        Added test case from bugs system
      sql/handler.cc:
        Indentation changes
      sql/sql_table.cc:
        Fix for USE_FRM and crashed index file
      bad0f374
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · d7a5f453
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      d7a5f453
    • unknown's avatar
      Fix for bug 343 : we require only REPLICATION CLIENT for · 19cc4722
      unknown authored
      SHOW SLAVE STATUS and SHOW MASTER STATUS, because this is what
      the manual states. We still accept SUPER.
      
      19cc4722
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · b6720243
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      include/my_global.h:
        Auto merged
      b6720243
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 4728d5e7
      unknown authored
      into hynda.(none):/home/my/bk/mysql-4.0
      
      4728d5e7
    • unknown's avatar
      Fixed a bug in DROP DATABASE when database had a RAID type table. · e8b78c93
      unknown authored
      Bug ID 381.
      
      e8b78c93
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 9c10f150
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      9c10f150
    • unknown's avatar
      Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 49fb0d2c
      unknown authored
      into mysql.com:/home/pem/work/mysql-4.0
      
      49fb0d2c
    • unknown's avatar
      - disabled all "EXPLAIN SELECT" tests from the InnoDB test because of · da27b42e
      unknown authored
         nodeterministic results on some platforms
      
      da27b42e
    • unknown's avatar
      Forgot to correct comment in key.test (after fixing bug 390). · 326f2b0f
      unknown authored
      
      mysql-test/t/key.test:
        Forgot to correct comment (after fixing bug 390).
      326f2b0f
    • unknown's avatar
    • unknown's avatar
      Fixed 'Unknown error' when using 'UPDATE ... LIMIT'. Bug 373 · 739442ab
      unknown authored
      
      mysql-test/r/update.result:
        new test
      mysql-test/t/update.test:
        Test of UPDATE ... LIMIT
      sql/sql_update.cc:
        Fixed 'Unknown error' when using 'UPDATE ... LIMIT'
      739442ab
    • unknown's avatar
      - added mysql_fix_privilege_tables(1) man page to distribution · 926c1571
      unknown authored
         (thanks to Christian Hammers from the Debian project for providing it)
       - Updated version number in man pages (3.23 -> 4.0)
      
      
      man/Makefile.am:
         - added mysql_fix_privilege_tables(1) man page to man_MANS
      man/isamchk.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/isamlog.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysql.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysql_zap.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqlaccess.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqladmin.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqld.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqld_multi.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqld_safe.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqldump.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/mysqlshow.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/perror.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      man/replace.1:
         - Updated version number ("MySQL-3.23" -> "MySQL 4.0")
      926c1571
    • unknown's avatar
      - Fixed a bug in myisam_max_[extra]_sort_file_size, bug ID 339 and 342 · bfcdf557
      unknown authored
      - Fix for QNX: UNIX sockets available since 6.2.1
      
      
      include/my_global.h:
        Fix for QNX: UNIX sockets available since 6.2.1
      mysql-test/r/variables.result:
        Fixed a bug in myisam_max_[extra]_sort_file_size, bug ID 339
      mysql-test/t/variables.test:
        Fixed a bug in myisam_max_[extra]_sort_file_size, bug ID 339
      sql/mysqld.cc:
        Fixed a bug in myisam_max_[extra]_sort_file_size, bug ID 339
      sql/set_var.cc:
        Fixed a bug in myisam_max_[extra]_sort_file_size, bug ID 339
      sql/set_var.h:
        Fixed a bug in myisam_max_[extra]_sort_file_size, bug ID 339
      bfcdf557
    • unknown's avatar
      Fixed problem with ansi mode and GROUP BY with constants. (Bug #387) · 77cbe67a
      unknown authored
      
      sql/sql_select.cc:
        Fixed problem with ansi mode and GROUP BY with constants
      77cbe67a
    • unknown's avatar
      Fix for UNION and LEFT JOIN (Bug #386) · 61b80c33
      unknown authored
      Fixed wrong logging of Access denied error (Bug #398)
      
      
      include/my_global.h:
        Fix for QNX
      mysql-test/r/union.result:
        new test case
      mysql-test/t/union.test:
        Test of bug in union and left join
      mysys/my_seek.c:
        Safety fix to find out when pos gets a wrong value
      sql/field.h:
        Fix for UNION and LEFT JOIN
      sql/mysql_priv.h:
        Fix for UNION and LEFT JOIN
      sql/sql_base.cc:
        Fix for UNION and LEFT JOIN
      sql/sql_insert.cc:
        Fix for UNION and LEFT JOIN
      sql/sql_parse.cc:
        Fixed wrong logging of Access denied error
      sql/sql_union.cc:
        Fix for UNION and LEFT JOIN
      sql/sql_update.cc:
        Fix for UNION and LEFT JOIN
      61b80c33
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 931b7715
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      931b7715
    • unknown's avatar
      Removed timing of tests from mysql-test-run. · 015475b2
      unknown authored
      Needed by QNX, and there was no real use for timing.
      
      015475b2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 8028d33d
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      8028d33d
    • unknown's avatar
      Safety fix to enable RAID in max binaries · c1036cf8
      unknown authored
      Better fix for format('nan')
      Fix for HAVING COUNT(DISTINCT...)
      
      
      myisam/mi_check.c:
        Better error message
      myisam/mi_dynrec.c:
        Simple code cleanup
      myisam/myisamchk.c:
        Better error messages
      mysql-test/r/func_misc.result:
        Added back test for format('nan')
      mysql-test/r/having.result:
        New test
      mysql-test/t/func_misc.test:
        Added back test for format('nan')
      mysql-test/t/having.test:
        Added test for count(distinct) in having
      mysys/raid.cc:
        Safety fix to enable RAID in max binaries
      scripts/mysql_install_db.sh:
        Create data directories even if --in-rpm is used (for MaxOSX)
      sql/item_strfunc.cc:
        Better fix for format('nan')
      sql/mysqld.cc:
        Give stacktrace on assert()
      sql/sql_yacc.yy:
        Fix for HAVING COUNT(DISTINCT...)
      tests/big_record.pl:
        Extend test to abuse packed MyISAM tables
      tests/table_types.pl:
        Fixed wrong merge
      c1036cf8
  3. 12 May, 2003 2 commits
    • unknown's avatar
      - On Mac OS X, better call mysql_install_db with "-IN-RPM" during · e52ca0f5
      unknown authored
         the installation to make sure the privilege tables are being
         installed even if the DNS configuration is broken, which seems
         to be quite common (reverse lookups to "hostname" fail).
      
         This should resolve the problem many Mac OS users experience
         ("Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't
         exist") when they try to start MySQL after installing the PKG.
      
      e52ca0f5
    • unknown's avatar
      srv0start.c, trx0sys.c: · 86f3d77b
      unknown authored
        Let InnoDB to skip writing of pages from the doublewrite buffer if innodb_force_recovery=6; normally, if the page is corrupt AND the corresponding page in the doublewrite buffer is also corrupt, InnoDB calls exit(1)
      
      
      innobase/trx/trx0sys.c:
        Let InnoDB to skip writing of pages from the doublewrite buffer if innodb_force_recovery=6; normally, if the page is corrupt AND the corresponding page in the doublewrite buffer is also corrupt, InnoDB calls exit(1)
      innobase/srv/srv0start.c:
        Let InnoDB to skip writing of pages from the doublewrite buffer if innodb_force_recovery=6; normally, if the page is corrupt AND the corresponding page in the doublewrite buffer is also corrupt, InnoDB calls exit(1)
      86f3d77b
  4. 10 May, 2003 1 commit
    • unknown's avatar
      MySQL-classic did not pass the test suite rpl_rotate_logs.test anymore... · 47743d89
      unknown authored
         MySQL-classic did not pass the test suite rpl_rotate_logs.test anymore because a recent 1.1424.2.17 cset introduced an opt_using_transactions
          which prevented binlogs to be rotated if transactions were not enabled. Fix for this. This bug did not affect releases.
      
      
      sql/log.cc:
        MySQL-classic did not pass the test suite rpl_rotate_logs.test anymore because a recent 1.1424.2.17 cset introduced an opt_using_transactions
        which prevented binlogs to be rotated if transactions were not enabled. Fix for this. This bug did not affect releases.
      47743d89
  5. 07 May, 2003 8 commits
    • unknown's avatar
      More tests · 10cd77ed
      unknown authored
      10cd77ed
    • unknown's avatar
      merge with 3.23 · c0b9a349
      unknown authored
      
      sql/sql_base.cc:
        merge
      c0b9a349
    • unknown's avatar
      Better grant test for SELECT * · 01b5b35e
      unknown authored
      01b5b35e
    • unknown's avatar
      Merge to get security patch · 7fadfccf
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/sql_acl.cc:
        Auto merged
      tests/grant.pl:
        Auto merged
      tests/grant.res:
        Auto merged
      BitKeeper/triggers/post-commit:
        use local file
      client/mysqldump.c:
        Merge to get crash fix
      7fadfccf
    • unknown's avatar
      Security patch to remove wrong error when one had a global update/delete... · 7dbdb663
      unknown authored
      Security patch to remove wrong error when one had a global update/delete privilige and a database specific SELECT privilege. 
      
      
      sql/sql_acl.cc:
        Security patch
      sql/sql_base.cc:
        Security patch
      sql/sql_parse.cc:
        Security patch
      tests/grant.pl:
        Test of security patch
      tests/grant.res:
        Test of security patch
      7dbdb663
    • unknown's avatar
      Updated comment · 49f49469
      unknown authored
      49f49469
    • unknown's avatar
      my_base.h: · 8b0bc1c2
      unknown authored
        Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value
      
      
      include/my_base.h:
        Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value
      8b0bc1c2
    • unknown's avatar
      sql_select.cc, opt_sum.cc: · 173d63eb
      unknown authored
        Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value
      
      
      sql/opt_sum.cc:
        Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value
      sql/sql_select.cc:
        Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value
      173d63eb
  6. 06 May, 2003 1 commit
    • unknown's avatar
      - added MySQL-shared-compat.spec(.sh) to the distribution. This spec file · 62fabe02
      unknown authored
         can be used to build a compatibility package that includes the shared
         libraries of MySQL 3.23.xx and MySQL 4.0.xx for backwards compatibility
         with dynamically linked applications. It simply repackages the two
         MySQL-shared RPMs, so these need to be created or downloaded separately.
      
      
      support-files/Makefile.am:
         - added MySQL-shared-compat.spec(.sh) to the distribution
      62fabe02
  7. 05 May, 2003 1 commit