1. 09 Feb, 2004 2 commits
    • unknown's avatar
      ufter revview fix (BUG#2120) · 61f0e69c
      unknown authored
      
      mysql-test/r/derived.result:
        test of error handling in derived tables with UPDATE & DELETE
      mysql-test/t/derived.test:
        test of error handling in derived tables with UPDATE & DELETE
      sql/mysql_priv.h:
        opened tables counter added to avoid loop of tables calculating in lock_tables
      sql/sql_acl.cc:
        opened tables counter added to avoid loop of tables calculating in lock_tables, here it is just for compatibility
      sql/sql_base.cc:
        removed unneeded assignment
        opened tables counter added to avoid loop of tables calculating in lock_tables
        commentary fixed
      sql/sql_derived.cc:
        mysql_derived made static
        variable res moved in place where it used
        priveleges written in correct place
      sql/sql_handler.cc:
        opened tables counter added to avoid loop of tables calculating in lock_tables
      sql/sql_parse.cc:
        mistyping in commentary fixed
      61f0e69c
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 584ddfda
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1
      
      
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      584ddfda
  2. 06 Feb, 2004 1 commit
  3. 05 Feb, 2004 3 commits
  4. 04 Feb, 2004 2 commits
  5. 03 Feb, 2004 4 commits
  6. 02 Feb, 2004 8 commits
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0058d24d
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2438/mysql-4.1
      
      
      0058d24d
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · bfadd733
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2438/mysql-4.1
      
      
      bfadd733
    • unknown's avatar
      changed allocation of st_table::insert_values · bbdba292
      unknown authored
      from table->mem_root to thd->mem_root 
      (fixed bug #2438 "Runaway memory consumption")
      
      
      bbdba292
    • unknown's avatar
      just tried to find all 'skipp' and replace it with 'skip'. · f1bfba29
      unknown authored
      
      client/sql_string.cc:
        skipp -> skip
      dbug/dbug.c:
        skipp -> skip
      myisam/mi_create.c:
        skipp -> skip
      myisam/mi_dynrec.c:
        skipp -> skip
      myisam/mi_packrec.c:
        skipp -> skip
      myisam/mi_rrnd.c:
        skipp -> skip
      myisam/mi_test1.c:
        skipp -> skip
      myisam/myisampack.c:
        skipp -> skip
      myisam/rt_test.c:
        skipp -> skip
      myisam/sp_test.c:
        skipp -> skip
      mysys/default.c:
        skipp -> skip
      mysys/mf_iocache.c:
        skipp -> skip
      mysys/mf_pack.c:
        skipp -> skip
      mysys/mf_wcomp.c:
        skipp -> skip
      mysys/typelib.c:
        skipp -> skip
      sql/filesort.cc:
        skipp -> skip
      sql/item_strfunc.cc:
        skipp -> skip
      sql/mysqld.cc:
        skipp -> skip
      sql/opt_range.h:
        skipp -> skip
      sql/sql_delete.cc:
        skipp -> skip
      sql/sql_select.cc:
        skipp -> skip
      sql/sql_string.cc:
        skipp -> skip
      sql/sql_update.cc:
        skipp -> skip
      strings/ctype-bin.c:
        skipp -> skip
      strings/ctype-simple.c:
        skipp -> skip
      strings/r_strinstr.c:
        skipp -> skip
      strings/strinstr.c:
        skipp -> skip
      strings/strstr.c:
        skipp -> skip
      f1bfba29
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f85e469e
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2419
      
      
      sql/opt_range.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      f85e469e
    • unknown's avatar
      Added a comment for NULL range creation. · 8131ccaf
      unknown authored
      8131ccaf
    • unknown's avatar
      Indexes can be used for optimization if the operation · 65534b77
      unknown authored
      collation is the same with the index collation.
      
      
      65534b77
    • unknown's avatar
      preload.result, key_cache.result, preload.test, key_cache.test, sql_yacc.yy: · c91c1470
      unknown authored
        Fixed bug #2602 in CACHE INDEX, LOAD INDEX
      
      
      sql/sql_yacc.yy:
        Fixed bug #2602 in CACHE INDEX, LOAD INDEX
      mysql-test/t/key_cache.test:
        Fixed bug #2602 in CACHE INDEX, LOAD INDEX
      mysql-test/t/preload.test:
        Fixed bug #2602 in CACHE INDEX, LOAD INDEX
      mysql-test/r/key_cache.result:
        Fixed bug #2602 in CACHE INDEX, LOAD INDEX
      mysql-test/r/preload.result:
        Fixed bug #2602 in CACHE INDEX, LOAD INDEX
      c91c1470
  7. 01 Feb, 2004 3 commits
    • unknown's avatar
      make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table · 1f739ca4
      unknown authored
      (BUG#2120 sfter merge)
      
      
      mysql-test/r/derived.result:
        correct results of derived tble EXPLAIN
        test of "Using Index" with derived tables
      mysql-test/t/derived.test:
        test of "Using Index" with derived tables
      sql/mysql_priv.h:
        way to force derived table save JOIN after execution
      sql/sql_derived.cc:
        way to force derived table save JOIN after execution
      sql/sql_lex.h:
        way to force derived table save JOIN after execution
      sql/sql_select.cc:
        make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table
      1f739ca4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 00b2168b
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      00b2168b
    • unknown's avatar
      now all tables of query are locked in one place (including derived tables) · 68c0a299
      unknown authored
      fixed BUG#2120 and other problem with EXPLAINing derived tables
      
      
      mysql-test/r/derived.result:
        correct tables names & Co in derived tables
        test case for BUG#2120
      mysql-test/t/derived.test:
        test case for BUG#2120
      sql/mysql_priv.h:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables)
      sql/repl_failsafe.cc:
        correct initialization of TABLE_LIST
      sql/sql_acl.cc:
        used simple table opening without derived table processing to avoid unneeded initialization of SELECT_LEX
      sql/sql_base.cc:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables)
      sql/sql_delete.cc:
        all tables processing is done during opening
      sql/sql_derived.cc:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables) to sutisfy "all query tables locking" at the moment
      sql/sql_insert.cc:
        all tables processing is done during opening
        correct initialization of TABLE_LIST
      sql/sql_lex.cc:
        now table list will be created for whole query
        layout fix
        correct check of updated table in subqueries
      sql/sql_lex.h:
        now table list will be created for whole query
        correct check of updated table in subqueries
      sql/sql_olap.cc:
        THIS FUNCTION IS USED NOWHERE
        it will be good to remove it at all (handle_olaps)
      sql/sql_parse.cc:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables)
      sql/sql_prepare.cc:
        new creating list parameters
        all tables processing is done during opening
      sql/sql_select.cc:
        all tables processing is done during opening
      sql/sql_select.h:
        now it used only within file where is defined
      sql/sql_udf.cc:
        used simple table opening without derived table processing to avoid unneeded initialization of SELECT_LEX
      sql/sql_update.cc:
        all tables processing is done during opening
      68c0a299
  8. 31 Jan, 2004 1 commit
    • unknown's avatar
      fix for the bug #2419: order by ignores rows. · abc17f8f
      unknown authored
      null_ref_key moved to TABLE_REF.
      new null range created if necessary.
      
      
      mysql-test/r/order_by.result:
        fix for the bug #2419: order by ignores rows
      mysql-test/t/order_by.test:
        fix for the bug #2419: order by ignores rows
      sql/item_subselect.cc:
        fix for the bug #2419: order by ignores rows
      sql/opt_range.cc:
        fix for the bug #2419: order by ignores rows
      sql/sql_select.cc:
        fix for the bug #2419: order by ignores rows
      sql/sql_select.h:
        fix for the bug #2419: order by ignores rows
      abc17f8f
  9. 30 Jan, 2004 5 commits
  10. 29 Jan, 2004 2 commits
  11. 28 Jan, 2004 4 commits
  12. 27 Jan, 2004 4 commits
  13. 26 Jan, 2004 1 commit