1. 12 Aug, 2003 1 commit
    • unknown's avatar
      optimisation of independent ALL/ANY with aggregate function (WL#1115) (SCRUM) · 964ffc34
      unknown authored
      
      mysql-test/r/subselect.result:
        test of new optimisation
      mysql-test/t/subselect.test:
        test of new optimisation
      sql/item_subselect.cc:
        special subselect to finding max/min of returned values
        optimisation of independent ALL/ANY with aggregate function
      sql/item_subselect.h:
        special subselect to finding max/min of returned values
      sql/sql_class.cc:
        class for collaction result for max/min subquery
      sql/sql_class.h:
        class for collaction result for max/min subquery
      964ffc34
  2. 11 Aug, 2003 5 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1 · c4a8e2f3
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any-4.1
      
      
      c4a8e2f3
    • unknown's avatar
      after merge fix · 27c52212
      unknown authored
      27c52212
    • unknown's avatar
      merge · c2b8eb33
      unknown authored
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      c2b8eb33
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1 · 986be1aa
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      986be1aa
    • unknown's avatar
      merge · e6476990
      unknown authored
      
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/table.h:
        Auto merged
      e6476990
  3. 07 Aug, 2003 4 commits
  4. 06 Aug, 2003 4 commits
    • unknown's avatar
      merge · 6496a0dd
      unknown authored
      
      mysql-test/r/innodb.result:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      6496a0dd
    • unknown's avatar
      sql_union.cc, sql_select.cc: · b5e85696
      unknown authored
        Code clean-up
      sql_union.cc, union.test, union.result:
        A fix for a bug #978.
        This enables that NULL's can be entered into UNION's result set,
        although first SELECT columns are NOT NULL.
        This is also a start of fixing UNION's properly regarding type
        acceptance.
      sql_select.cc:
        A commit for my second July SPRINT task
      
      
      mysql-test/r/union.result:
        A fix for a bug #978.
        
        This enables that NULL's can be entered into UNION's result set,
        although first SELECT columns are NOT NULL.
        
        This is also a start of fixing UNION's properly regarding type
        acceptance.
      mysql-test/t/union.test:
        A fix for a bug #978.
        
        This enables that NULL's can be entered into UNION's result set,
        although first SELECT columns are NOT NULL.
        
        This is also a start of fixing UNION's properly regarding type
        acceptance.
      sql/sql_select.cc:
        Code clean-up
      sql/sql_union.cc:
        Code clean-up
      b5e85696
    • unknown's avatar
      Merge oak.local:/home/kostja/mysql/mysql-4.1-root · e4477bca
      unknown authored
      into oak.local:/home/kostja/mysql/mysql-4.1-count-distinct
      
      
      e4477bca
    • unknown's avatar
      fix for bug #958 and tests for it · a8cb3628
      unknown authored
      aligned with Sergey notes.
      
      
      sql/records.cc:
        fix for bug #958 - big select with 
        count distinct and group by
        aligned with Sergey notes.
      a8cb3628
  5. 05 Aug, 2003 6 commits
    • unknown's avatar
      e8da290b
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1 · 4a8ab8ac
      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
      4a8ab8ac
    • unknown's avatar
      merge · 6181294d
      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
      6181294d
    • unknown's avatar
      Fix: · 970f910d
      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.
      
      
      970f910d
    • unknown's avatar
      Fix: · fc8b1385
      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
      
      
      fc8b1385
    • unknown's avatar
      fix_fields recoursion didn't stop when some level's fix_length_and_dec · 691b7584
      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';
      
      
      691b7584
  6. 04 Aug, 2003 1 commit
  7. 02 Aug, 2003 2 commits
  8. 01 Aug, 2003 7 commits
  9. 31 Jul, 2003 2 commits
    • unknown's avatar
      mysqldump.c: · cce9e51a
      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.
      cce9e51a
    • unknown's avatar
      cp1251.xml: · 79fea68b
      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.
      79fea68b
  10. 30 Jul, 2003 4 commits
  11. 29 Jul, 2003 4 commits
    • unknown's avatar
      README.1st: · 9149ca11
      unknown authored
        Revise 4.1 Windows-install instructions.
      
      
      Docs/README.1st:
        Revise 4.1 Windows-install instructions.
      9149ca11
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1 · f94d0178
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
      
      
      f94d0178
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 29b23035
      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
      29b23035
    • unknown's avatar
      prevented finding references in item_list for non-SELECT st_select_lex · 668cd972
      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
      668cd972