An error occurred fetching the project authors.
  1. 24 Dec, 2004 1 commit
  2. 23 Dec, 2004 1 commit
    • unknown's avatar
      fix indentation · a627ffb9
      unknown authored
      add space after comma
      add space after equal
      add comments in vio_close_shared_memory()
      
      
      include/violite.h:
        fix indentation
      sql-common/client.c:
        fix identation
      sql/mysqld.cc:
        add space after comma
      vio/vio.c:
        add space after equal
        fix identation
      vio/viosocket.c:
        add space after comma
        add comments in vio_close_shared_memory()
      a627ffb9
  3. 22 Dec, 2004 1 commit
    • unknown's avatar
      changed name of g_eventLogger so it can be used in TransporterRegistry and is... · d5711a28
      unknown authored
      changed name of g_eventLogger so it can be used in TransporterRegistry and is the same as in the kernel
      
      
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        changed return type of no_ndb_nodes
      ndb/include/transporter/TransporterRegistry.hpp:
        added connect_server method to TransporterRegistry
      ndb/include/util/ndb_opts.h:
        set shared memory usage as _no_ default in 4.1
      ndb/src/common/transporter/Makefile.am:
        added -I flags for EventLogger.hpp
      ndb/src/common/transporter/SCI_Transporter.cpp:
        setting transporter type
      ndb/src/common/transporter/SHM_Transporter.cpp:
        setting transporter type
      ndb/src/common/transporter/TCP_Transporter.cpp:
        setting transporter type
      ndb/src/common/transporter/Transporter.cpp:
        added event logger
        added type handling in transporter
        added verification of transporter type compatability
      ndb/src/common/transporter/Transporter.hpp:
        setting transporter type
      ndb/src/common/transporter/TransporterRegistry.cpp:
        moved server-client transporter negotiation to own method connect_server()
        added verification of transporter compatability
      ndb/src/kernel/main.cpp:
        changed which events are logged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added g_eventLogger
      sql/mysqld.cc:
        set shared memory usage as _no_ default in 4.1
      d5711a28
  4. 20 Dec, 2004 1 commit
    • unknown's avatar
      added config parameter Group on connection · 16a1551f
      unknown authored
          moved NdbWaiter, m_ndb_cluster_connection, to impl class
          moved node selection things to cluster connection
          moved all private things to impl class
          added opts for shared memory and node selection
          changed opts handling somewhat; introduced enum for options and common handling of option variables
          added checks for transporter support
          automatic addition of shared mem transporters
          moved wait_until_ready code to cluster connection
          added control of usage of new node selection method
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        added config parameter Group on connection
      ndb/include/ndbapi/Ndb.hpp:
        moved NdbWaiter, m_ndb_cluster_connection, to impl class
        moved node selection things to cluster connection
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        moved all private things to impl class
      ndb/include/util/ndb_opts.h:
        added opts for shared memory and node selection
      ndb/src/kernel/vm/Configuration.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/src/mgmclient/main.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/src/mgmsrv/ConfigInfo.cpp:
        added checks for transporter support
        automatic addition of shared mem transporters
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        in alloc node id first choose connection with specified hostname
      ndb/src/mgmsrv/main.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/src/ndbapi/DictCache.hpp:
        added include file
      ndb/src/ndbapi/Ndb.cpp:
        enabled using new node selection method
        moved wait_until_ready code to cluster connection
        moved node selection (hint) to cluster connection
        removed start transaction dgroup
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        removed and added inclusde files
      ndb/src/ndbapi/NdbImpl.hpp:
        moved things from Ndb into Impl class
        moved waiter things to new file NdbWaiter.hpp
      ndb/src/ndbapi/NdbScanOperation.cpp:
        ndbwaiter is no in impl class
      ndb/src/ndbapi/Ndbif.cpp:
        ndbwaiter is no in impl class
      ndb/src/ndbapi/Ndbinit.cpp:
        moved some Ndb things into impl class
      ndb/src/ndbapi/TransporterFacade.hpp:
        changed friend declaration
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        moved node selection things to cluster connection
        moved things from cluster connection to cluster connection impl class
      ndb/test/ndbapi/testNdbApi.cpp:
        removed start transaction dgroup
      ndb/tools/delete_all.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/desc.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/drop_index.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/drop_tab.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/listTables.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/restore/restore_main.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/select_all.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/select_count.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/waiter.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      sql/ha_ndbcluster.cc:
        added control of usage of new node selection method
      sql/mysqld.cc:
        added control of usage of new node selection method
      16a1551f
  5. 14 Dec, 2004 1 commit
    • unknown's avatar
      BUG#6056 · 7defcb78
      unknown authored
      (continue)
      added event_conn_closed
      replaced WaitForSingleObject on WaitForMultipleObjects
      inserted a check in vio_close()
      added SetEvent() for event_conn_closed
      
      
      
      include/violite.h:
        added event_conn_closed
      sql-common/client.c:
        added event_conn_closed
      sql/mysqld.cc:
        added event_conn_closed
      vio/vio.c:
        added event_conn_closed
      vio/viosocket.c:
        replaced WaitForSingleObject on WaitForMultipleObjects
        inserted a check in vio_close()
        added SetEvent() for event_conn_closed
      7defcb78
  6. 13 Dec, 2004 1 commit
  7. 09 Dec, 2004 1 commit
    • unknown's avatar
      Fix for bug #6765 "Implicit access to time zone description · 7b96bc55
      unknown authored
      tables requires privileges for them if some table or column level grants
      present" (with after-review fixes).
      
      We should set SELECT_ACL for implicitly opened tables in 
      my_tz_check_n_skip_implicit_tables() to be able to bypass privilege
      checking in check_grant(). Also we should exclude those tables from
      privilege checking in multi-update.
      
      
      mysql-test/r/timezone2.result:
        Extended test for bug #6116 "SET time_zone := ... requires access to
        mysql.time_zone tables"
        Added test for bug #6765 "Implicit access to time zone description 
        tables requires privileges for them if some table or column level grants
        present"
      mysql-test/t/timezone2.test:
        Extended test for bug #6116 "SET time_zone := ... requires access to
        mysql.time_zone tables"
        Added test for bug #6765 "Implicit access to time zone description 
        tables requires privileges for them if some table or column level grants
        present"
      sql/item_geofunc.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/item_strfunc.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/log.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/mysql_priv.h:
        Now we have to include sql_acl.h before tztime.h, since 
        my_tz_check_n_skip_implicit_tables() defined there requires
        SELECT_ACL constant defined in sql_acl.h.
      sql/mysqld.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/repl_failsafe.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/set_var.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_acl.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_base.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_cache.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_class.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_db.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_derived.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_do.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_insert.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_parse.cc:
        check_one_table_access(): Tweaked comments.
        multi_update_precheck(): Added skipping of implicitly opened tables
          during privilege checking.
      sql/sql_prepare.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_repl.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_show.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_update.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_yacc.yy:
        sql_acl.h is now included via mysql_priv.h
      sql/tztime.h:
        my_tz_check_n_skip_implicit_tables():
          We should set SELECT_ACL for implictly opened tables to be able to
          bypass privilege checking in check_grant().
      7b96bc55
  8. 07 Dec, 2004 1 commit
  9. 02 Dec, 2004 1 commit
    • unknown's avatar
      mysqld.cc: · e8e3cd02
      unknown authored
        innodb_autoextend_increment: set a maximum limit of 1000 (Bug #6904)
      
      
      sql/mysqld.cc:
        innodb_autoextend_increment: set a maximum limit of 1000 (Bug #6904)
      e8e3cd02
  10. 30 Nov, 2004 6 commits
  11. 29 Nov, 2004 1 commit
    • unknown's avatar
      Applied some Netware related patches. · caf12257
      unknown authored
      client/mysqladmin.cc:
        Added option to mysqladmin for Netware.
      netware/comp_err.def:
        Copyright notice update, for Netware.
      netware/isamchk.def:
        Copyright notice update, for Netware.
      netware/isamlog.def:
        Copyright notice update, for Netware.
      netware/libmysql.def:
        Copyright notice update, for Netware.
      netware/my_print_defaults.def:
        Copyright notice update, for Netware.
      netware/myisam_ftdump.def:
        Copyright notice update, for Netware.
      netware/myisamchk.def:
        Copyright notice update, for Netware.
      netware/myisamlog.def:
        Copyright notice update, for Netware.
      netware/myisampack.def:
        Copyright notice update, for Netware.
      netware/mysql.def:
        Copyright notice update, for Netware.
      netware/mysql_install.def:
        Copyright notice update, for Netware.
      netware/mysql_install_db.def:
        Copyright notice update, for Netware.
      netware/mysql_test_run.def:
        Copyright notice update, for Netware.
      netware/mysql_waitpid.def:
        Copyright notice update, for Netware.
      netware/mysqladmin.def:
        Copyright notice update, for Netware.
      netware/mysqlbinlog.def:
        Copyright notice update, for Netware.
      netware/mysqlcheck.def:
        Copyright notice update, for Netware.
      netware/mysqld.def:
        Copyright notice update, for Netware.
      netware/mysqld_safe.def:
        Copyright notice update, for Netware.
      netware/mysqldump.def:
        Copyright notice update, for Netware.
      netware/mysqlimport.def:
        Copyright notice update, for Netware.
      netware/mysqlshow.def:
        Copyright notice update, for Netware.
      netware/mysqltest.def:
        Copyright notice update, for Netware.
      netware/pack_isam.def:
        Copyright notice update, for Netware.
      netware/perror.def:
        Copyright notice update, for Netware.
      netware/replace.def:
        Copyright notice update, for Netware.
      netware/resolve_stack_dump.def:
        Copyright notice update, for Netware.
      netware/resolveip.def:
        Copyright notice update, for Netware.
      sql/mysqld.cc:
        Changes to fix the abend on NetWare on recieving the server down and volume deactivation 
        events. Do not join for the main thread if these events occur
      caf12257
  12. 23 Nov, 2004 1 commit
  13. 18 Nov, 2004 1 commit
  14. 17 Nov, 2004 1 commit
    • unknown's avatar
      Enabled usage of new system variables for ndb · 40eaf1a5
      unknown authored
        - ndb_use_exact_count
        - ndb_autoincrement_prefetch_sz
        - ndb_use_transactions
        - ndb_force_send
      moved "inlined" functions to .cc file since they are virtual anyways
      enabled printout od ndb errors in warnings even if mapping existst to mysql error code
      
      
      sql/ha_ndbcluster.h:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
        moved "inlined" functions to .cc file since they are virtual anyways
      sql/mysqld.cc:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
      sql/set_var.cc:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
      sql/sql_class.h:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
      40eaf1a5
  15. 11 Nov, 2004 1 commit
  16. 10 Nov, 2004 1 commit
    • unknown's avatar
      More debugging · 3b4ff971
      unknown authored
      Print position in normal log for Binlog dump
      
      
      dbug/dbug.c:
        Added DBUG_OUTPUT() to temporary start/stop trace-file output
        Optimized alignment of CODE_STATE structure
      include/my_dbug.h:
        Added DBUG_OUTPUT() to temporary start/stop trace-file output
      sql/field.cc:
        Safety fix when used with future 5.0 .frm tables
      sql/log.cc:
        More debugging
      sql/mysqld.cc:
        Fixed type
      sql/slave.cc:
        Fixed wrong cast (not a bug)
      sql/sql_class.h:
        More DBUG output
      sql/sql_parse.cc:
        Print position in normal log for Binlog dump
      3b4ff971
  17. 07 Nov, 2004 1 commit
    • unknown's avatar
      Simpler arena swapping code · dda7a6a9
      unknown authored
      Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
      This gives us the following benefits:
      - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
      - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
      - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
      
      
      
      client/mysqltest.c:
        Remove some not needed defines
        (Things like this should be done in config-win.h)
      include/config-win.h:
        Added popen() and pclose() compatibility macros
      mysql-test/t/rpl_failed_optimize-master.opt:
        Portability fix
      sql/ha_berkeley.cc:
        New thd->memroot handling
      sql/item_cmpfunc.cc:
        Simpler arena swapping code
      sql/item_func.cc:
        Simpler arena swapping code
      sql/item_subselect.cc:
        Simpler arena swapping code
        New thd->mem_root handling
      sql/item_sum.cc:
        New thd->mem_root handling
      sql/item_timefunc.cc:
        Fixed not-initalized usage errors found by valgrind
      sql/log_event.cc:
        New thd->mem_root handling
      sql/mysql_priv.h:
        New thd->mem_root handling
      sql/mysqld.cc:
        New thd->mem_root handling
      sql/opt_range.cc:
        New thd->mem_root handling
      sql/repl_failsafe.cc:
        New thd->mem_root handling
      sql/set_var.cc:
        New thd->mem_root handling
      sql/sql_acl.cc:
        New thd->mem_root handling
      sql/sql_base.cc:
        Simpler arena swapping code
        New thd->mem_root handling
      sql/sql_class.cc:
        New thd->mem_root handling
      sql/sql_class.h:
        Simpler arena swapping code
        New thd->mem_root handling
      sql/sql_db.cc:
        New thd->mem_root handling
      sql/sql_error.cc:
        New thd->mem_root handling
      sql/sql_help.cc:
        New thd->mem_root handling
      sql/sql_insert.cc:
        New thd->mem_root handling
      sql/sql_parse.cc:
        New thd->mem_root handling
        Added some extra checking of return value of new
      sql/sql_prepare.cc:
        New thd->mem_root handling
      sql/sql_select.cc:
        New thd->mem_root handling
      sql/sql_select.h:
        New thd->mem_root handling
      sql/sql_union.cc:
        Simpler arena swapping code
      sql/sql_yacc.yy:
        New thd->mem_root handling
      sql/table.cc:
        New thd->mem_root handling
      sql/thr_malloc.cc:
        New thd->mem_root handling
      tests/client_test.c:
        Added drop table to some tests
        Changed some table names to 't1'
      dda7a6a9
  18. 04 Nov, 2004 1 commit
    • unknown's avatar
      BUG#6056 · 2fea6af8
      unknown authored
      fixed MySQL can't clean shutdown with --shared-memory
      
      
      sql/mysqld.cc:
        changed event_connect_request to global variable
        added signal sending
      2fea6af8
  19. 02 Nov, 2004 2 commits
    • unknown's avatar
      Remove usage of !$ from mysql-tests · 2bcfcbfe
      unknown authored
      Added protocol::flush() for easier embedded-server code
      Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      Added option --silent to client_test
      
      
      client/mysqltest.c:
        Removed compiler warning
        Fixed identation & comments from earlier push
        Renamed variable 'disable_abort_on_error' to 'abort_on_error'
        Ensure that '$mysql_errno' also with --ps-protocol
      include/mysql_com.h:
        Removed special handling of net_flush for embedded server
      mysql-test/r/mysqltest.result:
        Remove usage of !$ in tests
      mysql-test/t/client_test.test:
        Use --silent
      mysql-test/t/comments.test:
        Remove usage of !$ in tests
      mysql-test/t/join_outer.test:
        Remove usage of !$ in tests
      mysql-test/t/key.test:
        Remove usage of !$ in tests
      mysql-test/t/mysqltest.test:
        Remove usage of !$ in tests
      mysql-test/t/show_check.test:
        Remove usage of !$ in tests
      mysql-test/t/temp_table.test:
        Remove usage of !$ in tests
      mysql-test/t/type_ranges.test:
        Remove usage of !$ in tests
      sql/mysqld.cc:
        Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      sql/net_serv.cc:
        Remove special usage of net_flush in embedded server
      sql/protocol.cc:
        Added protocol::flush() for easier embedded-server code
      sql/protocol.h:
        Added protocol::flush() for easier embedded-server code
      sql/sql_prepare.cc:
        Added protocol::flush() for easier embedded-server code
        Remove one extra flush() for prepared statements
      sql/sql_show.cc:
        Added protocol::flush() for easier embedded-server code
      tests/client_test.c:
        Added option --silent
      2bcfcbfe
    • unknown's avatar
      Bug# 5303 Windows --log-error option doesn't work correctly · f2a1eae8
      unknown authored
      sql/mysqld.cc:
        changed to open log_error_file instead of "mysql.err" on Windows
      f2a1eae8
  20. 01 Nov, 2004 1 commit
    • unknown's avatar
      mysqld.cc: · b99e57bb
      unknown authored
        Describe innodb_max_purge_lag
        Improve description of innodb_table_locks
      
      
      sql/mysqld.cc:
        Describe innodb_max_purge_lag
        Improve description of innodb_table_locks
      b99e57bb
  21. 27 Oct, 2004 1 commit
    • unknown's avatar
      Backport innodb_max_purge_lag from 4.1 · 2d4bea72
      unknown authored
      innobase/include/srv0srv.h:
        Add configuration parameter srv_max_purge_lag.
        Add global variable srv_dml_needed_delay.
      innobase/include/trx0sys.h:
        Add trx_sys->rseg_history_len
      innobase/row/row0mysql.c:
        Add row_mysql_delay_if_needed() for delaying INSERTs, UPDATEs and
        DELETEs for srv_dml_needed_delay microseconds.
      innobase/srv/srv0srv.c:
        Define global variable srv_dml_needed_delay.
        Define configuration parameter srv_max_purge_lag.
      innobase/trx/trx0purge.c:
        Update trx_sys->rseg_history_len.
        trx_purge(): Compute srv_dml_needed_delay from srv_max_purge_lag
        and trx_sys->rseg_history_len.
      innobase/trx/trx0rseg.c:
        Initialize trx_sys->rseg_history_len at InnoDB start-up.
      sql/ha_innodb.h:
        Add configuration parameter srv_max_purge_lag.
      sql/mysqld.cc:
        Add startup option innodb_max_purge_lag,
        with default value 0 (meaning infinite, disabling the feature).
      sql/set_var.cc:
        Add global variable innodb_max_purge_lag.
      2d4bea72
  22. 25 Oct, 2004 1 commit
  23. 20 Oct, 2004 2 commits
    • unknown's avatar
      Fix test case for innodb-lock · 0a505ccc
      unknown authored
      mysql-test/r/innodb-lock.result:
        Fix test case (old one didn't test things correctly)
      mysql-test/t/innodb-lock.test:
        Fix test case (old one didn't test things correctly)
      mysys/thr_lock.c:
        More debugging information
      sql/mysqld.cc:
        Enable innodb_table_locks as default, as otherwise there is a possibility for deadlocks
      sql/sql_base.cc:
        More debug information
      0a505ccc
    • unknown's avatar
      Code cleanups (done during review of new code) · 0d873f90
      unknown authored
      Rename innodb_table_locks_old_behavior -> innodb_table_locks
      Set innodb_table_locks to off by default to get same behaviour as in MySQL 4.0.20
      (This means that Innodb ignore table locks by default, which makes it easier to combine MyISAM and InnoDB to simulate a transaction)
      
      
      libmysql/libmysql.c:
        Use ulong instead of unsigned long
        Reuse _dig_vec()
      myisam/myisampack.c:
        Simplify code
      mysql-test/r/innodb-lock.result:
        new test case
      mysql-test/t/innodb-lock.test:
        new test case
      sql/ha_innodb.cc:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
      sql/mysqld.cc:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
        Set this off by default to get same behaviour as in MySQL 4.0.20
      sql/set_var.cc:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
      sql/sql_class.h:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
      0d873f90
  24. 19 Oct, 2004 1 commit
    • unknown's avatar
      Review of all code pushed since last review · da02110d
      unknown authored
      Simple optimzations and cleanups
      Removed compiler warnings and fixed portability issues
      Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
      Fixes for purify
      
      
      client/mysqlimport.c:
        Remove not used variable
      client/mysqltest.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
        Simplified code
        Remove usage of sprintf("%llu") as this is not portable
      include/mysql.h:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      innobase/srv/srv0start.c:
        Don't use memcmp() when using purify (to avoid false warnings)
      libmysql/libmysql.c:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      libmysql/libmysql.def:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      myisam/myisam_ftdump.c:
        Remove compiler warning
      myisam/myisamchk.c:
        Remove compiler warning
      myisam/rt_test.c:
        #ifdef not used code
      mysys/hash.c:
        Remove compiler warning (from last push)
      mysys/my_gethwaddr.c:
        Remove compiler warning
      ndb/src/ndbapi/ndberror.c:
        #ifdef not used code
      regex/regcomp.c:
        Remove not used code
      regex/regcomp.ih:
        Remove not used code (to remove compiler warnings)
      sql-common/client.c:
        Remove compiler warnings
      sql/field.cc:
        Simple optimization
      sql/ha_innodb.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/item.cc:
        Fix comments
        Move variables first on block
        Remove else after return
        Simple optimizations
        (no logic changes)
      sql/item_cmpfunc.cc:
        Added comment
      sql/mysql_priv.h:
        Rename mysql_embedded -> mysqld_embedded
      sql/mysqld.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/sql_acl.cc:
        Added comments
        simple optimization
        Fixed 'very unlikely' bug when doing REVOKE ALL PRIVILEGES
      sql/sql_select.cc:
        More comments
        Simple optimization
      sql/sql_show.cc:
        Simple changes to make similar code similar
        More comments
      sql/sql_string.cc:
        Trivial optimization and better code layout
      strings/Makefile.am:
        Change xml.c to use bcmp to avoid warnings from purify
      strings/xml.c:
        Change xml.c to use bcmp to avoid warnings from purify
      tests/client_test.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
      da02110d
  25. 17 Oct, 2004 1 commit
    • unknown's avatar
      mysqld.cc: · 03a67b25
      unknown authored
        BUG #5731 key_buffer_size not properly restricted to 4GB; use UINT_MAX32 for clarity.
      
      
      sql/mysqld.cc:
        BUG #5731 key_buffer_size not properly restricted to 4GB; use UINT_MAX32 for clarity.
      03a67b25
  26. 13 Oct, 2004 1 commit
    • unknown's avatar
      Added startup option and settable session variable · 6e7b0910
      unknown authored
      innodb_table_locks_old_behavior: do not acquire an
      InnoDB table lock for LOCK TABLES, as in mysql-4.0.18
      and earlier.
      
      
      sql/ha_innodb.cc:
        Do not acquire an InnoDB table lock for LOCK TABLES if
        innodb_table_locks_old_behavior is enabled.
      sql/mysqld.cc:
        Added innodb_table_locks_old_behavior
      sql/set_var.cc:
        Added innodb_table_locks_old_behavior
      sql/sql_class.h:
        Added innodb_table_locks_old_behavior
      6e7b0910
  27. 07 Oct, 2004 1 commit
    • unknown's avatar
      After merge fixes · 73950f75
      unknown authored
      Some bigger code changes was necessary becasue of the multi-table-update and the new HANDLER code
      
      
      include/hash.h:
        Added back function that's was used in 4.0
      mysql-test/r/delete.result:
        Update results after merge
      mysql-test/r/flush_table.result:
        Update results after merge
      mysql-test/r/func_str.result:
        Update results after merge
      mysql-test/r/handler.result:
        Update results after merge
        Change is big becasue in MySQL 4.1 you are not allowed to qualify the handler alias with a databasename
      mysql-test/r/multi_update.result:
        More startup cleanups
      mysql-test/r/rename.result:
        More startup-cleanups
      mysql-test/r/select.result:
        More startup cleanups
      mysql-test/r/show_check.result:
        More startup-cleanups
      mysql-test/t/ctype_latin1_de.test:
        Cleanup
      mysql-test/t/derived.test:
        Portability fix
      mysql-test/t/handler.test:
        Update results after merge
        Change is big becasue in MySQL 4.1 you are not allowed to qualify the handler alias with a databasename
      mysql-test/t/multi_update.test:
        More startup cleanups
      mysql-test/t/range.test:
        More comments
      mysql-test/t/rename.test:
        More startup cleanups
      mysql-test/t/select.test:
        More startup cleanups
      mysql-test/t/show_check.test:
        More startup cleanups
      mysql-test/t/type_timestamp.test:
        Add back test deleted during merge
      sql/item_cmpfunc.cc:
        After merge fixes
      sql/item_func.cc:
        Remove compiler warning
      sql/mysql_priv.h:
        After merge fixes
      sql/mysqld.cc:
        After merge fixes
      sql/sql_acl.cc:
        More debugging
      sql/sql_base.cc:
        After merge fixes
        (This fix was needed bacause of multi-table-update reopens tables)
      sql/sql_handler.cc:
        After merge fixes
      sql/sql_lex.h:
        After merge fixes
      sql/sql_select.cc:
        After merge fixes
      sql/sql_show.cc:
        After merge fixes
      sql/sql_table.cc:
        After merge fixes
        Simple cleanup of mysql_discard_or_import_tablespace
      sql/sql_update.cc:
        After merge fixes
        Rework mysql_multi_update to take into account derived tables.
      sql/sql_yacc.yy:
        After merge fixes
      73950f75
  28. 06 Oct, 2004 1 commit
    • unknown's avatar
      Enabled the writing of a pid file on Windows. · 0a843a7d
      unknown authored
      mysqld.cc:
        Added call to create_pid_file to start_signal_handler on windows.  Also removed the #ifndef WINDOWS from two calls that deletes the pid file
      
      
      sql/mysqld.cc:
        Added call to create_pid_file to start_signal_handler on windows.  Also removed the #ifndef WINDOWS from two calls that deletes the pid file
      0a843a7d
  29. 03 Oct, 2004 1 commit
    • unknown's avatar
      mysqld.cc: · 9f4b6e20
      unknown authored
        BUG #5731 Restrict key_buffer_size to 4GB on 64 bit platforms
      
      
      sql/mysqld.cc:
        BUG #5731 Restrict key_buffer_size to 4GB on 64 bit platforms
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      9f4b6e20
  30. 30 Sep, 2004 3 commits
    • unknown's avatar
      Solve compile problem for 4.0.22 on hpita2. (Backport of a 4.1 change) · 5b426c25
      unknown authored
      sql/mysqld.cc:
        Replace 'sete_id(_)' calls by 'setre_id(-1,_)' calls, as the former
        have no prototypes on some platforms. (Backport of a 4.1 change)
      5b426c25
    • unknown's avatar
      InnoDB: implement innodb_max_purge_lag · f8eee7ca
      unknown authored
      innobase/include/srv0srv.h:
        Added srv_max_purge_lag and srv_dml_needed_delay
      innobase/include/trx0sys.h:
        Added trx_sys->rseg_history_len
      innobase/row/row0mysql.c:
        Added row_mysql_delay_if_needed()
      innobase/srv/srv0srv.c:
        Added srv_max_purge_lag and srv_dml_needed_delay
      innobase/trx/trx0purge.c:
        Update trx_sys->rseg_history_len.
        Calculate srv_dml_needed_delay from srv_max_purge_lag
        and trx_sys->rseg_history_len.
      innobase/trx/trx0rseg.c:
        Initialize trx_sys->rseg_history_len
      sql/ha_innodb.h:
        Add srv_max_purge_lag
      sql/mysqld.cc:
        Add parameter innodb_max_purge_lag
      sql/set_var.cc:
        Add global variable innodb_max_purge_lag
      f8eee7ca
    • unknown's avatar
      Made innodb_autoextend_increment accessible as a global variable. · 9e9fb4f8
      unknown authored
      sql/ha_innodb.cc:
        Removed variable innobase_auto_extend_increment
        (access srv_auto_extend_increment directly)
      sql/ha_innodb.h:
        Removed variable innobase_auto_extend_increment
        (access srv_auto_extend_increment directly)
      sql/mysqld.cc:
        Moved innodb_autoextend_increment to alphabetically correct position.
        Replaced innobase_auto_extend_increment with srv_auto_extend_increment.
      sql/set_var.cc:
        Added innodb_autoextend_increment
      9e9fb4f8
  31. 24 Sep, 2004 1 commit
    • unknown's avatar
      Fix for BUG#3248 "Doc says MyISAM warns if disk full but it does not": · 5dd9b86f
      unknown authored
      we force the message to the error log, and we make it more informative;
      we treat EDQUOT like ENOSPC.
      
      
      mysys/errors.c:
        more informative message
      mysys/my_fstream.c:
        Treat EDQUOT like ENOSPC.
      mysys/my_pread.c:
        Treat EDQUOT like ENOSPC.
      mysys/my_write.c:
        Treat EDQUOT like ENOSPC.
      mysys/mysys_priv.h:
        Define EDQUOT when it does not exist. Finally decided to put it here after discussion with Monty:
        as this constant is used only in 3 files only in mysys/, I don't make it visible everywhere
        (there currently is no file of choice for such defines; my_base.h does not contain any).
        Using a value which never happens avoids collisions.
      sql/mysqld.cc:
        If ME_NOREFRESH, we write message to error log, even if it has been saved for client (because if operation
        is hanging, the message does not get to client now; example is MyISAM waiting for free disk space).
      5dd9b86f