1. 01 Jun, 2004 2 commits
    • unknown's avatar
      row0mysql.c, row0mysql.h, ha_innodb.cc: · 3db332ca
      unknown authored
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      
      
      sql/ha_innodb.cc:
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      innobase/include/row0mysql.h:
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      innobase/row/row0mysql.c:
        Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
      3db332ca
    • unknown's avatar
      Changed --log-warnings to be integer instead of boolean. Given --skip-log-warnings · 80c66247
      unknown authored
      will disable warnings, --log-warnings will increment warning level by one, or the
      level can be given as an optional argument. Default level is 1.
      
      Changed aborted connection warning to be logged only if the level is > 1.
      
      
      sql/sql_class.h:
        Changed boolean into ulong.
      sql/sql_parse.cc:
        Changed aborted connection warning to be logged only if the level is > 1.
      80c66247
  2. 31 May, 2004 3 commits
  3. 30 May, 2004 1 commit
  4. 29 May, 2004 2 commits
  5. 28 May, 2004 5 commits
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 64e98031
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b3738
      
      
      64e98031
    • unknown's avatar
      a fix. · 0cb0e7f5
      unknown authored
      (Bug#3738: SQL_CALC_FOUND_ROWS ignores WHERE if LIMIT used,
       Bug#3845: wrong FOUND_ROWS result)
      
      
      0cb0e7f5
    • unknown's avatar
      InnoDB: Add diagnostics when tmpfile() fails at start (Bug #3919) · 7aa93578
      unknown authored
      
      innobase/dict/dict0dict.c:
        Replace tmpfile() with os_file_create_tmpfile()
      innobase/include/os0file.h:
        Add os_file_create_tmpfile()
      innobase/lock/lock0lock.c:
        Replace tmpfile() with os_file_create_tmpfile()
      innobase/os/os0file.c:
        Add os_file_create_tmpfile()
        os_file_handle_error(): remove unused first parameter
      7aa93578
    • unknown's avatar
      Added option --config-extra-env to Do-compile · 606cb09d
      unknown authored
      
      Build-tools/Do-compile:
        Added option --config-extra-env
      include/my_global.h:
        Cleaned up comment to follow same indentation style as the rest of the code
      606cb09d
    • unknown's avatar
      my_global.h: · e356f664
      unknown authored
        Improved a comment about HAVE_BROKEN_PREAD: pread() only works on HP-UX 11.0 if one installs kernel patch PHKL_20349 or greater
      
      
      include/my_global.h:
        Improved a comment about HAVE_BROKEN_PREAD: pread() only works on HP-UX 11.0 if one installs kernel patch PHKL_20349 or greater
      e356f664
  6. 27 May, 2004 7 commits
  7. 26 May, 2004 5 commits
    • unknown's avatar
      netware files should always be in 'make dist' · 1d03d162
      unknown authored
      use opt_net_buffer_length instead of net_buffer_length
      
      
      Makefile.am:
        netware files should always be in 'make dist'
      client/mysqldump.c:
        use opt_net_buffer_length instead of net_buffer_length
      configure.in:
        netware files should always be in 'make dist'
      netware/Makefile.am:
        netware files should always be in 'make dist'
      1d03d162
    • unknown's avatar
      VC++ portability fix · cc24ac70
      unknown authored
      
      VC++Files/client/mysqlclient.dsp:
        Added missing /D MYSQL_CLIENT
      VC++Files/innobase/innobase.dsp:
        Remove not existing file
      sql/mysqld.cc:
        Fixed comment
      cc24ac70
    • unknown's avatar
      InnoDB fixup: remove debug assertion that causes compile error · e6b4c164
      unknown authored
      when UNIV_DEBUG is defined (introduced in ChangeSet@1.1850)
      
      
      innobase/que/que0que.c:
        Remove ut_ad() reference to removed parameter next_thr
      e6b4c164
    • unknown's avatar
      Fix to make Windows compilation smoother · 00c41b28
      unknown authored
      
      VC++Files/innobase/innobase.dsp:
        non-existent file removed
      client/mysql.cc:
        local opt_max_allowed_packet and opt_net_buffer_length introduced
      client/mysqldump.c:
        local opt_max_allowed_packet and opt_net_buffer_length introduced
      include/mysql.h:
        mysql_get_parameters() interface added
        #define max_allowed_packet added
      include/mysql_com.h:
        these should not be exported
      libmysql/libmysql.c:
        mysql_get_parameters implementations
      libmysql/libmysql.def:
        interface changed
      libmysql_r/Makefile.am:
        MYSQL_CLIENT define added
      libmysqld/lib_sql.cc:
        line moved to be above the '#include "mysql.cc"'
      libmysqld/libmysqld.c:
        mysql_get_parameters implementation (embedded)
      libmysqld/libmysqld.def:
        interface changed
      sql/log_event.cc:
        should be like that in this case
      tools/mysqlmanager.c:
        compiler warns on this line
      00c41b28
    • unknown's avatar
      InnoDB cleanup: Remove unused code for online backup · 3b1dd9af
      unknown authored
      
      innobase/include/log0log.h:
        Remove references to online backup
      innobase/include/log0log.ic:
        Remove references to online backup
      innobase/include/mtr0mtr.h:
        Remove references to MLOG_FULL_PAGE
      innobase/log/log0log.c:
        Remove references to online backup
      innobase/log/log0recv.c:
        Remove references to MLOG_FULL_PAGE
      innobase/mtr/mtr0mtr.c:
        Remove references to MLOG_FULL_PAGE
        Remove references to online backup
      3b1dd9af
  8. 25 May, 2004 10 commits
    • unknown's avatar
      Added new header files · fd079fda
      unknown authored
      fd079fda
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · a3d0ce6b
      unknown authored
      into mysql.com:/tmp/skr99/mysql-4.0
      
      
      a3d0ce6b
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 84fbc276
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0
      
      
      84fbc276
    • unknown's avatar
      Proposed fix for bug #3818 (libmysqld.dll leads to program's crash) · 19a78cea
      unknown authored
      configurations added to build the libraries with USE_TLS flag to be
      used for libmysqld
      
      
      VC++Files/dbug/dbug.dsp:
        TLS_DEBUG configuration added
      VC++Files/heap/heap.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/isam/isam.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/libmysql/libmysql.dsp:
        MYSQL_CLIENT define enabled
      VC++Files/libmysqld/libmysqld.dsp:
        using of _tls libraries added
      VC++Files/myisam/myisam.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/myisammrg/myisammrg.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/mysys/mysys.dsp:
        TLS and TLS_DEBUG configurations added
      include/mysql_com.h:
        __declspec(dllimport) seems to be necessary when one uses .dll
        on Windows
      19a78cea
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · b287ca53
      unknown authored
      into mysql.com:/tmp/skr99/mysql-4.0
      
      
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      myisam/myisam_ftdump.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      b287ca53
    • unknown's avatar
      Added patches from Novell · b3851363
      unknown authored
      
      Build-tools/Do-compile:
        Fixed indentation
      configure.in:
        Added patches from Novell
        Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS
      extra/perror.c:
        Fixed error number reporting to not report 'Unknown error'
      include/my_global.h:
        Defines to make NETWARE patches cleaner
      include/thr_alarm.h:
        Fixed wrong macro
      netware/mysql_install_db.c:
        Indentation fix
      b3851363
    • unknown's avatar
      InnoDB cleanup and possible bug-fix: Remove srv0que · b2882fd4
      unknown authored
      
      BitKeeper/deleted/.del-srv0que.c~d1feebb77b5a9b96:
        Delete: innobase/srv/srv0que.c
      innobase/srv/Makefile.am:
        Remove srv0que.c
      BitKeeper/deleted/.del-srv0que.h~f12ecb4b5afe203e:
        Delete: innobase/include/srv0que.h
      innobase/include/Makefile.am:
        Remove srv0que.c
      innobase/include/que0que.h:
        Remove unnecessary function que_fork_error_handle()
        que_thr_end_wait(): Remove output parameter next_thr; return it
      innobase/include/trx0roll.h:
        trx_rollback(), trx_finish_rollback_off_kernel():
        Remove output parameter next_thr; return it instead
      innobase/include/trx0trx.h:
        trx_sig_send(), trx_sig_reply(), trx_sig_start_handle():
        Remove output parameter next_thr; return it instead
      innobase/include/usr0sess.h:
        Remove sess->state and its literals SESS_ACTIVE and SESS_ERROR
      innobase/que/que0que.c:
        Remove unnecessary function que_fork_error_handle()
        que_thr_end_wait(): Remove output parameter next_thr; return it
        Remove references to srv0que.c
      innobase/srv/srv0srv.c:
        Remove unnecessary #include "srv0que.h"
      innobase/trx/trx0purge.c:
        Remove unneeded references to srv0que.c
      innobase/trx/trx0roll.c:
        Many functions: Remove output parameter next_thr; return it instead
        Remove references to srv0que.c
      innobase/trx/trx0trx.c:
        Many functions: Remove output parameter next_thr; return it instead
        Remove references to srv0que.c
        Remove references to SESS_ERROR
      innobase/usr/usr0sess.c:
        Remove sess->state
      b2882fd4
    • unknown's avatar
      Fixed VC++ project files · 137af900
      unknown authored
      
      VC++Files/copy_mysql_files.bat:
        Added /Y to avoid questions
        Fixed wrong path for copying data files
      VC++Files/sql/mysqld.dsp:
        Added missing compiler option
      137af900
    • unknown's avatar
      Removed references to BDB and InnoDB from 'classic' release · b7e8f418
      unknown authored
      
      VC++Files/mysqldemb/mysqldemb.dsp:
        Removed references to BDB and InnoDB from 'classic'
      VC++Files/sql/mysqld.dsp:
        Removed references to BDB and InnoDB from 'classic'
      b7e8f418
    • unknown's avatar
      fixed typos · 48e39bf2
      unknown authored
      48e39bf2
  9. 24 May, 2004 5 commits
    • unknown's avatar
      Fixed typo · 8a1a9930
      unknown authored
      8a1a9930
    • unknown's avatar
      New MYSQL_SERVER_SUFFIX usage (for easier compilation) · da1623dd
      unknown authored
      Update of VC++ project files.
      
      
      VC++Files/mysqlmanager/childfrm.cpp:
        Rename: VC++Files/mysqlmanager/CHILDFRM.CPP -> VC++Files/mysqlmanager/childfrm.cpp
      VC++Files/mysqlmanager/childfrm.h:
        Rename: VC++Files/mysqlmanager/CHILDFRM.H -> VC++Files/mysqlmanager/childfrm.h
      VC++Files/mysqlmanager/mainfrm.cpp:
        Rename: VC++Files/mysqlmanager/MAINFRM.CPP -> VC++Files/mysqlmanager/mainfrm.cpp
      VC++Files/mysqlmanager/mainfrm.h:
        Rename: VC++Files/mysqlmanager/MAINFRM.H -> VC++Files/mysqlmanager/mainfrm.h
      VC++Files/mysqlmanager/mysqlmanager.dsp:
        Rename: VC++Files/mysqlmanager/MySqlManager.dsp -> VC++Files/mysqlmanager/mysqlmanager.dsp
      VC++Files/mysqlmanager/mysqlmanager.mak:
        Rename: VC++Files/mysqlmanager/MySqlManager.mak -> VC++Files/mysqlmanager/mysqlmanager.mak
      VC++Files/mysqlmanager/resource.h:
        Rename: VC++Files/mysqlmanager/RESOURCE.H -> VC++Files/mysqlmanager/resource.h
      VC++Files/mysqlmanager/stdafx.cpp:
        Rename: VC++Files/mysqlmanager/STDAFX.CPP -> VC++Files/mysqlmanager/stdafx.cpp
      VC++Files/mysqlmanager/stdafx.h:
        Rename: VC++Files/mysqlmanager/STDAFX.H -> VC++Files/mysqlmanager/stdafx.h
      VC++Files/mysqlmanager/toolsql.cpp:
        Rename: VC++Files/mysqlmanager/TOOLSQL.CPP -> VC++Files/mysqlmanager/toolsql.cpp
      VC++Files/mysqlmanager/toolsql.h:
        Rename: VC++Files/mysqlmanager/TOOLSQL.H -> VC++Files/mysqlmanager/toolsql.h
      VC++Files/mysqlmanager/RES/bitmap1.bmp:
        Rename: VC++Files/mysqlmanager/RES/BITMAP1.BMP -> VC++Files/mysqlmanager/RES/bitmap1.bmp
      VC++Files/mysqlmanager/RES/bitmap3.bmp:
        Rename: VC++Files/mysqlmanager/RES/BITMAP3.BMP -> VC++Files/mysqlmanager/RES/bitmap3.bmp
      VC++Files/mysqlmanager/RES/bmp00001.bmp:
        Rename: VC++Files/mysqlmanager/RES/BMP00001.BMP -> VC++Files/mysqlmanager/RES/bmp00001.bmp
      VC++Files/mysqlmanager/RES/bmp00002.bmp:
        Rename: VC++Files/mysqlmanager/RES/BMP00002.BMP -> VC++Files/mysqlmanager/RES/bmp00002.bmp
      VC++Files/mysqlmanager/RES/database.bmp:
        Rename: VC++Files/mysqlmanager/RES/DATABASE.BMP -> VC++Files/mysqlmanager/RES/database.bmp
      VC++Files/mysqlmanager/RES/fontd.bmp:
        Rename: VC++Files/mysqlmanager/RES/FONTD.BMP -> VC++Files/mysqlmanager/RES/fontd.bmp
      VC++Files/mysqlmanager/RES/fontu.bmp:
        Rename: VC++Files/mysqlmanager/RES/FONTU.BMP -> VC++Files/mysqlmanager/RES/fontu.bmp
      VC++Files/mysqlmanager/RES/query_ex.bmp:
        Rename: VC++Files/mysqlmanager/RES/QUERY_EX.BMP -> VC++Files/mysqlmanager/RES/query_ex.bmp
      VC++Files/mysqlmanager/RES/toolbar.bmp:
        Rename: VC++Files/mysqlmanager/RES/TOOLBAR.BMP -> VC++Files/mysqlmanager/RES/toolbar.bmp
      BUILD/compile-pentium-valgrind-max:
        Use MYSQL_SERVER_SUFFIX
      VC++Files/bdb/bdb.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/client/mysql.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/client/mysqladmin.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/client/mysqldump.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/client/mysqlimport.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/client/mysqlshow.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/copy_mysql_files.bat:
        Assume we are in correct directory
      VC++Files/innobase/innobase.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
        Remove old files
      VC++Files/isamchk/isamchk.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/libmysqld/libmysqld.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/my_print_defaults/my_print_defaults.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/myisamchk/myisamchk.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/myisamlog/myisamlog.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/myisampack/myisampack.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/mysql.dsw:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/mysys/mysys.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/pack_isam/pack_isam.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/perror/perror.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/replace/replace.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      VC++Files/sql/mysqld.dsp:
        Use new version of MYSQL_SERVER_SUFFIX
      include/my_global.h:
        Added QUOTE and STRINGIFY
      include/mysql_version.h.in:
        New MYSQL_SERVER_SUFFIX handling
      innobase/eval/eval0eval.c:
        Fixed compiler warning
      libmysql/libmysql.c:
        Use STRINGIFY()
      sql/mysqld.cc:
        New MYSQL_SERVER_SUFFIX handling
      sql/mysqld_suffix.h:
        New MYSQL_SERVER_SUFFIX handling
      sql/set_var.cc:
        Use STRINGIFY()
      zlib/contrib/asm386/zlibvc.dsp:
        Updated for 4.0
      da1623dd
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · a337dc1d
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      a337dc1d
    • unknown's avatar
      Fix for BUG#3871: a slave must always replicate a statement, even if it examines more than 4G rows, · 668f35b7
      unknown authored
      so we set SQL_BIG_SELECTS to 1.
      
      
      sql/slave.cc:
        The slave SQL thread must always have SQL_BIG_SELECTS=1, so that it does not fail to replicate an INSERT SELECT
        examining more than 4 billion rows (for client threads, SQL_BIG_SELECTS is automatically set to 1 if
        max_join_size is 4G, but that's in handle_one_connection, so not for the slave thread).
      668f35b7
    • unknown's avatar
      InnoDB cleanup: sync0arr.c: sync_array_cell_print(): Remove unused variable str · 2ad60dc7
      unknown authored
      
      innobase/sync/sync0arr.c:
        sync_array_cell_print(): Remove unused variable str
      2ad60dc7