1. 09 Aug, 2003 2 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · b9a90dff
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      sql/ha_myisam.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      b9a90dff
    • unknown's avatar
      set_var.cc, mysqld.cc, handler.cc, set_var.h, handler.h: · cbd85f9d
      unknown authored
        Added key cache parameters for midpoint insertion strategy
      Many files:
        Added midpoint insertion strategy for key cache
      mi_test2.c:
        Added a parameter to resize_key_cache
      
      
      mysys/mf_keycache.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_check.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_page.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_range.c:
        Added midpoint insertion strategy for key cache
      myisam/rt_index.c:
        Added midpoint insertion strategy for key cache
      myisam/rt_split.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_delete.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_preload.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_search.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_write.c:
        Added midpoint insertion strategy for key cache
      myisam/rt_key.c:
        Added midpoint insertion strategy for key cache
      myisam/mi_test2.c:
        Added a parameter to resize_key_cache
      isam/_page.c:
        Added midpoint insertion strategy for key cache
      include/my_sys.h:
        Added midpoint insertion strategy for key cache
      myisam/myisamdef.h:
        Added midpoint insertion strategy for key cache
      sql/handler.h:
        Added key cache parameters for midpoint insertion strategy.
      sql/set_var.h:
        Added key cache parameters for midpoint insertion strategy.
      sql/handler.cc:
        Added key cache parameters for midpoint insertion strategy.
      sql/mysqld.cc:
        Added key cache parameters for midpoint insertion strategy.
      sql/set_var.cc:
        Added key cache parameters for midpoint insertion strategy.
      cbd85f9d
  2. 07 Aug, 2003 3 commits
  3. 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
  4. 05 Aug, 2003 4 commits
    • unknown's avatar
      e8da290b
    • 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
  5. 04 Aug, 2003 1 commit
  6. 02 Aug, 2003 6 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · af6d2083
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      af6d2083
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 6417c182
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      sql/sql_acl.cc:
        Auto merged
      6417c182
    • unknown's avatar
      There were two wrong calls to tables_ok() in MySQL 4.0 (BUG#980), · a7eb7a78
      unknown authored
      which are fixed now.
      In 4.1 there are 3 calls; 2 of them will be fixed when there is a merge;
      here I fix the 3rd, new one. 
      
      
      a7eb7a78
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 681b73df
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      include/my_sys.h:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.h:
        Auto merged
      681b73df
    • unknown's avatar
      resolving bk problems · 935c7fd1
      unknown authored
      935c7fd1
    • unknown's avatar
      Many files: · b6d27e20
      unknown authored
        Added key cache assignment
      mi_locking.c:
        Added key cache assignment: correction
      my_sys.h:
        Added key cache variable structure
      
      
      include/my_sys.h:
        Added key cache variable structure
      include/my_base.h:
        Added key cache assignment
      include/myisam.h:
        Added key cache assignment
      include/my_global.h:
        Added key cache assignment
      isam/_page.c:
        Added key cache assignment
      isam/close.c:
        Added key cache assignment
      isam/isamchk.c:
        Added key cache assignment
      isam/isamlog.c:
        Added key cache assignment
      isam/panic.c:
        Added key cache assignment
      isam/_locking.c:
        Added key cache assignment
      isam/test2.c:
        Added key cache assignment
      isam/test3.c:
        Added key cache assignment
      myisam/myisamdef.h:
        Added key cache assignment
      myisam/mi_check.c:
        Added key cache assignment
      myisam/mi_close.c:
        Added key cache assignment
      myisam/mi_extra.c:
        Added key cache assignment
      myisam/mi_page.c:
        Added key cache assignment
      myisam/mi_panic.c:
        Added key cache assignment
      myisam/mi_preload.c:
        Added key cache assignment
      myisam/mi_test1.c:
        Added key cache assignment
      myisam/mi_test2.c:
        Added key cache assignment
      myisam/mi_test3.c:
        Added key cache assignment
      myisam/myisamchk.c:
        Added key cache assignment
      myisam/myisamlog.c:
        Added key cache assignment
      myisam/mi_delete_all.c:
        Added key cache assignment
      myisam/mi_locking.c:
        Added key cache assignment: correction
      myisam/mi_keycache.c:
        Added key cache assignment
      sql/handler.h:
        Added key cache assignment
      sql/mysql_priv.h:
        Added key cache assignment
      sql/set_var.h:
        Added key cache assignment
      sql/table.h:
        Added key cache assignment
      sql/ha_myisam.cc:
        Added key cache assignment
      sql/ha_myisammrg.cc:
        Added key cache assignment
      sql/handler.cc:
        Added key cache assignment
      sql/mysqld.cc:
        Added key cache assignment
      sql/set_var.cc:
        Added key cache assignment
      sql/sql_base.cc:
        Added key cache assignment
      sql/sql_table.cc:
        Added key cache assignment
      sql/sql_test.cc:
        Added key cache assignment
      sql/sql_yacc.yy:
        Added key cache assignment
      mysys/mf_keycache.c:
        Added key cache assignment
      mysql-test/t/key_cache.test:
        Added key cache assignment
      mysql-test/r/key_cache.result:
        Added key cache assignment
      b6d27e20
  7. 01 Aug, 2003 7 commits
  8. 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
  9. 30 Jul, 2003 4 commits
  10. 29 Jul, 2003 6 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
      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
    • unknown's avatar
      Fixed that this sequence didn't produce an error as it should have: · ec1a433f
      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;
      
      
      
      ec1a433f
    • unknown's avatar
      8d7b54b7
    • unknown's avatar
      count HAVING clause elements with select list elements, because agregate... · 0792c1c8
      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
      0792c1c8
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8713e979
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.clean
      
      
      8713e979
  11. 28 Jul, 2003 1 commit
    • unknown's avatar
      logging_ok: · 0db8648a
      unknown authored
        Logging to logging@openlogging.org accepted
      README.1st:
        new file - Readme for Windows distribution
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      0db8648a