1. 01 Jun, 2004 1 commit
    • unknown's avatar
      Changed --log-warnings to be integer instead of boolean. Given --skip-log-warnings · 42283b79
      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.
      42283b79
  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 · 1f86baf1
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b3738
      
      1f86baf1
    • unknown's avatar
      a fix. · 656f1375
      unknown authored
      (Bug#3738: SQL_CALC_FOUND_ROWS ignores WHERE if LIMIT used,
       Bug#3845: wrong FOUND_ROWS result)
      
      656f1375
    • unknown's avatar
      InnoDB: Add diagnostics when tmpfile() fails at start (Bug #3919) · f24e11a2
      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
      f24e11a2
    • unknown's avatar
      Added option --config-extra-env to Do-compile · 25e83bb5
      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
      25e83bb5
    • unknown's avatar
      my_global.h: · 2d8bcc20
      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
      2d8bcc20
  6. 27 May, 2004 7 commits
  7. 26 May, 2004 5 commits
    • unknown's avatar
      netware files should always be in 'make dist' · acc89503
      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'
      acc89503
    • unknown's avatar
      VC++ portability fix · 00d5816b
      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
      00d5816b
    • unknown's avatar
      InnoDB fixup: remove debug assertion that causes compile error · ffd7db4c
      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
      ffd7db4c
    • unknown's avatar
      Fix to make Windows compilation smoother · 8fd378d6
      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
      8fd378d6
    • unknown's avatar
      InnoDB cleanup: Remove unused code for online backup · 64fee753
      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
      64fee753
  8. 25 May, 2004 10 commits
    • unknown's avatar
      Added new header files · 0bd9f32b
      unknown authored
      0bd9f32b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · bc60ead2
      unknown authored
      into mysql.com:/tmp/skr99/mysql-4.0
      
      bc60ead2
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 4d181927
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0
      
      4d181927
    • unknown's avatar
      Proposed fix for bug #3818 (libmysqld.dll leads to program's crash) · f85e1443
      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
      f85e1443
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 81a07004
      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
      81a07004
    • unknown's avatar
      Added patches from Novell · a37fc4bb
      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
      a37fc4bb
    • unknown's avatar
      InnoDB cleanup and possible bug-fix: Remove srv0que · 8983aac4
      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
      8983aac4
    • unknown's avatar
      Fixed VC++ project files · dd62a2ed
      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
      dd62a2ed
    • unknown's avatar
      Removed references to BDB and InnoDB from 'classic' release · 745510b6
      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'
      745510b6
    • unknown's avatar
      fixed typos · d672bf8c
      unknown authored
      d672bf8c
  9. 24 May, 2004 5 commits
    • unknown's avatar
      Fixed typo · bd8c505b
      unknown authored
      bd8c505b
    • unknown's avatar
      New MYSQL_SERVER_SUFFIX usage (for easier compilation) · 072d1044
      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
      072d1044
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1d75858c
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      1d75858c
    • unknown's avatar
      Fix for BUG#3871: a slave must always replicate a statement, even if it examines more than 4G rows, · b5b38cd9
      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).
      b5b38cd9
    • unknown's avatar
      InnoDB cleanup: sync0arr.c: sync_array_cell_print(): Remove unused variable str · 2b5c2069
      unknown authored
      
      innobase/sync/sync0arr.c:
        sync_array_cell_print(): Remove unused variable str
      2b5c2069
  10. 20 May, 2004 1 commit
    • unknown's avatar
      Bug fixes: · 8dd7e396
      unknown authored
      Use %windir% instead of c:\winnt\ (Bug #3786)
      Fixed wrong foreign key test in crash-me (Bug #3740)
      
      
      VC++Files/libmysql/libmysql.dsp:
        Use %windir% instead of c:\winnt\ (Bug #3786)
      sql-bench/crash-me.sh:
        Fixed wrong foreign key test (Bug #3740)
      sql-bench/limits/mysql.cfg:
        Updated results
      8dd7e396