1. 01 Dec, 2006 1 commit
  2. 29 Nov, 2006 1 commit
  3. 28 Nov, 2006 1 commit
    • unknown's avatar
      Bug#23139 - myisamchk and mysqld crash when trying to access table · 12db2f95
      unknown authored
      A corrupted compressed table could crash the server and
      myisamchk.
      
      The data file of an uncompressed table contains just the records.
      There is no header in the data file.
      
      However the data file of a compressed table has a header.
      The header describes how the table was compressed. This
      information is necessary to extract the records from the
      compressed data file.
      
      Part of the compressed data file header are the [de]code tables.
      They are numeric representations of the Huffman trees used for
      coding and decoding. A Huffman tree is a binary tree. Every
      node has two childs. A child can be a leaf or a branch. Leaves
      contain the decoded value. Branches point to another tree node.
      
      Since the [de]code table is represented as an array of childs,
      the branches need to point at a child within the same array.
      The corruption of the compressed data file from the bug report
      was a couple of branches that pointed outside their array.
      This condition had not been correctly checked.
      
      I added some checks for the pointers in the decode tables.
      This type of corruption will no longer crash the server or
      myisamchk.
      
      No test case. A corrupted compressed table is required.
      
      
      myisam/mi_packrec.c:
        Bug#23139 - myisamchk and mysqld crash when trying to access table
        Added some checks for the pointers in the decode tables.
        Added comments, DBUG prints, style fixes.
      12db2f95
  4. 15 Nov, 2006 1 commit
  5. 14 Nov, 2006 2 commits
  6. 13 Nov, 2006 1 commit
  7. 11 Nov, 2006 1 commit
    • unknown's avatar
      mysql-test-run.pl: · c60d8fb1
      unknown authored
        Test for base directory when a RPM install corrected
      
      
      mysql-test/mysql-test-run.pl:
        Test for base directory when a RPM install corrected
      c60d8fb1
  8. 10 Nov, 2006 6 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M41/bug17194-4.1 · a8aba345
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      a8aba345
    • unknown's avatar
      Merge trift2.:/MySQL/M41/clone-4.1 · 94e45811
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      myisam/sort.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Manual merge.
      94e45811
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8bde499f
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mtr-4.1
      
      8bde499f
    • unknown's avatar
      add --report-features to mysql-test-run.pl · 92131d1f
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        add --report-features
      mysql-test/include/report-features.test:
        test file showing server features for mysql-test-run.pl --report-features
      92131d1f
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1f34f659
      unknown authored
      into  outpost.site:/home/cps/mysql/trees/4.1-runtime-bug9191
      
      
      configure.in:
        Auto merged
      include/my_time.h:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/rename.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/time.cc:
        Auto merged
      mysql-test/t/rename.test:
        choose one of the race problem solutions. It was solved
        differently in -runtime and mainstream
      1f34f659
    • unknown's avatar
      mysql-test-run.sh: · 921746a8
      unknown authored
        Added --force-restart pseudo server argument to shell version as well
      
      
      mysql-test/mysql-test-run.sh:
        Added --force-restart pseudo server argument to shell version as well
      921746a8
  9. 09 Nov, 2006 1 commit
    • unknown's avatar
      mysql-test/install_test_db.sh · df092d70
      unknown authored
          Adapt to the different path of the server program, if installation was by RPM.
          Missing in the first changeset for bug#17194.
      
      
      mysql-test/install_test_db.sh:
        Adapt to the different path of the server program, if installation was by RPM.
        Missing in the first changeset for bug#17194.
      df092d70
  10. 08 Nov, 2006 2 commits
  11. 07 Nov, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/lic/my40-lic · 0301312d
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/lic/my41-lic
      
      
      README:
        Auto merged
      0301312d
    • unknown's avatar
      make_binary_distribution.sh: · e6161758
      unknown authored
        Added LICENSE.mysql, removed LICENSE.doc README.NW.
        Removed obselete section about MySQLEULA.txt and README.NW.
      README:
        Added reference to the EXCEPTIONS-CLIENT file.
        Changed reference to the commercial license file.
        Corrected references into chapters in the manual.
      .del-MySQLEULA.txt~4a1afd9284f9be5a:
        Delete: Docs/MySQLEULA.txt
      
      
      README:
        Added reference to the EXCEPTIONS-CLIENT file.
        Changed reference to the commercial license file.
        Corrected references into chapters in the manual.
      BitKeeper/deleted/.del-MySQLEULA.txt~4a1afd9284f9be5a:
        Delete: Docs/MySQLEULA.txt
      scripts/make_binary_distribution.sh:
        Added LICENSE.mysql, removed LICENSE.doc README.NW.
        Removed obselete section about MySQLEULA.txt and README.NW.
      e6161758
    • unknown's avatar
      Fix bug#24023: Let "ndb/src/common/portlib/gcc.cpp" export a dummy symbol. · e9a190d1
      unknown authored
      
      ndb/src/common/portlib/gcc.cpp:
        Fix bug#24023:  Make sure this module always exports some symbol, whether used anywhere or not.
      e9a190d1
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · 7cd7f1ca
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG23312/mysql-4.1-engines
      
      7cd7f1ca
  12. 05 Nov, 2006 2 commits
  13. 03 Nov, 2006 4 commits
  14. 02 Nov, 2006 8 commits
  15. 01 Nov, 2006 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b6102f67
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-4.1-runtime
      
      
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/func_gconcat.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      b6102f67
    • unknown's avatar
      BUG#23312 - server hangs 'closing tables' with insert delayed,flush · 863a3f0f
      unknown authored
                  tables,alter table
      Deadlock could happen if there are delayed insert + flush tables + alter table
      running concurrently.
      
      This is fixed by removing a redundant mutex lock when killing a delayed thread.
      
      
      sql/sql_insert.cc:
        Removed redundant delayed thread mutex lock, that could result in a deadlock.
        LOCK_delayed_insert is sufficient to be sure that no other thread frees delayed
        handler.
      863a3f0f
    • unknown's avatar
      mysql-test/mysql-test-run.pl + mysql-test/mysql-test-run.sh · 5598be65
      unknown authored
      Necessary changes if one of the test scripts is to be used with a RPM installation (bug#17194).
      
      This change handles finding the server and the other programs,
      but it does not solve the problem to get a writable "var" directory.
      If we want to avoid world-writable directories below "/usr/share/mysql-test" (and we do!), 
      any automatic solution would require fixed decisions which may not match the local installation.
      
      For the Perl script, use "--vardir"; for the shell script, create "mysql-test/var" manually.
      
      
      mysql-test/mysql-test-run.pl:
        Modifications to use this script in a RPM installation (bug#17194):
        - The tests are one level further down, "/usr/share/mysqltest" (vs. "/usr/bin").
        - A "mysql-bench" might not exist.
        - "mysql-test" is owned by root and not world-writable, so "var" must be put somewhere else.
        - The server, "mysqld", is in a different location, "/usr/sbin".
        
        Note that the "--vardir" option must be used in a RPM installation,
        unless "mysql-test" is made writable for the user who runs the tests (not done automatically).
      mysql-test/mysql-test-run.sh:
        Necessary changes if this script is to be used with a RPM installation (bug#17194):
        - The tests are one level further down, "/usr/share/mysqltest" (vs. "/usr/bin").
        - The server, "mysqld", is in a different location, "/usr/sbin".
        
        Note that these changes are not sufficient, as the user needs a writable "mysql-test/var" subdirectory.
        Either this is created manually, or the script can not be used.
        An alternative is the corresponding Perl script which supports a "--vardir" option.
      5598be65
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 99d05f25
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      99d05f25
    • unknown's avatar
      Merge 192.168.0.10:mysql/mysql-4.1-maint · 1001be57
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      1001be57