1. 06 Dec, 2005 1 commit
  2. 04 Dec, 2005 1 commit
    • unknown's avatar
      A set of Netware related patches. · 60f2e7a9
      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.
      60f2e7a9
  3. 29 Nov, 2005 2 commits
    • unknown's avatar
      BUG#5390 - problems with merge tables · 38b7ede9
      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.
      38b7ede9
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 0c047245
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0
      
      
      0c047245
  4. 22 Nov, 2005 2 commits
  5. 15 Nov, 2005 1 commit
  6. 07 Nov, 2005 1 commit
    • unknown's avatar
      Bug#14616 - Freshly imported table returns error 124 when using LIMIT · 5412ee4f
      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.
      5412ee4f
  7. 03 Nov, 2005 4 commits
    • unknown's avatar
      Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash · 7d183320
      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.
      7d183320
    • unknown's avatar
      Added test-force to Makefile. · fb4c949f
      unknown authored
      fb4c949f
    • unknown's avatar
      Added new build script for pentium64. · 9a714420
      unknown authored
      9a714420
    • unknown's avatar
      1fb1802e
  8. 28 Oct, 2005 1 commit
  9. 27 Oct, 2005 2 commits
    • unknown's avatar
      - cleanup: removed the empty NEW-RPMS directory and all references · ac22cdc5
      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
      ac22cdc5
    • unknown's avatar
      - Removed obsolete and outdated man page files from the man · 0ffe070c
      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)
      0ffe070c
  10. 25 Oct, 2005 4 commits
  11. 13 Oct, 2005 7 commits
  12. 12 Oct, 2005 1 commit
    • unknown's avatar
      memcpy_overlap() removed, as · 6c89848d
      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.
      6c89848d
  13. 11 Oct, 2005 2 commits
  14. 09 Oct, 2005 2 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.0 · a1f49284
      unknown authored
      into moonbone.local:/work/7672-bug-4.0-mysql
      
      
      a1f49284
    • unknown's avatar
      Fix bug#7672 Unknown column error in order clause · f3f84ed8
      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
      f3f84ed8
  15. 04 Oct, 2005 1 commit
  16. 03 Oct, 2005 1 commit
    • unknown's avatar
      InnoDB: Display an error message in /* */ comments · 9595cc33
      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.
      9595cc33
  17. 29 Sep, 2005 3 commits
  18. 27 Sep, 2005 1 commit
  19. 23 Sep, 2005 1 commit
    • unknown's avatar
      Bug#9112 - Merge table with composite index producing invalid results with some queries · 674c8165
      unknown authored
      The problem was an ab-use of last_rkey_length.
      Formerly we saved the packed key length (of the search key)
      in this element. But in certain cases it got replaced by 
      the (packed) result key length.
      Now we use a new element of MI_INFO to save the packed key 
      length of the search key.
      
      
      myisam/mi_dbug.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Fixed the recognition of NULL values in _mi_print_key().
      myisam/mi_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Saved the packed key length in a new element of MI_INFO.
      myisam/mi_search.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Added a comment and trace prints.
      myisam/myisamdef.h:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Added a new element to store the packed key length
        for use by the MyISAMMRG engine.
      myisammrg/myrg_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Changed to use the new element of MI_INFO to get at the
        packed key length.
      mysql-test/r/merge.result:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        The test result.
      mysql-test/t/merge.test:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        The test case.
      674c8165
  20. 19 Sep, 2005 1 commit
  21. 18 Sep, 2005 1 commit