1. 30 Oct, 2003 1 commit
  2. 28 Oct, 2003 1 commit
  3. 23 Oct, 2003 4 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · d8ef1b53
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      sql/item_sum.h:
        Auto merged
      d8ef1b53
    • unknown's avatar
      e48a6c6c
    • unknown's avatar
      Post-merge fixes. · ec3a39dc
      unknown authored
      
      mysql-test/r/sp-error.result:
        Post-merge fixes. Error codes renumbered.
      mysql-test/r/sp.result:
        Post-merge fixes. Error codes renumbered.
      mysql-test/r/variables.result:
        Post-merge fixes. Error codes renumbered.
      mysql-test/t/sp-error.test:
        Post-merge fixes. Error codes renumbered.
      mysql-test/t/sp.test:
        Post-merge fixes. Error codes renumbered.
      sql/item_subselect.cc:
        Post-merge fixes. thd->lex is a pointer.
      sql/slave.cc:
        Post-merge fixes. Undid imported patch that's not 5.0 compatible.
      sql/sql_parse.cc:
        Post-merge fixes. Changed access API calls, and fixed merge error.
      sql/sql_table.cc:
        Post-merge fixes. No update log in 5.0.
      ec3a39dc
    • unknown's avatar
      small merge bug fixed · 4cc803c4
      unknown authored
      
      sql/item_sum.h:
        fixed merge bug
      4cc803c4
  4. 22 Oct, 2003 1 commit
    • unknown's avatar
      Merging 4.1->5.0 · 24f8b1cf
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/deleted/.del-compile-netware-src~1:
        Delete: netware/BUILD/compile-netware-src
      BitKeeper/deleted/.del-knetware.imp~1:
        Delete: netware/BUILD/knetware.imp
      client/mysql.cc:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      24f8b1cf
  5. 21 Oct, 2003 4 commits
    • unknown's avatar
      Bugfix of previous WL#1265 commit. · 7e8cc90a
      unknown authored
      Need a sp_cache_remove() function with implicit name lookup to make the WL task
      to work. It's a cleaner and more convenient interface anyway...
      
      
      sql/sp.cc:
        Modified sp_cache_remove() function calls; just remove by name.
      sql/sp_cache.cc:
        Modified sp_cache_remove() function. Get name and lookup/remove, return the
        removed entry, if any.
      sql/sp_cache.h:
        Modified sp_cache_remove() function. Get name and lookup/remove, return the
        removed entry, if any.
      7e8cc90a
    • 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
    • unknown's avatar
      WL#1265: Fix proper ALTER/DROP support in the SP cache. · 562a04d5
      unknown authored
      New sp_cache C API. When an SP is dropped, old caches (in other threads)
      become invalid and are cleared.
      Also, the caches in THD are only created on demand.
      
      
      Docs/sp-imp-spec.txt:
        Brough the SP cache docs up-to-date.
      sql/mysqld.cc:
        Initialize SP cache.
      sql/sp.cc:
        New C API for SP cache.
      sql/sp_cache.cc:
        New C API for sp_cache.
        The class sp_cache is still used, but not directly. The C functions makes takes
        care of updating caches when SPs are dropped. (This is done in the simplest
        possible way, by simply detecting drops and then clear all old caches.)
        The API is also designed so that the sp_cache is created on demand.
      sql/sp_cache.h:
        New C API for sp_cache.
        The class sp_cache is still used, but not directly. The C functions makes takes
        care of updating caches when SPs are dropped.
        The API is also designed so that the sp_cache is created on demand.
      sql/sql_class.cc:
        The new sp_cache API creates the caches on demand, to avoid allocating it
        when it's not needed.
      562a04d5
  6. 20 Oct, 2003 7 commits
  7. 19 Oct, 2003 2 commits
    • unknown's avatar
      made more fine error message in scripts/fill_help_tables.sh · 2a98f294
      unknown authored
      
      scripts/fill_help_tables.sh:
        made more fine error message
      2a98f294
    • unknown's avatar
      correct table name assigned to temporary table field: · be4e254b
      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
      be4e254b
  8. 17 Oct, 2003 3 commits
    • unknown's avatar
      thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h: · 6713bb09
      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
      6713bb09
    • unknown's avatar
      Bugfix. Local variables are now initialized to null. · 82e5115a
      unknown authored
      
      mysql-test/r/sp.result:
        New test case for bugfix (when a variable is not set due to an exception).
      mysql-test/t/sp.test:
        New test case for bugfix (when a variable is not set due to an exception).
      sql/item.h:
        Local variables are initialized to null.
      sql/sp_head.cc:
        Local variables are initialized to null.
      82e5115a
    • unknown's avatar
      fixed deleting derived table tree after using (BUG#1536) · 6795b264
      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
      6795b264
  9. 16 Oct, 2003 10 commits
    • unknown's avatar
      - portability fix: fix compile bug on HP-UX (thanks to acurtis for the · d894f233
      unknown authored
         patch)
        (BUG#1440: Redundant class name confusing hpux compiler)
      
      
      d894f233
    • unknown's avatar
      fixed sqlstate for ER_WRONG_INDEX_NAME · 0d28ff84
      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
      0d28ff84
    • unknown's avatar
      added checking for empty index name (fixed bug #1419) · ff50211d
      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
      ff50211d
    • unknown's avatar
      Handle user variables (@-vars) as OUT and INOUT parameters in SPs. · 12a0546d
      unknown authored
      
      mysql-test/r/sp.result:
        Test cases for user variables (@-vars) as OUT and INOUT parameters.
      mysql-test/t/sp.test:
        Test cases for user variables (@-vars) as OUT and INOUT parameters.
      sql/item_func.h:
        We need to be able to detect Item_func_get_user_vars when used as arguments to SPs.
      sql/sp_head.cc:
        Handle user variables (@-vars) as OUT and INOUT parameters.
        But we still just ignore it, if it's anything else.
      12a0546d
    • unknown's avatar
      Fix test after merge · e83a7c2c
      unknown authored
      
      mysql-test/r/create.result:
        update test results
      e83a7c2c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9c9ff4cc
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      9c9ff4cc
    • unknown's avatar
      Update results after merge · a474f8c3
      unknown authored
      a474f8c3
    • unknown's avatar
      Merge · 48d49976
      unknown authored
      
      sql/set_var.cc:
        SCCS merged
      48d49976
    • unknown's avatar
    • unknown's avatar
      merge with 4.0 · aff45e1b
      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
      aff45e1b
  10. 15 Oct, 2003 7 commits
    • unknown's avatar
      Created small scripts to manage in-tree diffs for NetWare platform, so changes... · efd76a94
      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
      
      
      
      efd76a94
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 893797be
      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
      893797be
    • unknown's avatar
      Portability fixes for windows · ddbc8428
      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
      ddbc8428
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 0fc97bc9
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      
      0fc97bc9
    • unknown's avatar
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT · b06eb4d8
      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
      b06eb4d8
    • unknown's avatar
      Fix for BUG#1547: "SELECT ... WHERE field = var" sometimes give the wrong result in SPs · 9aa680a0
      unknown authored
      Two missing methods added to Item_splocal + test case.
      
      
      mysql-test/r/sp.result:
        Test case for BUG#1547
      mysql-test/t/sp.test:
        Test case for BUG#1547
      sql/item.h:
        Fix for BUG#1547: "SELECT ... WHERE field = var" sometimes give the wrong result in SPs
        
        Added missing methods to Item_splocal to get the correct compare function
        and make the optimizer do the right thing.
      9aa680a0
    • unknown's avatar
      dummy resize_thr_alarm for Netware · e115c1f4
      unknown authored
      e115c1f4