1. 07 Aug, 2003 1 commit
    • unknown's avatar
      fixed bug in used_tables() report of left expression of IN subquery · c777dc6d
      unknown authored
      fixed number of rows of external field reported to optimizer
      added check of choosen key (checked left expression tag)
      (SCRUM fix for simple IN optimisation)
      
      
      mysql-test/r/subselect.result:
        new EXPLAIN results ufter fixing used_tables() of Item_cache
      sql/item_cmpfunc.cc:
        fixed used_tables asignment
      sql/item_subselect.cc:
        added left expression referenca tag
      sql/item_subselect.h:
        fixed layout
      sql/mysql_priv.h:
        left expression reference tag
      sql/mysqld.cc:
        left expression reference tag
      sql/sql_select.cc:
        checked left expression reference tag
        fixed number of rows in outer reference (it should be constant)
      c777dc6d
  2. 05 Aug, 2003 5 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1 · c1707137
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      c1707137
    • unknown's avatar
      merge · b3406895
      unknown authored
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      b3406895
    • unknown's avatar
      Fix: · 65315f00
      unknown authored
      CREATE TABLE t1 (s1 CHAR(5) COLLATE latin1_german2_ci);
      INSERT INTO t1 VALUES ('Ü');
      SELECT FIELD('ue',s1) FROM t1;
      The above returned 0 in error.
      Now 1 is returned.
      
      65315f00
    • unknown's avatar
      Fix: · a20bb92e
      unknown authored
      CREATE TABLE t1 (s1 CHAR(5) CHARACTER SET latin1 COLLATE latin1_german2_ci);
      INSERT INTO t1 VALUES ('Ü');
      INSERT INTO t1 VALUES ('ue');
      SELECT DISTINCT s1 FROM t1;
      
      The above returned two rows in error.
      Now it returns one row, in latin1_german2_ci:  Ü == ue
      
      a20bb92e
    • unknown's avatar
      fix_fields recoursion didn't stop when some level's fix_length_and_dec · 715a6576
      unknown authored
      produced an error. This led to server crash in some cases, e.g.:
      create table t7 (s1 char);
      select * from t7
      where concat(s1 collate latin1_general_ci,s1 collate latin1_swedish_ci)
      = 'AA';
      
      715a6576
  3. 04 Aug, 2003 1 commit
  4. 02 Aug, 2003 2 commits
  5. 01 Aug, 2003 7 commits
  6. 31 Jul, 2003 2 commits
    • unknown's avatar
      mysqldump.c: · e0ec91cd
      unknown authored
        Use the default character set instead of binary. This is to make "mysqlshow" -> "cat'n'paste database name" -> "mysqldump dbname" circle working.
      
      
      client/mysqldump.c:
        Use the default character set instead of binary. This is to make "mysqlshow" -> "cat'n'paste database name" -> "mysqldump dbname" circle working.
      e0ec91cd
    • unknown's avatar
      cp1251.xml: · 073f2d77
      unknown authored
        Upper/lower case translation bug for letter 't' fix.
      
      
      sql/share/charsets/cp1251.xml:
        Upper/lower case translation bug for letter 't' fix.
      073f2d77
  7. 30 Jul, 2003 4 commits
  8. 29 Jul, 2003 8 commits
    • unknown's avatar
      README.1st: · 6f2d2d47
      unknown authored
        Revise 4.1 Windows-install instructions.
      
      
      Docs/README.1st:
        Revise 4.1 Windows-install instructions.
      6f2d2d47
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1 · 3cbb5480
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
      
      3cbb5480
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · dbdcfb40
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.h:
        Auto merged
      dbdcfb40
    • unknown's avatar
      prevented finding references in item_list for non-SELECT st_select_lex · 3590612c
      unknown authored
      (fixed BUG#943)
      
      
      mysql-test/r/subselect.result:
        test for bug 943
      mysql-test/t/subselect.test:
        test for bug 943
      sql/item.cc:
        bool field changed with enum
        prevented finding references in item_list for non-SELECT st_select_lex
      sql/sql_lex.cc:
        bool field changed with enum
      sql/sql_lex.h:
        bool field changed with enum
      sql/sql_parse.cc:
        all subqueries and UNION parts marked as SELECT
      sql/sql_yacc.yy:
        bool field changed with enum
        PRIMARY SELECT command st_select_lex marked as SELECT
      3590612c
    • unknown's avatar
      Fixed that this sequence didn't produce an error as it should have: · 6716f1e6
      unknown authored
      CREATE TABLE t1 (s1 CHAR(5) COLLATE latin1_german1_ci,
                       s2 CHAR(5) COLLATE latin1_swedish_ci);
      SELECT * FROM t1 WHERE s1 = s2;
      
      
      6716f1e6
    • unknown's avatar
      bf331074
    • unknown's avatar
      count HAVING clause elements with select list elements, because agregate... · 5cd3915f
      unknown authored
      count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
      removerd unused loop_id
      
      
      mysql-test/r/subselect.result:
        test of BUG#922
      mysql-test/t/subselect.test:
        test of BUG#922
      sql/item.cc:
        removerd unused loop_id
        we need count HAVING clause elements, because agregate function can be present in it
      sql/item.h:
        removerd unused loop_id
      sql/item_subselect.cc:
        new name of field
      sql/sql_derived.cc:
        new name of field
      sql/sql_lex.cc:
        new name of field
      sql/sql_lex.h:
        new name of field
      sql/sql_select.cc:
        new name of field
      sql/sql_union.cc:
        new name of field
      5cd3915f
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 551cfad2
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.clean
      
      551cfad2
  9. 28 Jul, 2003 8 commits
  10. 27 Jul, 2003 2 commits