1. 31 Oct, 2003 2 commits
    • unknown's avatar
      new test · ed49917e
      unknown authored
      ed49917e
    • unknown's avatar
      amall fix · d6aacb9e
      unknown authored
      
      mysql-test/r/derived.result:
        fixed results after merge
      mysql-test/r/func_in.result:
        small fix to amke all names uniform
      mysql-test/r/func_math.result:
        forgot to change
      sql/item.cc:
        fix
      sql/item_create.cc:
        small fix to amke all names uniform
      d6aacb9e
  2. 30 Oct, 2003 4 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · b90ae6fd
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-print_subselect-4.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      b90ae6fd
    • unknown's avatar
      added code covarage for functions convert(), nullif(), crc32(),... · 87e6c2ba
      unknown authored
      added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
      added string length for more speed
      made code covarage for print() method of Item
      fixed printability of some items (SCRUM) (WL#1274)
      
      
      mysql-test/r/auto_increment.result:
        print() code coverage
      mysql-test/r/bench_count_distinct.result:
        print() code coverage
      mysql-test/r/case.result:
        print() code coverage
      mysql-test/r/cast.result:
        print() code coverage
      mysql-test/r/ctype_collate.result:
        print() code coverage
      mysql-test/r/ctype_many.result:
        convert with 3 arguments code covarage
        print() code coverage
      mysql-test/r/ctype_utf8.result:
        char_length code coverage
      mysql-test/r/date_formats.result:
        print() code coverage
      mysql-test/r/fulltext.result:
        print() code coverage
      mysql-test/r/func_compress.result:
        print() code coverage
      mysql-test/r/func_gconcat.result:
        print() code coverage
      mysql-test/r/func_group.result:
        bit_xor() code coverage
        print() code coverage
      mysql-test/r/func_if.result:
        nullif() code coverage
        print() code coverage
      mysql-test/r/func_in.result:
        print() code coverage
      mysql-test/r/func_math.result:
        print() code coverage
      mysql-test/r/func_op.result:
        print() code coverage
      mysql-test/r/func_regexp.result:
        print() code coverage
      mysql-test/r/func_set.result:
        print() code coverage
      mysql-test/r/func_str.result:
        crc32() code coverage
        print() code coverage
      mysql-test/r/func_system.result:
        print() code coverage
      mysql-test/r/func_test.result:
        print() code coverage
      mysql-test/r/func_time.result:
        print() code coverage
      mysql-test/r/group_by.result:
        print() code coverage
      mysql-test/r/having.result:
        print() code coverage
      mysql-test/r/insert_update.result:
        print() code coverage
      mysql-test/r/null.result:
        print() code coverage
      mysql-test/r/olap.result:
        print() code coverage
      mysql-test/r/query_cache.result:
        print() code coverage
      mysql-test/r/row.result:
        print() code coverage
      mysql-test/r/rpl000001.result:
        print() code coverage
      mysql-test/r/rpl_get_lock.result:
        print() code coverage
      mysql-test/r/rpl_master_pos_wait.result:
        print() code coverage
      mysql-test/r/select.result:
        print() code coverage
      mysql-test/r/subselect.result:
        print() code coverage
      mysql-test/r/type_blob.result:
        print() code coverage
      mysql-test/r/varbinary.result:
        print() code coverage
      mysql-test/r/variables.result:
        print() code coverage
      mysql-test/t/auto_increment.test:
        print() code coverage
      mysql-test/t/bench_count_distinct.test:
        print() code coverage
      mysql-test/t/case.test:
        print() code coverage
      mysql-test/t/cast.test:
        print() code coverage
      mysql-test/t/ctype_collate.test:
        print() code coverage
      mysql-test/t/ctype_many.test:
        convert with 3 arguments code covarage
        print() code coverage
      mysql-test/t/ctype_utf8.test:
        char_length code coverage
      mysql-test/t/date_formats.test:
        print() code coverage
      mysql-test/t/fulltext.test:
        print() code coverage
      mysql-test/t/func_compress.test:
        print() code coverage
      mysql-test/t/func_gconcat.test:
        print() code coverage
      mysql-test/t/func_group.test:
        bit_xor() code coverage
        print() code coverage
      mysql-test/t/func_if.test:
        nullif() code coverage
        print() code coverage
      mysql-test/t/func_in.test:
        print() code coverage
      mysql-test/t/func_math.test:
        print() code coverage
      mysql-test/t/func_op.test:
        print() code coverage
      mysql-test/t/func_regexp.test:
        print() code coverage
      mysql-test/t/func_set.test:
        print() code coverage
      mysql-test/t/func_str.test:
        crc32() code covarage
        print() code coverage
      mysql-test/t/func_system.test:
        print() code coverage
      mysql-test/t/func_test.test:
        print() code coverage
      mysql-test/t/func_time.test:
        print() code coverage
      mysql-test/t/group_by.test:
        print() code coverage
      mysql-test/t/having.test:
        print() code coverage
      mysql-test/t/insert_update.test:
        print() code coverage
      mysql-test/t/null.test:
        print() code coverage
      mysql-test/t/olap.test:
        print() code coverage
      mysql-test/t/query_cache.test:
        print() code coverage
      mysql-test/t/row.test:
        print() code coverage
      mysql-test/t/rpl000001.test:
        print() code coverage
      mysql-test/t/rpl_get_lock.test:
        print() code coverage
      mysql-test/t/rpl_master_pos_wait.test:
        print() code coverage
      mysql-test/t/select.test:
        print() code coverage
      mysql-test/t/type_blob.test:
        print() code coverage
      mysql-test/t/varbinary.test:
        print() code coverage
      mysql-test/t/variables.test:
        print() code coverage
      sql/item.cc:
        added string length for more speed
        layout fix
        fixed string printability
      sql/item.h:
        added string length for more speed
      sql/item_cmpfunc.cc:
        added string length for more speed
      sql/item_cmpfunc.h:
        fixed printability
      sql/item_create.cc:
        fixed printability
      sql/item_func.cc:
        fixed printability
        added string length for more speed
      sql/item_func.h:
        fixed printability
      sql/item_strfunc.cc:
        fixed printability
        added string length for more speed
      sql/item_strfunc.h:
        fixed printability
      sql/item_subselect.cc:
        added string length for more speed
      sql/item_sum.cc:
        added string length for more speed
      sql/item_timefunc.cc:
        added string length for more speed
      sql/item_timefunc.h:
        fixed printability
      sql/item_uniq.h:
        added string length for more speed
      sql/key.cc:
        added string length for more speed
      sql/sql_lex.cc:
        added string length for more speed
      sql/sql_parse.cc:
        after merge fix
      sql/sql_repl.cc:
        string changed with character for more speed
      sql/sql_select.cc:
        added string length for more speed
      sql/sql_show.cc:
        added string length for more speed
      87e6c2ba
    • unknown's avatar
      small fix in comment · a4161274
      unknown authored
      a4161274
    • unknown's avatar
  3. 28 Oct, 2003 1 commit
    • unknown's avatar
      merge · 683dcaae
      unknown authored
      
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      683dcaae
  4. 27 Oct, 2003 2 commits
  5. 26 Oct, 2003 5 commits
    • unknown's avatar
      fixed ALL/ANY optimisation with union (BUG#1668) · 30764334
      unknown authored
      code cleanup
      
      
      mysql-test/r/subselect.result:
        test for BUG#1668
      mysql-test/t/subselect.test:
        test for BUG#1668
      sql/item_subselect.cc:
        removed unused class field
        fixed min_max subquery used_tables()/const()
        fixed ALL/ANY optimisation for unions
      sql/item_subselect.h:
        removed unused class field
        fixed min_max subquery used_tables()/const()
      sql/sql_union.cc:
        fixed result object assignment
      30764334
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · e559f183
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc_warn-4.1
      
      
      e559f183
    • unknown's avatar
      after-merge fix · a8577081
      unknown authored
      a8577081
    • unknown's avatar
      sql_parse.cc: · ae437f39
      unknown authored
        Fix yet another race condition in sql_parse.cc: thd->user_connect object could get deleted too soon, before the call of check_for_max_user_connections
      
      
      sql/sql_parse.cc:
        Fix yet another race condition in sql_parse.cc: thd->user_connect object could get deleted too soon, before the call of check_for_max_user_connections
      ae437f39
    • unknown's avatar
      merge · c4aaca9f
      unknown authored
      
      sql/set_var.cc:
        Auto merged
      c4aaca9f
  6. 25 Oct, 2003 6 commits
    • unknown's avatar
      sql_parse.cc: · f081a541
      unknown authored
        Add diagnostic printf to chack that number of connections for a user never drops below zero
      
      
      sql/sql_parse.cc:
        Add diagnostic printf to chack that number of connections for a user never drops below zero
      f081a541
    • unknown's avatar
      A few more fixes. · 302b8b5b
      unknown authored
      And added new test for BUG#1644. (Disabled for now, not fixed yet.)
      
      
      tests/client_test.c:
        A few more fixes:
        - Avoid buffer overruns in printf().
        - Corrected index for comment field in show table status output.
        
        And added new test for BUG#1644. (Disabled for now, not fixed yet.)
      302b8b5b
    • unknown's avatar
      A major overhaul to adopt to recent changes. It now passes all tests. · 3affc810
      unknown authored
      Note:
      - All test results haven't been inspected in detail to see if they are correct.
      - Some result set printing seems to have the wrong field width; most notably
        date/time fields and type fields (e.g. "int(4)").
      - There are still some valgrind complaints, but they seem to be in assert() or
        in libmysql.
      
      
      tests/client_test.c:
        A major overhaul to adopt to recent changes:
        
        - SHOW TABLE result has changed (more columns)
        - EXPLAIN result has VAR_STRING types now
        - Added missing mysql_bind_result() calls
        - Adopted to mysql_fetch_column() semantics: Don't use same pointers in MYSQL_BIND
          structs for fetch_column as for binding.
        - Removed a number of duplicated calls to tests
        - Added missing initialization of MYSQL_BIND structs fields (lenght fields),
          to shutup valgrind.
      3affc810
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · a837775a
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      a837775a
    • unknown's avatar
      fixed unlinking SELECT methods · d679b52e
      unknown authored
      d679b52e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · f8b833c9
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      f8b833c9
  7. 24 Oct, 2003 8 commits
    • unknown's avatar
      sql_parse.cc: · 7f6d7aa1
      unknown authored
        URGENT: MONTY AND SERGEI should check this patch! The patch fixes the memory corruption reported by a user. It happened because the code did not keep correct a count of how many connections a user has, and the user object got freed too soon if the same user had more than 1 connection. Also fix a typo by Sanja: 'and' is not a C operator, I think it should be &&
      
      
      sql/sql_parse.cc:
        URGENT: MONTY AND SERGEI should check this patch! The patch fixes the memory corruption reported by a user. It happened because the code did not keep correct a count of how many connections a user has, and the user object got freed too soon if the same user had more than 1 connection. Also fix a typo by Sanja: 'and' is not a C operator, I think it should be &&
      7f6d7aa1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · d8d64231
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1-bug
      
      
      sql/sql_parse.cc:
        Auto merged
      d8d64231
    • unknown's avatar
      removed one more hack that - as usual - almost always worked · ea47b72d
      unknown authored
      (but broke permission handling for *some* IP's after we started to compare in utf8)
      Bug #1636
      
      
      ea47b72d
    • unknown's avatar
      after merge fix · f38d7894
      unknown authored
      f38d7894
    • unknown's avatar
      made 'TODO' · 1ba35900
      unknown authored
      1ba35900
    • unknown's avatar
      Merge · 1f32eb5f
      unknown authored
      
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      1f32eb5f
    • unknown's avatar
      added comment · 4ed1b23c
      unknown authored
      4ed1b23c
    • unknown's avatar
      support 'parallel' updates and rallback of whole statement in case of error in... · ce2c46dd
      unknown authored
      support 'parallel' updates and rallback of whole statement in case of error in evalueting value which should be assigned
      (BUG#1484)
      
      
      mysql-test/r/variables.result:
        test of swaping variables
      mysql-test/t/variables.test:
        test of swaping variables
      sql/item_func.cc:
        new method of user variables to pre-fetch value
      sql/item_func.h:
        new method of user variables to pre-fetch value
      sql/set_var.cc:
        check() methods fetch & store value
      sql/set_var.h:
        check() methods fetch & store value
      ce2c46dd
  8. 23 Oct, 2003 5 commits
    • unknown's avatar
      added check of cardinality to IN/ALL/ANY subquery transformer · e5386bcb
      unknown authored
      (BUG#1638)
      
      
      mysql-test/r/subselect.result:
        test for BUG#1638
      mysql-test/t/subselect.test:
        test for BUG#1638
      sql/item_subselect.cc:
        always check cardinality first
      e5386bcb
    • unknown's avatar
      Merge · 5ee2807c
      unknown authored
      
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      5ee2807c
    • unknown's avatar
      Merge · fdc78a76
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      fdc78a76
    • unknown's avatar
      Merge · e94666f8
      unknown authored
      
      sql/item.cc:
        Auto merged
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      e94666f8
    • unknown's avatar
      ufter review fix (BUG#1444) · d3d001fd
      unknown authored
      
      sql/item.cc:
        used variable to avoid using prev_unit->item which should be more clean
      sql/item_subselect.cc:
        uncachable tested on fix fields and correct bits set
      d3d001fd
  9. 22 Oct, 2003 1 commit
    • unknown's avatar
      Merge · 47f3a4fd
      unknown authored
      
      mysql-test/t/subselect.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/subselect.result:
        SCCS merged
      47f3a4fd
  10. 21 Oct, 2003 2 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a4aa997
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.clean
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      9a4aa997
    • unknown's avatar
      Fix for Windows bug reported throuhg Miguel · 8d94e500
      unknown authored
      
      libmysqld/lib_sql.cc:
        This code seems to be superfluous
      sql/derror.cc:
        in embedded server these functions should return the sign of the error
        instead of halting the program
      sql/init.cc:
        my_abort_hook left unchanged
      sql/mysql_priv.h:
        declaration of init_errmessage changed
        unireg_abort was replaced with DBUG_RETURN for embedded server
      sql/mysqld.cc:
        these functions don't work in embedded server thus #ifdef-ed
      8d94e500
  11. 20 Oct, 2003 4 commits