1. 29 Sep, 2006 2 commits
  2. 28 Sep, 2006 11 commits
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-bug22384 · 43f00a09
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug22384
      
      
      myisam/mi_delete.c:
        Auto merged
      43f00a09
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.0-bug22384 · 03b88a48
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug22384
      
      
      myisam/mi_delete.c:
        Auto merged
      03b88a48
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-4.1-engines · 59a7f1ab
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-5.0-engines
      
      
      myisammrg/myrg_open.c:
        Auto merged
      myisammrg/myrg_queue.c:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      mysql-test/r/merge.result:
        Manual merge.
      59a7f1ab
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · d96989ca
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-4.1-engines
      
      
      myisammrg/myrg_open.c:
        Auto merged
      mysql-test/r/merge.result:
        Manual merge.
      mysql-test/t/merge.test:
        Manual merge.
      d96989ca
    • unknown's avatar
      BUG#21617 - crash when selecting from merge table with inconsistent indexes · 7d915f01
      unknown authored
      Crash may happen when selecting from a merge table that has underlying
      tables with less indexes than in a merge table itself.
      
      If number of keys in merge table is not bigger than requested key number,
      return error.
      
      
      myisammrg/myrg_open.c:
        Store min(number of keys) in m_info instead of number of keys in last
        underlying table.
      myisammrg/myrg_queue.c:
        Return error if inx passed to _myrg_init_queue function is not less
        than number of keys.
      mysql-test/r/merge.result:
        A test case for bug#21617.
      mysql-test/t/merge.test:
        A test case for bug#21617.
      mysys/queues.c:
        Replaced annoying ifndef DBUG_OFF with DBUG_ASSERT, fixed coding style.
        The problem was that having queue overrun in debug build was hidden
        with this ifdef.
      7d915f01
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 9902c35a
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21675/mysql-5.0-engines
      
      
      9902c35a
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-5.0-engines · 33163d15
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21675/mysql-5.0-engines
      
      
      sql/ha_archive.cc:
        Auto merged
      33163d15
    • unknown's avatar
      BUG#21675 - engine=archive 2GB file limit, when reached mysqld restarts on any query · 9e6eaaf0
      unknown authored
      If mysqld is linked against system installed zlib (which is likely compiled w/o
      LFS) and archive table exceedes 2G, mysqld will likely be terminated with SIGXFSZ.
      
      Prior to actual write perform a check if there is space in data file. This fixes
      abnormal process termination with SIGXFSZ.
      
      No test case for this bugfix.
      
      
      sql/ha_archive.cc:
        Prior to actual write perform a check if there is space in data file. This fixes
        abnormal process termination with SIGXFSZ.
      sql/ha_archive.h:
        Added approximate archive data file size to archive share.
      9e6eaaf0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines · 1f9b9591
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug20719-m
      
      
      1f9b9591
    • unknown's avatar
      Bug#22384 - DELETE FROM table causes "Incorrect key file for table" · 24a1e6f6
      unknown authored
      Deletes on a big index could crash the index when it needs to
      shrink.
      
      Put a forgotten negation operator in.
      
      No test case. It is too big for the test suite. And it does not
      work with 4.0, only with higher versions. It is attached to the
      bug report.
      
      
      myisam/mi_delete.c:
        Bug#22384 - DELETE FROM table causes "Incorrect key file for table"
        Put a negation operator ('!') before _mi_get_last_key() in del().
        It returns NULL on error, non-NULL on success.
      24a1e6f6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 56cfda33
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug20719-m
      
      
      56cfda33
  3. 27 Sep, 2006 7 commits
  4. 23 Sep, 2006 2 commits
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-bug14400-monty · b810b16e
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug14400-monty
      
      
      BitKeeper/etc/ignore:
        auto-union
      myisam/mi_rkey.c:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      b810b16e
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.0-bug14400 · 4a15278d
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug14400-monty
      
      
      myisam/mi_rkey.c:
        Bug#14400 - Query joins wrong rows from table which is subject of
                    "concurrent insert"
        Merge of after merge fix
      mysql-test/r/myisam.result:
        Bug#14400 - Query joins wrong rows from table which is subject of
                    "concurrent insert"
        Merge of after merge fix
      mysql-test/t/myisam.test:
        Bug#14400 - Query joins wrong rows from table which is subject of
                    "concurrent insert"
        Merge of after merge fix
      4a15278d
  5. 22 Sep, 2006 3 commits
  6. 21 Sep, 2006 1 commit
  7. 20 Sep, 2006 3 commits
    • unknown's avatar
      BUG#21459 - myisam_ftdump gives bad counts for common words · 1eb82be2
      unknown authored
      This problem affects myisam_ftdump tool only.
      
      For fulltext index positive subkeys means word weight, negative subkeys
      means number of documents in level 2 fulltext index.
      
      Fixed that document counter was not properly updated for keys having
      level 2 fulltext index.
      
      No test case for this bug.
      
      
      myisam/myisam_ftdump.c:
        For fulltext index positive subkeys means word weight, negative subkeys
        means number of documents in level 2 fulltext index.
        
        Fixed that document counter was not properly updated for keys having
        level 2 fulltext index.
      1eb82be2
    • unknown's avatar
      Bug#20830 - INSERT DELAYED does not honour SET INSERT_ID · 15b1ee2f
      unknown authored
      Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
      
      INSERT DELAYED ignored an explicitly set INSERT_ID and session
      specific auto_increment_* variables.
      
      The problem was that the inserts are done by a system thread,
      which does not have access to the session variables of the user
      thread.
      
      On a proposal of Guilhem I fixed it so that the variables are
      copied to the data structure for every delayed row. The system
      thread sets its session variables from these values.
      
      
      mysql-test/r/delayed.result:
        Bug#20830 - INSERT DELAYED does not honour SET INSERT_ID
        Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
        Turned some sleeps into FLUSH TABLEs.
        Added test cases.
      mysql-test/t/delayed.test:
        Bug#20830 - INSERT DELAYED does not honour SET INSERT_ID
        Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
        Turned some sleeps into FLUSH TABLEs.
        Added test cases.
      sql/sql_insert.cc:
        Bug#20830 - INSERT DELAYED does not honour SET INSERT_ID
        Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
        Added auto_increment/insert_id related variables to 'delayed_row'.
        The session values are copied to 'delayed_row' by the user thread.
        The delayed insert thread copies them to his session variables.
      15b1ee2f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines · f6951675
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug14400-monty
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      f6951675
  8. 19 Sep, 2006 5 commits
    • unknown's avatar
      BUG#10974 - No error message if merge table based on union of innodb, memory · 23fefc88
      unknown authored
      Fixed confusing error message from the storage engine when
      it fails to open underlying table. The error message is issued
      when a table is _opened_ (not when it is created).
      
      
      myisammrg/myrg_open.c:
        Set my_errno to HA_ERR_WRONG_MRG_TABLE_DEF if attempt to open
        underlying table failed.
      mysql-test/r/merge.result:
        A test case for bug#10974.
      mysql-test/r/repair.result:
        Fixed a test case according to patch for bug#10974.
      mysql-test/t/merge.test:
        A test case for bug#10974.
      sql/share/english/errmsg.txt:
        Better error message if we fail to open underlying table.
      sql/table.cc:
        Report error from handler with print_error instead of frm_error. This
        fixes confusing error message from the handler. Actually this is
        backported from 5.0.
      23fefc88
    • unknown's avatar
      After merge fix. · 11ba3204
      unknown authored
      11ba3204
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-bug14400-monty · 08f4565e
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug14400-monty
      
      
      BitKeeper/etc/ignore:
        auto-union
      include/my_global.h:
        Auto merged
      myisam/mi_rkey.c:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      myisam/mi_test_all.res:
        Manual merge from 4.1.
      sql/sql_select.cc:
        Manual merge from 4.1.
      08f4565e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0 · 82a72ee1
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug14400-monty
      
      
      BitKeeper/etc/ignore:
        auto-union
      include/my_global.h:
        Auto merged
      myisam/mi_rkey.c:
        Manual null merge as a better fix is already present.
      mysql-test/r/myisam.result:
        Manual null merge as a better fix is already present.
      mysql-test/t/myisam.test:
        Manual null merge as a better fix is already present.
      sql/sql_select.cc:
        Manual merge of purify improvements.
      82a72ee1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 06ced7c1
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0--team
      
      
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      06ced7c1
  9. 18 Sep, 2006 6 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 8fbadf05
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0--team
      
      
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      8fbadf05
    • unknown's avatar
      Merge may.pils.ru:/home/svoj/devel/mysql/merge/mysql-4.1 · 186573b3
      unknown authored
      into  may.pils.ru:/home/svoj/devel/mysql/merge/mysql-4.1-engines
      
      
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      186573b3
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 665ebc05
      unknown authored
      into  dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.0-opt
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      665ebc05
    • unknown's avatar
      Merge april.(none):/home/svoj/devel/bk/mysql-4.1-engines · 74c82824
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/merge/mysql-5.0-engines
      
      
      myisam/mi_rkey.c:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      74c82824
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · dfb219f6
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/merge/mysql-5.0-engines
      
      
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/share/errmsg.txt:
        SCCS merged
      dfb219f6
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · db1a94a7
      unknown authored
      into  dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.0-opt
      
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      db1a94a7