1. 13 May, 2003 6 commits
    • 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 05 May, 2003 3 commits
  7. 04 May, 2003 13 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 4bf86a0d
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      4bf86a0d
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · ec538561
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      ec538561
    • unknown's avatar
      row0ins.c, dict0dict.c, dict0dict.h, srv0srv.c: · 08c3614c
      unknown authored
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      
      
      innobase/srv/srv0srv.c:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      innobase/include/dict0dict.h:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      innobase/dict/dict0dict.c:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      innobase/row/row0ins.c:
        Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
      08c3614c
    • unknown's avatar
      Merge pzaitsev@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1b08d6a6
      unknown authored
      into mysql.com:/home/pz/mysql/mysql-4.0-root
      
      1b08d6a6
    • unknown's avatar
      Minor fix to previous code · 7816e906
      unknown authored
      
      sql/mysql_priv.h:
        Add ifdef to allow compilation without Innodb
      7816e906
    • unknown's avatar
      parallel-repair available in mysqld · 3d969969
      unknown authored
      3d969969
    • unknown's avatar
      count_bits() moved to mysys/ · 59d6e489
      unknown authored
      59d6e489
    • unknown's avatar
      os0file.c: · 3842788a
      unknown authored
        Print progress information if at startup InnoDB creates and writes bigger than 100 MB data file or log file
      
      
      innobase/os/os0file.c:
        Print progress information if at startup InnoDB creates and writes bigger than 100 MB data file or log file
      3842788a
    • unknown's avatar
      Merge mysql.com:/home/pz/mysql/mysql-4.0-root · b1753b26
      unknown authored
      into mysql.com:/home/pz/mysql/mysql-4.0
      
      b1753b26
    • unknown's avatar
      srv0srv.c: · 1a408d9c
      unknown authored
        Do not let the main thread sleep the 1 second if we had to do a bug pool flush batch trying to establish srv_max_buf_pool_modified_pct
      
      
      innobase/srv/srv0srv.c:
        Do not let the main thread sleep the 1 second if we had to do a bug pool flush batch trying to establish srv_max_buf_pool_modified_pct
      1a408d9c
    • unknown's avatar
      Added innodb_max_dirty_pages_pct parameter to limit amount · a4e07cd8
      unknown authored
          of dirty pages in the buffer pool (can be changed online)
      
      
      sql/mysql_priv.h:
        Added innodb_max_dirty_pages_pct parameter to limit amount 
        of dirty pages in the buffer pool (can be changed online)
      sql/mysqld.cc:
        Added new option
      sql/set_var.cc:
        Added new variable handling
      a4e07cd8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · cd0f4083
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      cd0f4083
    • unknown's avatar
      result updated · 7808d96e
      unknown authored
      7808d96e
  8. 03 May, 2003 6 commits
    • unknown's avatar
      srv0srv.c: · 79122b9b
      unknown authored
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      
      
      innobase/srv/srv0srv.c:
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      79122b9b
    • unknown's avatar
      buf0buf.c, srv0srv.h, buf0buf.h, srv0srv.c: · ae4972e4
      unknown authored
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      
      
      innobase/srv/srv0srv.c:
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      innobase/include/buf0buf.h:
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      innobase/include/srv0srv.h:
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      innobase/buf/buf0buf.c:
        Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
      ae4972e4
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 1ddcff1b
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      1ddcff1b
    • unknown's avatar
      "delete from table where const" bug fixed · b0c48186
      unknown authored
      b0c48186
    • unknown's avatar
      - applied patch from Tim Bunce (new --addtodest option that adds copied · 424134b8
      unknown authored
         files into an already existing directory)
      
      424134b8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · d61b5600
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      d61b5600