1. 31 Oct, 2003 1 commit
  2. 24 Oct, 2003 7 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
      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
  3. 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
  4. 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
  5. 20 Oct, 2003 6 commits
  6. 19 Oct, 2003 2 commits
    • unknown's avatar
      made more fine error message in scripts/fill_help_tables.sh · 45c1a753
      unknown authored
      
      scripts/fill_help_tables.sh:
        made more fine error message
      45c1a753
    • unknown's avatar
      correct table name assigned to temporary table field: · 468e6f85
      unknown authored
       - correct table name shown in EXPLAIN Iindex reference)
       - pointer on freed memmory (reallocation of table name in reusing table entry) can't be used in EXPLAIN
      (BUG#1584)
      
      
      mysql-test/r/derived.result:
        test moved to derived table tests
        added test of BUG#1584
      mysql-test/r/subselect.result:
        test moved to derived table tests
      mysql-test/t/derived.test:
        test moved to derived table tests
        added test of BUG#1584
      mysql-test/t/subselect.test:
        test moved to derived table tests
      sql/item.cc:
        layout fix
      sql/sql_select.cc:
        correct table name assigned to temporary table field
      468e6f85
  7. 17 Oct, 2003 2 commits
    • unknown's avatar
      thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h: · 7fdcd6c5
      unknown authored
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      
      
      innobase/include/os0thread.h:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/include/srv0srv.h:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/srv/srv0srv.c:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/srv/srv0start.c:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      innobase/thr/thr0loc.c:
        Reduce InnoDB memory allocation if buffer pool < 8 MB
      7fdcd6c5
    • unknown's avatar
      fixed deleting derived table tree after using (BUG#1536) · dd9c388a
      unknown authored
      
      mysql-test/r/subselect.result:
        fixed drop table statement
        test for BUG#1536
      mysql-test/t/subselect.test:
        fixed drop table statement
        test for BUG#1536
      sql/sql_derived.cc:
        all tree of derived table should be deleted
      sql/sql_lex.cc:
        delete subtree method
      sql/sql_lex.h:
        delete subtree method
      dd9c388a
  8. 16 Oct, 2003 10 commits
    • unknown's avatar
      fixed support of used_tables() and const_item() in subqueries · 36fc55fb
      unknown authored
      (BUG#1444)
      
      
      mysql-test/r/subselect.result:
        BUG#1444 test
      mysql-test/t/subselect.test:
        BUG#1444 test
      sql/item.cc:
        storing used tables in Item_subselect
      sql/item_subselect.cc:
        fixed support of used_tables() and const_item() in subqueries
      sql/item_subselect.h:
        fixed support of used_tables() and const_item() in subqueries
      36fc55fb
    • unknown's avatar
      - portability fix: fix compile bug on HP-UX (thanks to acurtis for the · 7cb7f7b8
      unknown authored
         patch)
        (BUG#1440: Redundant class name confusing hpux compiler)
      
      7cb7f7b8
    • unknown's avatar
      fixed sqlstate for ER_WRONG_INDEX_NAME · 3b6cfdc1
      unknown authored
      removed unnesessary code from create.test
      
      
      include/sql_state.h:
        added sqlstate for ER_WRONG_INDEX_NAME
      mysql-test/r/create.result:
        changed sqlstate for ER_WRONG_INDEX_NAME
        remove unnesesary warning
      mysql-test/t/create.test:
        remove unnesessary drop table
      3b6cfdc1
    • unknown's avatar
      added checking for empty index name (fixed bug #1419) · 2202083f
      unknown authored
      
      include/mysqld_error.h:
        added error "Incorrect index name"
      mysql-test/r/create.result:
        added test for empty index name
      mysql-test/t/create.test:
        added test for empty index name
      sql/share/czech/errmsg.txt:
        added error "Incorrect index name"
      sql/share/danish/errmsg.txt:
        added error "Incorrect index name"
      sql/share/dutch/errmsg.txt:
        added error "Incorrect index name"
      sql/share/english/errmsg.txt:
        added error "Incorrect index name"
      sql/share/estonian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/french/errmsg.txt:
        added error "Incorrect index name"
      sql/share/german/errmsg.txt:
        added error "Incorrect index name"
      sql/share/greek/errmsg.txt:
        added error "Incorrect index name"
      sql/share/hungarian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/italian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/japanese/errmsg.txt:
        added error "Incorrect index name"
      sql/share/korean/errmsg.txt:
        added error "Incorrect index name"
      sql/share/norwegian-ny/errmsg.txt:
        added error "Incorrect index name"
      sql/share/norwegian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/polish/errmsg.txt:
        added error "Incorrect index name"
      sql/share/portuguese/errmsg.txt:
        added error "Incorrect index name"
      sql/share/romanian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/russian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/serbian/errmsg.txt:
        added error "Incorrect index name"
      sql/share/slovak/errmsg.txt:
        added error "Incorrect index name"
      sql/share/spanish/errmsg.txt:
        added error "Incorrect index name"
      sql/share/swedish/errmsg.txt:
        added error "Incorrect index name"
      sql/share/ukrainian/errmsg.txt:
        added error "Incorrect index name"
      sql/sql_table.cc:
        added checking for wrong index name
      2202083f
    • unknown's avatar
      Fix test after merge · e0bff42f
      unknown authored
      
      mysql-test/r/create.result:
        update test results
      e0bff42f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 06d9b387
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      06d9b387
    • unknown's avatar
      Update results after merge · b106b4e6
      unknown authored
      b106b4e6
    • unknown's avatar
      Merge · 914671fe
      unknown authored
      
      sql/set_var.cc:
        SCCS merged
      914671fe
    • unknown's avatar
    • unknown's avatar
      merge with 4.0 · 6f296205
      unknown authored
      
      BitKeeper/deleted/.del-MYSQL.ICO~d93519b5f0d6ee1:
        Auto merged
      client/client_priv.h:
        Auto merged
      extra/resolveip.c:
        Auto merged
      include/mysql.h:
        Auto merged
      include/thr_alarm.h:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      scripts/mysql_config.sh:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      6f296205
  9. 15 Oct, 2003 5 commits
    • unknown's avatar
      Created small scripts to manage in-tree diffs for NetWare platform, so changes... · 27dc9ab9
      unknown authored
      Created small scripts to manage in-tree diffs for NetWare platform, so changes are visible in the tree but cannot affect other platforms
      
      
      27dc9ab9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 604457d0
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      604457d0
    • unknown's avatar
      Portability fixes for windows · bfc24eaf
      unknown authored
      After merge fixes
      
      
      include/my_base.h:
        Fix comment syntax
      libmysql/client_settings.h:
        Portability fixes for windows
      libmysql/libmysql.c:
        Portability fixes for windows
      libmysql/libmysql.def:
        Portability fixes for windows
      mysql-test/r/variables.result:
        Fix result after merge
      sql-common/client.c:
        Portability fixes for windows
      sql/ha_berkeley.cc:
        Use defines instead of constants
      sql/item_strfunc.cc:
        Portability fixes for windows
      sql/mysql_priv.h:
        Use defines instead of defines
      sql/mysqld.cc:
        After merge fix
      sql/opt_range.h:
        After merge fix
      sql/set_var.h:
        Portability fixes for windows
      sql/sql_class.cc:
        Defines instead of constants
      sql/sql_help.cc:
        after merge fixes
        More OOM error checking
      sql/sql_prepare.cc:
        After merge fixes
      sql/sql_table.cc:
        Portability fixes for windows
      bfc24eaf
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 74b13743
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      74b13743
    • unknown's avatar
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT · 1522a612
      unknown authored
      Fixed chsize() problem on windows
      Extend default timeout on windows clients to 1 year (to avoid timeout problems)
      
      
      include/mysql.h:
        Added client timeouts (for TCP/IP)
      libmysql/libmysql.c:
        Added client timeouts (for TCP/IP)
      mysql-test/r/create.result:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysql-test/t/create.test:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysys/my_chsize.c:
        Fix for windows
      sql/handler.h:
        Remove not used field 'if_not_exists'
        Ordered fields to be more optimized for new CPU's
        Added field 'table_existed'
      sql/slave.cc:
        Cleanup temporary tables when slave ends
      sql/sql_class.h:
        Remove not used 'do_not_drop' field
      sql/sql_insert.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      sql/sql_table.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      1522a612