1. 13 Jul, 2007 1 commit
  2. 12 Jul, 2007 4 commits
    • unknown's avatar
      BUG#29464 - load data infile into table with big5 chinese fulltext index · f205d0ae
      unknown authored
                  hangs 100% cpu
      
      Moved a test case for BUG#29464 into fulltext3.test, since it requires big5
      character set.
      
      
      mysql-test/r/fulltext.result:
        Moved a test case for BUG#29464 into fulltext3.test, since it requires big5
        character set.
      mysql-test/r/fulltext3.result:
        Moved a test case for BUG#29464 into fulltext3.test, since it requires big5
        character set.
      mysql-test/t/fulltext.test:
        Moved a test case for BUG#29464 into fulltext3.test, since it requires big5
        character set.
      mysql-test/t/fulltext3.test:
        Moved a test case for BUG#29464 into fulltext3.test, since it requires big5
        character set.
      f205d0ae
    • unknown's avatar
      BUG#29445 - match ... against () never returns · e1a697c8
      unknown authored
      Part 2:
      Searching fulltext index for a word with boolean mode truncation
      operator may cause infinite loop.
      
      The problem was that "smarter index merge" was used with "trunc-words",
      which must never happen.
      
      Affects 5.1 only.
      
      
      mysql-test/r/fulltext.result:
        Addition to a test case for BUG#29445.
      mysql-test/t/fulltext.test:
        Addition to a test case for BUG#29445.
      storage/myisam/ft_boolean_search.c:
        Fulltext "smarter index merge" optimization assumes that rows
        it gets are ordered by doc_id. That is not the case when we
        search for a word with truncation operator. It may return
        rows in random order. Thus we may not use "smarter index merge"
        optimization with "trunc-words".
        
        Also fixed compiler warning introduced by Part 1 patch.
      e1a697c8
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-5.1-ateam · 341aa0e5
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.1-bug28810
      
      341aa0e5
    • unknown's avatar
      Bug#28158 - table->read_set is set incorrectly, · a4dc99fb
      unknown authored
              causing wrong error message in Falcon
      
      An error message about a duplicate key could show a wrong key
      value when not all columns of the key were used to select the
      rows for update.
      
      Some storage engines return a record with only the selected
      columns filled.
      
      This is fixed by re-reading the record with a read_set which
      includes all columns of the duplicate key after a duplicate key
      error happens and before the error message is printed.
      
      
      mysql-test/r/ndb_update.result:
        Bug#28158 - table->read_set is set incorrectly,
                    causing wrong error message in Falcon
        Added test result.
      mysql-test/t/ndb_update.test:
        Bug#28158 - table->read_set is set incorrectly,
                    causing wrong error message in Falcon
        Added test from falcon_bug_28158.
      sql/sql_update.cc:
        Bug#28158 - table->read_set is set incorrectly,
                    causing wrong error message in Falcon
        Added a function for re-reading a record with a read_set
        that contains all fields used by a duplicate key.
        Called the function before every call to handler::print_error(),
        which could print a duplicate key value.
      a4dc99fb
  3. 11 Jul, 2007 2 commits
  4. 10 Jul, 2007 1 commit
    • unknown's avatar
      BUG#29445 - match ... against () never returns · 43e8245e
      unknown authored
      Part 1:
      Do not perform index search for a plus-word with truncation operator
      in case there are other plus-words in expression.
      
      Specifically this optimization was enforced for expression like
      "+word1 +word2*", but wasn't enforced for expression like
      "+word1 word2*".
      
      
      mysql-test/r/fulltext.result:
        A test case for BUG#29445.
      mysql-test/t/fulltext.test:
        A test case for BUG#29445.
      storage/myisam/ft_boolean_search.c:
        Do not perform index search for a plus-word with truncation operator
        in case there are other plus-words in expression.
        
        Specifically this optimization was enforced for expression like
        "+word1 +word2*", but wasn't enforced for expression like
        "+word1 word2*".
      43e8245e
  5. 09 Jul, 2007 2 commits
  6. 08 Jul, 2007 13 commits
  7. 07 Jul, 2007 14 commits
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 3c2eb9ec
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug29417
      
      
      mysql-test/r/type_newdecimal.result:
        Manual merge.
      mysql-test/t/type_newdecimal.test:
        Manual merge.
      3c2eb9ec
    • unknown's avatar
      Merge gshchepa@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · bf28faf7
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      bf28faf7
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · d4eff336
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/include/mix1.inc:
        Merge with 5.0-opt.
      d4eff336
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1-opt · cbc7749f
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      cbc7749f
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1 · d96a40a6
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/innodb_mysql.result:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Merge with 5.1 (main).
      d96a40a6
    • unknown's avatar
      Fixed bug #29417. · 578d9721
      unknown authored
      An assertion abort could occur for some grouping queries that employed 
      decimal user variables with assignments to them.
      
      The problem appeared the constructors of the class Field_new_decimal
      because the function my_decimal_length_to_precision did not guarantee
      returning decimal precision not greater than DECIMAL_MAX_PRECISION.
      
      
      mysql-test/r/type_newdecimal.result:
        Added a test case for bug #29417.
      mysql-test/t/type_newdecimal.test:
        Added a test case for bug #29417.
      sql/field.cc:
        Fixed bug #29417.
        An assertion abort could occur for some grouping queries that employed 
        decimal user variables with assignments to them.
        
        The problem appeared the constructors of the class Field_new_decimal
        because the function my_decimal_length_to_precision did not guarantee
        returning decimal precision not greater than DECIMAL_MAX_PRECISION.
        
        Now if the precision returned by calls to my_decimal_length_to_precision
        in the constructors of the class Field_new_decimal is greater than 
        DECIMAL_MAX_PRECISION the precision is set to this value.
      578d9721
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · 6e24d4e6
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/t/innodb_mysql.test:
        Merge with 5.0 (main).
      6e24d4e6
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1 · fd4904e9
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/4.1-opt
      
      fd4904e9
    • unknown's avatar
      Fixed bug #29415. · 5e401735
      unknown authored
      The cast operation ignored the cases when the precision and/or the scale exceeded
      the limits, 65 and 30 respectively. No errors were reported in these cases.
      For some queries this may lead to an assertion abort.
      
      Fixed by throwing errors for such cases.
      
      
      mysql-test/r/type_newdecimal.result:
        Added a test case for bug #29415.
      mysql-test/t/type_newdecimal.test:
        Added a test case for bug #29415.
      5e401735
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 00f0c4a6
      unknown authored
      into  anubis.xiphis.org:/usr/home/antony/work/mysql-5.1-engines.merge
      
      00f0c4a6
    • unknown's avatar
      006fb950
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 5a040380
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/gis.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/gis.test:
        Auto merged
      mysql-test/t/loaddata.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/spatial.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      mysql-test/r/loaddata.result:
        Merge with 5.0-opt.
      mysql-test/t/view.test:
        Merge with 5.0-opt.
      5a040380
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/mysql-5.0-engines · 40ceddfa
      unknown authored
      into  ymer.(none):/usr/local/mysql/mysql-5.1-engines
      
      
      sql/stacktrace.c:
        Auto merged
      BUILD/compile-pentium-gcov:
        Manual merge.
      40ceddfa
    • unknown's avatar
      Bug #29543 GCov information not written in case of crash. · 1ec3e7f4
      unknown authored
      For GCov builds, if the server crashes, the normal exit handler for writing
      coverage information is not executed due to the abnormal termination.
      
      Fix this by explicitly calling the __gcov_flush function in our crash handler.
      
      1ec3e7f4
  8. 06 Jul, 2007 3 commits
    • unknown's avatar
      Merge... · df216211
      unknown authored
      Merge ppcg5.local:/private/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.0-engines.merge
      into  ppcg5.local:/private/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.1-engines.merge
      
      
      df216211
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1 · 8114bdf3
      unknown authored
      into  ppcg5.local:/private/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.1-engines.merge
      
      
      libmysql/libmysql.c:
        Auto merged
      8114bdf3
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7cbbce05
      unknown authored
      into  ppcg5.local:/private/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.0-engines.merge
      
      7cbbce05