1. 29 Sep, 2006 2 commits
  2. 28 Sep, 2006 11 commits
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-bug22384 · 8daabf3b
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug22384
      
      
      myisam/mi_delete.c:
        Auto merged
      8daabf3b
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.0-bug22384 · d198c072
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug22384
      
      
      myisam/mi_delete.c:
        Auto merged
      d198c072
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-4.1-engines · 1eb1bf1f
      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.
      1eb1bf1f
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · a93e2871
      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.
      a93e2871
    • unknown's avatar
      BUG#21617 - crash when selecting from merge table with inconsistent indexes · 1c6bca02
      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.
      1c6bca02
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 251b488f
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21675/mysql-5.0-engines
      
      251b488f
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-5.0-engines · e3525c54
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21675/mysql-5.0-engines
      
      
      sql/ha_archive.cc:
        Auto merged
      e3525c54
    • unknown's avatar
      BUG#21675 - engine=archive 2GB file limit, when reached mysqld restarts on any query · eb5a8828
      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.
      eb5a8828
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines · 7ddf1f5f
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug20719-m
      
      7ddf1f5f
    • unknown's avatar
      Bug#22384 - DELETE FROM table causes "Incorrect key file for table" · e9dfa4ab
      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.
      e9dfa4ab
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 25076e81
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug20719-m
      
      25076e81
  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 · 04aa144e
      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
      04aa144e
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.0-bug14400 · 2c030b4b
      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
      2c030b4b
  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 · a442e432
      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.
      a442e432
    • unknown's avatar
      Bug#20830 - INSERT DELAYED does not honour SET INSERT_ID · 4e52d5ac
      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.
      4e52d5ac
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines · c6e413c7
      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
      c6e413c7
  8. 19 Sep, 2006 5 commits
    • unknown's avatar
      BUG#10974 - No error message if merge table based on union of innodb, memory · 485e862e
      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.
      485e862e
    • unknown's avatar
      After merge fix. · 432d127e
      unknown authored
      432d127e
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-bug14400-monty · 8383b486
      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.
      8383b486
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0 · 1102d49d
      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.
      1102d49d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 0522acdf
      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
      0522acdf
  9. 18 Sep, 2006 6 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · cf275ba9
      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
      cf275ba9
    • unknown's avatar
      Merge may.pils.ru:/home/svoj/devel/mysql/merge/mysql-4.1 · d10d0af5
      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
      d10d0af5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · f1b67362
      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
      f1b67362
    • unknown's avatar
      Merge april.(none):/home/svoj/devel/bk/mysql-4.1-engines · e628b8c6
      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
      e628b8c6
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4687b6ad
      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
      4687b6ad
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · 62d5d7cd
      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
      62d5d7cd