1. 27 Dec, 2005 1 commit
  2. 18 Dec, 2005 1 commit
    • unknown's avatar
      Makefile.am: · c826080d
      unknown authored
        Adjusted listing of files to put into source TAR
      
      c826080d
  3. 13 Dec, 2005 1 commit
  4. 06 Dec, 2005 2 commits
  5. 04 Dec, 2005 1 commit
    • unknown's avatar
      A set of Netware related patches. · 1d5fc2ff
      unknown authored
      
      client/mysql.cc:
        Fixed option name.
      client/mysqladmin.c:
        Fixed option name.
      client/mysqlbinlog.cc:
        Fixed option name.
      client/mysqlcheck.c:
        Fixed option name.
      client/mysqldump.c:
        Fixed option name.
      client/mysqlimport.c:
        Fixed option name.
      client/mysqlshow.c:
        Fixed option name.
      isam/isamchk.c:
        Fixed option name.
      myisam/myisamchk.c:
        Fixed option name.
      myisam/myisampack.c:
        Fixed option name.
      sql/sql_parse.cc:
        Fix problem with kill connection on NetWare.
      1d5fc2ff
  6. 29 Nov, 2005 2 commits
    • unknown's avatar
      BUG#5390 - problems with merge tables · 39fab575
      unknown authored
      Problem #1: INSERT...SELECT
      INSERT ... SELECT with the same table on both sides (hidden
      below a MERGE table) does now work by buffering the select result.
      The duplicate detection works now after open_and_lock_tables() 
      on the locks.
      I did not find a test case that failed without the change in
      sql_update.cc. I made the change anyway as it should in theory
      fix a possible MERGE table problem with multi-table update.
      
      
      mysql-test/r/create.result:
        BUG#5390 - problems with merge tables
        Removed a duplicate test.
      mysql-test/r/merge.result:
        BUG#5390 - problems with merge tables
        Problem #1: INSERT...SELECT
        Added test results.
      mysql-test/t/create.test:
        BUG#5390 - problems with merge tables
        Removed a duplicate test.
      mysql-test/t/merge.test:
        BUG#5390 - problems with merge tables
        Problem #1: INSERT...SELECT
        Added tests.
      sql/lock.cc:
        BUG#5390 - problems with merge tables
        Problem #1: INSERT...SELECT
        Added a new function to find a duplicate lock in a list of tables.
      sql/mysql_priv.h:
        BUG#5390 - problems with merge tables
        Problem #1: INSERT...SELECT
        Added a declaration for the new function.
      sql/sql_parse.cc:
        BUG#5390 - problems with merge tables
        Problem #1: INSERT...SELECT
        Changed the duplicate tables detection for INSERT ... SELECT
        to use the new function, which does also work for MERGE tables.
      sql/sql_update.cc:
        BUG#5390 - problems with merge tables
        Changed the duplicate tables detection for UPDATE
        to use the new function, which does also work for MERGE tables.
      39fab575
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.0 · d4277357
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0
      
      d4277357
  7. 22 Nov, 2005 2 commits
  8. 15 Nov, 2005 1 commit
  9. 07 Nov, 2005 1 commit
    • unknown's avatar
      Bug#14616 - Freshly imported table returns error 124 when using LIMIT · 98714590
      unknown authored
      Initialized usable_keys from table->keys_in_use instead of ~0
      in test_if_skip_sort_order(). It was possible that a disabled
      index was used for sorting.
      
      
      mysql-test/r/myisam.result:
        Bug#14616 - Freshly imported table returns error 124 when using LIMIT
        The test result.
      mysql-test/t/myisam.test:
        Bug#14616 - Freshly imported table returns error 124 when using LIMIT
        The test case.
      98714590
  10. 03 Nov, 2005 4 commits
    • unknown's avatar
      Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash · cb60a7b9
      unknown authored
      Version for 4.0.
      It fixes two problems:
      1. The cause of the bug was that we did not check the table version for
         the HANDLER ... READ commands. We did not notice when a table was
         replaced by a new one. This can happen during ALTER TABLE, REPAIR
         TABLE, and OPTIMIZE TABLE (there might be more cases). I call the fix
         for this problem "the primary bug fix".
      2. mysql_ha_flush() was not always called with a locked LOCK_open.
         Though the function comment clearly said it must.
         I changed the code so that the locking is done when required. I call
         the fix for this problem "the secondary fix".
      
      
      mysql-test/r/handler.result:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        The test result.
      mysql-test/t/handler.test:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        The test case.
      sql/mysql_priv.h:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        Changed a definition for the secondary fix.
      sql/sql_base.cc:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        Changed function calls for the secondary fix.
      sql/sql_class.cc:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        Changed a function call for the secondary fix.
      sql/sql_handler.cc:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        The first two diffs make the primary bug fix.
        The rest is for the secondary fix.
      sql/sql_table.cc:
        Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        Changed function calls for the secondary fix.
      cb60a7b9
    • unknown's avatar
      Added test-force to Makefile. · ff74f85a
      unknown authored
      ff74f85a
    • unknown's avatar
      Added new build script for pentium64. · effa48a3
      unknown authored
      effa48a3
    • unknown's avatar
      4792bd88
  11. 28 Oct, 2005 1 commit
  12. 27 Oct, 2005 2 commits
    • unknown's avatar
      - cleanup: removed the empty NEW-RPMS directory and all references · 2dd71980
      unknown authored
       - cleanup: removed obsolete support-files/MacOSX/make_mysql_pkg.pl
         script (we now use Do-pkg for building OS X packages)
      
      
      BitKeeper/deleted/.del-.cvsignore~4c7a1f88a5a62a24:
        Delete: NEW-RPMS/.cvsignore
      BitKeeper/deleted/.del-make_mysql_pkg.pl~caac82eb901cc206:
        Delete: support-files/MacOSX/make_mysql_pkg.pl
      netware/BUILD/compile-linux-tools:
         - removed reference to the NEW-RPMS directory
      netware/BUILD/compile-netware-END:
         - removed reference to the NEW-RPMS directory
      netware/BUILD/compile-netware-src:
         - removed reference to the NEW-RPMS directory
      2dd71980
    • unknown's avatar
      - Removed obsolete and outdated man page files from the man · 7c8f942e
      unknown authored
         directory - these files are now maintained in the mysqldoc
         repository and included in the source distribution during the
         release build. Updated the configure.in script and Makefiles to
         create the man page file list at build time
       - Updated the file list in the RPM spec file to include all currently
         available man pages (this can not be done with wildcards, as
         the man pages are spread across several subpackages. However, RPM
         warns about unpackaged files, so newly added man pages can be 
         spotted)
      
      
      BitKeeper/deleted/.del-isamchk.1.in~9d44303f6d951962:
        Delete: man/isamchk.1.in
      BitKeeper/deleted/.del-isamlog.1.in~416d91adbf665b19:
        Delete: man/isamlog.1.in
      BitKeeper/deleted/.del-mysql.1.in~3f4dbf65d31fea3a:
        Delete: man/mysql.1.in
      BitKeeper/deleted/.del-mysqlaccess.1.in~2adf98feb44a0dbf:
        Delete: man/mysqlaccess.1.in
      BitKeeper/deleted/.del-mysqladmin.1.in~81703c6092a1f769:
        Delete: man/mysqladmin.1.in
      BitKeeper/deleted/.del-mysqld.1.in~42371a82eb27d87c:
        Delete: man/mysqld.1.in
      BitKeeper/deleted/.del-mysqld_multi.1.in~b3f1c5343b8481e6:
        Delete: man/mysqld_multi.1.in
      BitKeeper/deleted/.del-mysqld_safe.1.in~6f34e14acc0c5e0b:
        Delete: man/mysqld_safe.1.in
      BitKeeper/deleted/.del-mysqldump.1.in~9520980bfec710d5:
        Delete: man/mysqldump.1.in
      BitKeeper/deleted/.del-mysql_fix_privilege_tables.1.in~7422405bb0e64325:
        Delete: man/mysql_fix_privilege_tables.1.in
      BitKeeper/deleted/.del-mysql_zap.1.in~df5cf8089b50c624:
        Delete: man/mysql_zap.1.in
      BitKeeper/deleted/.del-mysqlshow.1.in~81ce953dcc1a282f:
        Delete: man/mysqlshow.1.in
      BitKeeper/deleted/.del-perror.1.in~60d1efcbe71bdd9c:
        Delete: man/perror.1.in
      BitKeeper/deleted/.del-replace.1.in~e92dc1aea682608c:
        Delete: man/replace.1.in
      configure.in:
         - dynamically add man pages included in the man directory
           (the BK tree only contains one dummy file, the directory is
           populated by the Bootstrap script by copying current man pages
           from the documentation server)
      man/Makefile.am:
         - removed hard-coded list of man pages, the list is populated
           during the configure stage. When building from BK, only one
           placeholder file exists. For the release builds, this directory
           is populated by the Bootstrap script, which takes man page files
           from the documentation server.
      man/mysqlman.1:
         - removed version number
      support-files/mysql.spec.sh:
         - adjusted file list: added man pages that are now part of the
           official source distribution (taken from the documentation
           server)
      7c8f942e
  13. 25 Oct, 2005 4 commits
  14. 13 Oct, 2005 7 commits
  15. 12 Oct, 2005 1 commit
    • unknown's avatar
      memcpy_overlap() removed, as · 7442890e
      unknown authored
        1. it's wrong to use memcpy() for overlapped areas;
        2. we use it only once.
      During merge to 4.1 will remove a memcpy_overlap() call 
      from strings/ctype-tis620.c as well in order to fix 
      bug #10836: ctype_tis620 test failure with ICC-compiled binaries on IA64.
      
      
      myisam/mi_search.c:
        use memmove() instead, as memcpy_overlap() is removed.
      7442890e
  16. 11 Oct, 2005 2 commits
  17. 09 Oct, 2005 2 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1ebcee94
      unknown authored
      into moonbone.local:/work/7672-bug-4.0-mysql
      
      1ebcee94
    • unknown's avatar
      Fix bug#7672 Unknown column error in order clause · 76235f4f
      unknown authored
      When fixing Item_func_plus in ORDER BY clause field c is searched in all
      opened tables, but because c is an alias it wasn't found there.
      
      This patch adds a flag to select_lex which allows Item_field::fix_fields() 
      to look up in select's item_list to find aliased fields.
      
      
      sql/item.cc:
        Fix bug#7672 Unknown column error in order clause
        When fixing fields in ORDER BY clause allow Item_field::fix_fields() to look up items in select's item list to find aliased fields.
      sql/sql_lex.cc:
         Fix bug#7672 Unknown column error in order clause
      sql/sql_lex.h:
        Fix bug#7672 Unknown column error in order clause
        Added flag to select_lex allowing Item_field::fix_fields to look up items in select's item list.
      sql/sql_select.cc:
        Fix bug#7672 Unknown column error in order clause
      mysql-test/t/select.test:
        Test case for bug#7672 Unknown column error in order clause
      mysql-test/r/select.result:
        Test case for bug#7672 Unknown column error in order clause
      76235f4f
  18. 04 Oct, 2005 1 commit
  19. 03 Oct, 2005 1 commit
    • unknown's avatar
      InnoDB: Display an error message in /* */ comments · 9c5072c0
      unknown authored
      in SHOW CREATE TABLE if a temporary file cannot be created.
      (Bug #13002)
      
      
      sql/ha_innodb.cc:
        ha_innobase::get_foreign_key_create_info(): Display an error
        message to the user if a temporary file cannot be created.
      9c5072c0
  20. 29 Sep, 2005 3 commits