1. 03 Nov, 2005 30 commits
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 91b1630d
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      91b1630d
    • unknown's avatar
      test enabled · 77afc169
      unknown authored
      77afc169
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 579cac8f
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.9551
      
      
      BitKeeper/deleted/.del-ctype_cp932.result:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.test:
        Auto merged
      579cac8f
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · b5746406
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.9551
      
      
      sql/sql_select.cc:
        Auto merged
      b5746406
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 17742635
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      17742635
    • unknown's avatar
      Disabled a test temporarily. · 840834c1
      unknown authored
      840834c1
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4b63b4ad
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_view.h:
        Auto merged
      sql/table.cc:
        Auto merged
      4b63b4ad
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · e5852adc
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      
      e5852adc
    • unknown's avatar
      opt_range.cc: · fa8dafe5
      unknown authored
        Additional fix for bug#14093
      
      
      sql/opt_range.cc:
        Additional fix for bug#14093
      fa8dafe5
    • unknown's avatar
      Changes in get_table_type() and mysql_frm_type(). The main problem was · 5af7ca80
      unknown authored
      that in mysql_rm_table_part2_with_lock() previously we needed to open
      same file twice. Now once is enough.
      
      
      sql/mysql_priv.h:
        Merged functions get_table_type() and mysql_frm_type() into one,
        using the name from latter one.
      sql/sql_base.cc:
        Changed get_table_type() to mysql_frm_type()
      sql/sql_delete.cc:
        Changed get_table_type() to mysql_frm_type()
      sql/sql_rename.cc:
        Changed get_table_type() to mysql_frm_type()
      sql/sql_show.cc:
        Changed get_table_type() to mysql_frm_type()
      sql/sql_table.cc:
        Changed get_table_type() to mysql_frm_type()
      sql/sql_view.cc:
        Merged code from get_table_type() and mysql_frm_type() into the latter one.
      sql/sql_view.h:
        Function prototype changes.
      sql/table.cc:
        No longer needed.
      5af7ca80
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 34ffbfeb
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      
      34ffbfeb
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · 8a4c773a
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.result:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.test:
        Auto merged
      Makefile.am:
        Merged from 4.1
      8a4c773a
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5a206634
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      
      5a206634
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4f2fe287
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-14210
      
      
      sql/handler.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      4f2fe287
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 9c241a07
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.9551
      
      
      9c241a07
    • unknown's avatar
      Merging · f68daacf
      unknown authored
      
      mysql-test/r/ctype_cp932_binlog.result:
        test result fixed
      mysql-test/t/ctype_cp932_binlog.test:
        test fixed with 5.0 specific
      f68daacf
    • unknown's avatar
      A fix and a test case for Bug#14210 "Simple query with > operator on · 3fa0dd23
      unknown authored
      large table gives server crash": make sure that when a MyISAM temporary
      table is created for a cursor, it's created in its memory root,
      not the memory root of the current query.
      
      
      mysql-test/r/sp.result:
        Test results fixed: a test case for Bug#14210
      mysql-test/t/sp.test:
        A test case for Bug#14210 "Simple query with > operator on large table 
        gives server crash"
      sql/handler.cc:
        - rewrite get_new_handler to accept a memory root and use it for
      sql/handler.h:
        - get_new_handler declaration changed
      sql/opt_range.cc:
        - get_new_handler declaration changed
      sql/sql_base.cc:
        - get_new_handler declaration changed
      sql/sql_select.cc:
        - the actual fix for Bug#14210. In create_myisam_from_heap we should
        create the new table handler in TABLE::mem_root, not in THD::mem_root:
        the latter is freed shortly after cursor is open.
        - adjust create_tmp_table to explicitly supply &table->mem_root
        to get_new_handler when creating a handler for a new temporary table
      sql/sql_table.cc:
        - get_new_handler declaration changed
      sql/table.cc:
        - get_new_handler declaration changed
      sql/unireg.cc:
        - get_new_handler declaration changed
      tests/mysql_client_test.c:
        A test case for Bug#14210 "Simple query with > operator on large table
         gives server crash": a C API test case is worth adding because of different
        memory allocation/freeing patterns in handling of C API and SP cursors
      3fa0dd23
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0 · 1484d548
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
      
      
      Makefile.am:
        Merged from 4.0
      mysql-test/mysql-test-run.sh:
        Merged from 4.0
      1484d548
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mysql-4.1.14183 · 6d432642
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.9551
      
      
      BitKeeper/deleted/.del-ctype_cp932.result:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.test:
        Auto merged
      6d432642
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · dd490fd2
      unknown authored
      into moonbone.local:/work/14093-bug-5.0-mysql
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      sql/item.h:
        Auto merged
      dd490fd2
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 4535c354
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.9551
      
      
      sql/sql_select.cc:
        Auto merged
      4535c354
    • unknown's avatar
      Fix bug #14093 Query takes a lot of time when date format is not valid · bb841518
      unknown authored
      Invalid date like 2000-02-32 wasn't converted to int, which lead to not
      using index and comparison with field as astring, which results in slow
      query execution.
      
      convert_constatn_item() and get_mm_leaf() now forces MODE_INVALID_DATES to
      allow such conversion.
      
      
      sql/item.h:
        Fix bug #14093 Query takes a lot of time when date format is not valid
        To Item_int_with_ref added method real_item() which returns ref.
      sql/item_cmpfunc.cc:
         Fix bug #14093 Query takes a lot of time when date format is not valid
        convert_constant_item() now allows conversion of invalid dates like 2000-01-32 to int to make it possible to use index when comparing fields with such dates.
      sql/opt_range.cc:
         Fix bug #14093 Query takes a lot of time when date format is not valid
        get_mm_leaf() modified so it allows index usage for comparing fields with invalid dates like 2000-01-32.
      mysql-test/r/select.result:
        Test case for bug#14093 Query takes a lot of time when date format is not valid
      mysql-test/t/select.test:
        Test case for bug#14093 Query takes a lot of time when date format is not valid
      bb841518
    • unknown's avatar
      Added test-force to Makefile. · fb4c949f
      unknown authored
      fb4c949f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 096f181d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      096f181d
    • unknown's avatar
      Added new build script for pentium64. · 9a714420
      unknown authored
      9a714420
    • unknown's avatar
      1fb1802e
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · b162827e
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      
      b162827e
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 1f37efa0
      unknown authored
      into mysql.com:/home/hf/work/mysql-4.1.14183
      
      
      1f37efa0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4f1a5591
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      4f1a5591
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 4d65081c
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.13573
      
      
      sql/item_func.cc:
        Auto merged
      4d65081c
  2. 02 Nov, 2005 10 commits