1. 31 Oct, 2003 7 commits
  2. 30 Oct, 2003 4 commits
    • unknown's avatar
      Merge · b509cf01
      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
      b509cf01
    • unknown's avatar
      WL #1279: Add table description to xml dump (SCRUM) · 650946e1
      unknown authored
      Bug #1707: mysqldump -X does't quote field and table names
      code cleanup
      
      650946e1
    • unknown's avatar
      small fix in comment · 42a93460
      unknown authored
      42a93460
    • unknown's avatar
  3. 27 Oct, 2003 2 commits
  4. 26 Oct, 2003 5 commits
    • unknown's avatar
      fixed ALL/ANY optimisation with union (BUG#1668) · 4d68a0db
      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
      4d68a0db
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 1961c53b
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc_warn-4.1
      
      1961c53b
    • unknown's avatar
      after-merge fix · 5b3a42af
      unknown authored
      5b3a42af
    • unknown's avatar
      sql_parse.cc: · c099414d
      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
      c099414d
    • unknown's avatar
      merge · 1fb17da1
      unknown authored
      
      sql/set_var.cc:
        Auto merged
      1fb17da1
  5. 25 Oct, 2003 6 commits
    • unknown's avatar
      sql_parse.cc: · 1ab4e9ae
      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
      1ab4e9ae
    • unknown's avatar
      A few more fixes. · eb397abb
      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.)
      eb397abb
    • unknown's avatar
      A major overhaul to adopt to recent changes. It now passes all tests. · 3c8c83d0
      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.
      3c8c83d0
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · f8679314
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      f8679314
    • unknown's avatar
      fixed unlinking SELECT methods · c40a2a3f
      unknown authored
      c40a2a3f
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 71b80ddd
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      71b80ddd
  6. 24 Oct, 2003 8 commits
    • unknown's avatar
      sql_parse.cc: · d5cf9da4
      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 &&
      d5cf9da4
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · c8a40a8b
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1-bug
      
      
      sql/sql_parse.cc:
        Auto merged
      c8a40a8b
    • unknown's avatar
      removed one more hack that - as usual - almost always worked · 2e49219a
      unknown authored
      (but broke permission handling for *some* IP's after we started to compare in utf8)
      Bug #1636
      
      2e49219a
    • unknown's avatar
      after merge fix · 685e1fd8
      unknown authored
      685e1fd8
    • unknown's avatar
      made 'TODO' · a67ace8c
      unknown authored
      a67ace8c
    • unknown's avatar
      Merge · d9d7d1e5
      unknown authored
      
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      d9d7d1e5
    • unknown's avatar
      added comment · ba80135e
      unknown authored
      ba80135e
    • unknown's avatar
      support 'parallel' updates and rallback of whole statement in case of error in... · 4efc4d39
      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
      4efc4d39
  7. 23 Oct, 2003 5 commits
    • unknown's avatar
      added check of cardinality to IN/ALL/ANY subquery transformer · 8a1b6e16
      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
      8a1b6e16
    • unknown's avatar
      Merge · e351e539
      unknown authored
      
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      e351e539
    • unknown's avatar
      Merge · b0428ecb
      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
      b0428ecb
    • unknown's avatar
      Merge · c3bfbe07
      unknown authored
      
      sql/item.cc:
        Auto merged
      mysql-test/r/subselect.result:
        SCCS merged
      mysql-test/t/subselect.test:
        SCCS merged
      c3bfbe07
    • unknown's avatar
      ufter review fix (BUG#1444) · 9edb6a86
      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
      9edb6a86
  8. 21 Oct, 2003 2 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2698d9a7
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.clean
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      2698d9a7
    • unknown's avatar
      Fix for Windows bug reported throuhg Miguel · c42abd80
      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
      c42abd80
  9. 20 Oct, 2003 1 commit