1. 16 Feb, 2006 1 commit
    • unknown's avatar
      Bug#11527 - Setting myisam_repair_threads to >1 leads to corruption · d46fc0e8
      unknown authored
      A wrong cast led to numeric overflow for data files
      greater than 4GB. The parallel repair assumed end of
      file after reading the amount of data that the file
      was bigger than 4GB. It truncated the data file and
      noted the number of records it found so far in the
      index file header as the number of rows in the table.
      Removing the cast fixed the problem.
      I added some cosmetic changes too.
      
      The normal repair worked because it uses a different
      function to read from the data file.
      
      
      mysys/mf_iocache.c:
        Bug#11527 - Setting myisam_repair_threads to >1 leads to corruption
        The pure fix was to remove a cast from a file offset difference.
        Supplemented this with warnings in function comments,
        a change from == to <= to be slightly more safe,
        a renaming from "read_len" to "left_length" to make the
        partial code duplication between _my_b_read() and _my_b_read_r()
        more obvious and easier to compare the functions,
        removed another unnecessary (but harmless) cast,
        and fixed coding sytle around the "left_length" changes.
      d46fc0e8
  2. 27 Jan, 2006 1 commit
    • unknown's avatar
      configure.in: · 5681e7f6
      unknown authored
        Generated "libmysql.ver" will be in \$(top_builddir)
      
      
      configure.in:
        Generated "libmysql.ver" will be in \$(top_builddir)
      5681e7f6
  3. 26 Jan, 2006 6 commits
  4. 25 Jan, 2006 4 commits
  5. 24 Jan, 2006 3 commits
  6. 23 Jan, 2006 6 commits
    • unknown's avatar
      Fixed bug #16510: Updating field named like '*name' caused server crash. · e14c9c5d
      unknown authored
      When setup_fields() function finds field named '*' it expands it to the list
      of all table fields. It does so by checking that the first char of
      field_name is '*', but it doesn't checks that the '* is the only char.
      Due to this, when updating table with a field named like '*name', such field
      is wrongly treated as '*' and expanded. This leads to making list of fields
      to update being longer than list of the new values. Later, the fill_record() 
      function crashes by dereferencing null when there is left fields to update,
      but no more values.
      
      Added check in the setup_fields() function which ensures that the field
      expanding will be done only when '*' is the only char in the field name.
      
      
      mysql-test/t/update.test:
        Added test case for bug#16510: Updating field named like '*name' caused server crash
      mysql-test/r/update.result:
        Added test case for bug#16510: Updating field named like '*name' caused server crash
      sql/sql_base.cc:
        Fixed bug #16510: Updating field named like '*name' caused server crash.
        Added check in the setup_fields() function which ensures that the field
        expanding will be done only when '*' is the only char in the field name.
      e14c9c5d
    • unknown's avatar
      Merge gboehn@bk-internal.mysql.com:/home/bk/mysql-4.1 · 736f9c09
      unknown authored
      into  phoenix.(none):/data/mysql-4.1-BK
      
      
      736f9c09
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1 · a120d6c5
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG16489/mysql-4.1
      
      
      a120d6c5
    • unknown's avatar
      BUG#16489 - utf8 + fulltext leads to corrupt index file. · 0ee28e1a
      unknown authored
      Fixed that UPDATE statement crashes multi-byte charset fulltext index.
      
      
      myisam/ft_update.c:
        Fixed that UPDATE statement crashes multi-byte charset fulltext index.
        While updating, always rewrite multi-byte charset fulltext index.
      mysql-test/r/fulltext2.result:
        Added a testcase for BUG#16489.
      mysql-test/t/fulltext2.test:
        Added a testcase for BUG#16489.
      0ee28e1a
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · b0a31047
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug14634/my41-bug14634
      
      
      b0a31047
    • unknown's avatar
      Merge gboehn@bk-internal.mysql.com:/home/bk/mysql-4.1 · c56ae507
      unknown authored
      into  phoenix.(none):/data/mysql-4.1-BK
      
      
      c56ae507
  7. 21 Jan, 2006 3 commits
  8. 19 Jan, 2006 3 commits
  9. 18 Jan, 2006 6 commits
  10. 17 Jan, 2006 7 commits