1. 31 Oct, 2003 14 commits
    • unknown's avatar
      merge · 5337ffde
      unknown authored
      
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysql_priv.h:
        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_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      5337ffde
    • unknown's avatar
    • unknown's avatar
      post-merge fixes · c0c369f0
      unknown authored
      c0c369f0
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · c926bdc8
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      mysql-test/r/mysqldump.result:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      c926bdc8
    • unknown's avatar
      Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4a3553ed
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      4a3553ed
    • unknown's avatar
      Fixes for mysql tests. · 04bad39e
      unknown authored
      
      mysql-test/r/mysqlbinlog.result:
        fixes for mysql tests.
      mysql-test/r/mysqldump.result:
        fixes for mysql tests.
      mysql-test/r/negation_elimination.result:
        fixes for mysql tests.
      mysql-test/t/mysqlbinlog.test:
        fixes for mysql tests.
      mysql-test/t/mysqldump.test:
        fixes for mysql tests.
      04bad39e
    • unknown's avatar
      old_total_warn_count is not used · 0992a2a7
      unknown authored
      and was removed from THD
      
      
      sql/sql_class.h:
        old_total_warn_count removed
      sql/sql_parse.cc:
        old_total_warn_count removed
      0992a2a7
    • 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
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · b0462904
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      myisam/mi_check.c:
        Auto merged
      myisam/mi_delete.c:
        Auto merged
      myisam/mi_write.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/range.result:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_myisam.h:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      b0462904
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · bd4261d9
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.wl1056
      
      
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      bd4261d9
    • unknown's avatar
      506631e7
    • unknown's avatar
      new mysqldump -X test (bug #1707) · ff182082
      unknown authored
      ff182082
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 60d385b1
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.wl1279
      
      
      60d385b1
  2. 30 Oct, 2003 9 commits
    • unknown's avatar
      post-merge fixes · e9f308f0
      unknown authored
      e9f308f0
    • unknown's avatar
      Merge · 52e86548
      unknown authored
      
      include/my_base.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      isam/test2.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_test2.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.h:
        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_table.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/mysqld.cc:
        SCCS merged
      sql/set_var.cc:
        SCCS merged
      52e86548
    • unknown's avatar
      merged · d054ce1c
      unknown authored
      
      sql/set_var.cc:
        Auto merged
      d054ce1c
    • unknown's avatar
      Bitmap post-review fixes · 372e9492
      unknown authored
      372e9492
    • 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
      WL #1279: Add table description to xml dump (SCRUM) · b6b4c5b1
      unknown authored
      Bug #1707: mysqldump -X does't quote field and table names
      code cleanup
      
      
      b6b4c5b1
    • 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 8 commits
    • unknown's avatar
      a8b7edda
    • 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
      and -> && · 43e96774
      unknown authored
      43e96774
    • 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 1 commit
    • 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