1. 27 May, 2004 6 commits
    • unknown's avatar
      InnoDB cleanup: · a1bcf382
      unknown authored
      Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
      Remove (char*) casts of string constants; add const qualifiers
      Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
      
      
      innobase/btr/btr0cur.c:
        Cast away constness from dfield_get_data() result
      innobase/buf/buf0buf.c:
        Enclose a debug assertion in #ifdef UNIV_SYNC_DEBUG
      innobase/buf/buf0rea.c:
        Corrected compile error #ifdef UNIV_DEBUG
      innobase/dict/dict0boot.c:
        Remove (char*) casts of string constants
      innobase/dict/dict0crea.c:
        Remove (char*) casts of string constants
      innobase/dict/dict0dict.c:
        Enclosed a debug assertion in #ifdef UNIV_SYNC_DEBUG
        Replaced some debug assertions with preprocessor tests
        Add const qualifiers to string constants
      innobase/dict/dict0load.c:
        Remove (char*) casts of string constants
      innobase/fil/fil0fil.c:
        Remove (char*) casts of string constants
        Enclose debug assertions in #ifdef UNIV_SYNC_DEBUG
      innobase/ha/ha0ha.c:
        Enclose debug assertion in #ifdef UNIV_SYNC_DEBUG
      innobase/ibuf/ibuf0ibuf.c:
        Remove (char*) casts of string constants
      innobase/include/buf0buf.ic:
        Add const qualifier to string parameter
      innobase/include/fil0fil.h:
        Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
      innobase/include/log0recv.h:
        Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
        Enclose ibbackup specific code in #ifdef UNIV_HOTBACKUP
      innobase/include/mem0dbg.ic:
        Add const qualifiers to string parameters
      innobase/include/srv0srv.h:
        Add const qualifiers to string constants
        Enclose srv_arch_dir and srv_log_archive_on #ifdef UNIV_LOG_ARCHIVE
      innobase/include/sync0rw.ic:
        Add const qualifier to string parameter
      innobase/include/sync0sync.ic:
        Add const qualifier to string parameter
      innobase/log/log0log.c:
        Enclose log archiving code in #ifdef UNIV_LOG_ARCHIVE
        Do not cast string constants to (char*)
      innobase/log/log0recv.c:
        Enclose ibbackup specific code in #ifdef UNIV_HOTBACKUP
        Enclose disabled log code in #ifdef UNIV_LOG_REPLICATE or UNIV_LOG_ARCHIVE
      innobase/mem/mem0dbg.c:
        Add const qualifiers to string parameters
      innobase/page/page0page.c:
        Remove (char*) casts of string constants
      innobase/pars/pars0pars.c:
        Add const qualifier to string variable
      innobase/row/row0ins.c:
        Remove (char*) casts of string constants
        Add const qualifiers to string parameters
        row_ins_foreign_check_on_constraint(): Allocate table_name dynamically
      innobase/row/row0mysql.c:
        Remove (char*) casts of string constants
      innobase/row/row0sel.c:
        Remove (char*) casts of string constants
      innobase/srv/srv0srv.c:
        Remove (char*) casts of string constants
        Disable log archiving variables unless #ifdef UNIV_LOG_ARCHIVE
      innobase/srv/srv0start.c:
        Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
        Remove (char*) casts of string constants
      innobase/sync/sync0rw.c:
        Remove (char*) casts of string constants
        Add const qualifier to string parameter
      innobase/sync/sync0sync.c:
        Remove (char*) cast of string constant
        Add const qualifier to string parameter
      innobase/trx/trx0roll.c:
        Remove (char*) cast of string constants
      innobase/trx/trx0sys.c:
        Remove (char*) cast of string constants
      innobase/trx/trx0trx.c:
        Remove (char*) cast of string constant
      sql/ha_innodb.cc:
        Enclose log archiving code in #ifdef UNIV_LOG_ARCHIVE
      a1bcf382
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · d366a2e4
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.spa
      
      
      d366a2e4
    • unknown's avatar
      Merging · 7f49646c
      unknown authored
      
      myisam/mi_create.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/rt_test.c:
        Auto merged
      myisam/sp_test.c:
        Auto merged
      sql/spatial.cc:
        Auto merged
      sql/spatial.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      myisam/mi_range.c:
        merging
      myisam/mi_rnext.c:
        merging
      7f49646c
    • unknown's avatar
      Portability fixes · 5df707c7
      unknown authored
      
      innobase/os/os0thread.c:
        Portability fix
      myisam/sort.c:
        Fixed wrong variable type (gave compiler warning)
      5df707c7
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · e13089f8
      unknown authored
      
      VC++Files/innobase/innobase.dsp:
        Auto merged
      e13089f8
    • unknown's avatar
      Add back wrongly deleted file · a4237f3d
      unknown authored
      a4237f3d
  2. 26 May, 2004 17 commits
    • unknown's avatar
      Added new netware file · aa6ff1cf
      unknown authored
      aa6ff1cf
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · d000ea9c
      unknown authored
      
      Makefile.am:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      netware/Makefile.am:
        Auto merged
      d000ea9c
    • unknown's avatar
      After merge fixes · abd68407
      unknown authored
      
      Docs/manual_toc.html:
        Rename: BitKeeper/deleted/.del-manual_toc.html~f483f2d33d9acb41 -> Docs/manual_toc.html
      libmysqld/lib_sql.cc:
        Fixed type of new variables
      libmysqld/libmysqld.c:
        Removed duplicate function (allready in libmysql.c)
      abd68407
    • 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
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1d7d7609
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      1d7d7609
    • unknown's avatar
      merge with 4.0 to get windows fixes · 7c5cd412
      unknown authored
      
      VC++Files/client/mysqlclient.dsp:
        Auto merged
      VC++Files/innobase/innobase.dsp:
        Auto merged
      include/mysql.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      innobase/include/log0log.h:
        Auto merged
      innobase/include/log0log.ic:
        Auto merged
      innobase/include/mtr0mtr.h:
        Auto merged
      innobase/log/log0log.c:
        Auto merged
      innobase/log/log0recv.c:
        Auto merged
      innobase/que/que0que.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysql_r/Makefile.am:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      tools/mysqlmanager.c:
        Auto merged
      7c5cd412
    • unknown's avatar
      logging_ok: · 43638667
      unknown authored
        Logging to logging@openlogging.org accepted
      compile-pentium-max:
        changed --with-ndbcluster to --without-ndbcluster because it fails on 4.1 builds
      
      
      BUILD/compile-pentium-max:
        changed --with-ndbcluster to --without-ndbcluster because it fails on 4.1 builds
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      43638667
    • 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
      Fixed test to not crash when ndb is not in use · 5fe72df8
      unknown authored
      5fe72df8
    • 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
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c2f6dff9
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      c2f6dff9
    • unknown's avatar
      Changed prototype of killed_ptr() to make it more portable · 30bffb02
      unknown authored
      Applied patches for Netware
      
      
      innobase/include/os0thread.h:
        Applied patches for Netware
      innobase/os/os0thread.c:
        Applied patches for Netware
      libmysql/libmysql.c:
        Applied patches for Netware
      libmysql/libmysql.def:
        Applied patches for Netware
      myisam/myisamchk.c:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      myisam/myisamdef.h:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      mysql-test/t/rpl_relayspace-slave.opt:
        Applied patches for Netware
      mysys/my_pthread.c:
        Applied patches for Netware
      mysys/my_static.h:
        Portability fix
      netware/BUILD/compile-linux-tools:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      netware/BUILD/mwenv:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      netware/BUILD/nwbootstrap:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      netware/my_manage.c:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      netware/mysql_fix_privilege_tables.pl:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      netware/mysql_test_run.c:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      netware/static_init_db.sql:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      scripts/make_binary_distribution.sh:
        Applied patches for Netware
        Changed prototype of killed_ptr() to make it more portable
      sql/filesort.cc:
        Changed prototype of killed_ptr() to make it more portable
      sql/ha_myisam.cc:
        Changed prototype of killed_ptr() to make it more portable
      sql/mysqld.cc:
        Fixed some typos for Netware
      sql/sql_bitmap.h:
        Applied patches for Netware
      sql/sql_class.h:
        Changed prototype of killed_ptr() to make it more portable
      sql/sql_insert.cc:
        safety fix
      strings/my_strtoll10.c:
        Added comment
      30bffb02
    • unknown's avatar
      Small fix, addin order by to get predicatble output from select · 5eea01a7
      unknown authored
      
      mysql-test/r/ndb_autodiscover.result:
        Added yet another order by to test.
      mysql-test/t/ndb_autodiscover.test:
        Added yet another order by to test.
      5eea01a7
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · 259d8c4c
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      
      259d8c4c
    • unknown's avatar
      Fix after running on a 4-node system. · 537ba1e1
      unknown authored
      
      mysql-test/r/ndb_autodiscover.result:
        Removed one test that needs manual interaction
        Added order by in some places
      mysql-test/t/ndb_autodiscover.test:
        Removed one test that needs manual interaction
        Added order by in some places
      sql/ha_ndbcluster.cc:
        Using HA_WRONG_ASCII_ORDER to activate filesort on a not "sorted" ordered index.
      537ba1e1
    • 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
  3. 25 May, 2004 17 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1d482780
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      1d482780
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · afef7ce3
      unknown authored
      
      include/Makefile.am:
        Auto merged
      afef7ce3
    • unknown's avatar
      Added new header files · fd079fda
      unknown authored
      fd079fda
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3a675ff5
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      3a675ff5
    • unknown's avatar
      Bug#3882 · 39ace7f1
      unknown authored
      39ace7f1
    • unknown's avatar
      merge with 4.0 to get Netware patches and fixes for libmysqld.dll · a9b481d3
      unknown authored
      
      configure.in:
        Auto merged
      Build-tools/Do-compile:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqladmin.c:
        Auto merged
      client/mysqlcheck.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqlimport.c:
        Auto merged
      client/mysqlshow.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      include/thr_alarm.h:
        Auto merged
      innobase/include/trx0roll.h:
        Auto merged
      innobase/include/trx0trx.h:
        Auto merged
      innobase/que/que0que.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/trx/trx0purge.c:
        Auto merged
      innobase/trx/trx0roll.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      innobase/usr/usr0sess.c:
        Auto merged
      isam/isamchk.c:
        Auto merged
      myisam/myisam_ftdump.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      mysys/my_init.c:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      netware/Makefile.am:
        Auto merged
      netware/init_db.sql:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      tools/mysqlmanager.c:
        Auto merged
      VC++Files/dbug/dbug.dsp:
        Auto merged
      VC++Files/heap/heap.dsp:
        Auto merged
      VC++Files/isam/isam.dsp:
        Auto merged
      VC++Files/libmysql/libmysql.dsp:
        Auto merged
      VC++Files/myisam/myisam.dsp:
        Auto merged
      VC++Files/myisammrg/myisammrg.dsp:
        Auto merged
      VC++Files/mysys/mysys.dsp:
        Auto merged
      VC++Files/libmysqld/libmysqld.dsp:
        merge
      client/mysqlbinlog.cc:
        merge
      extra/perror.c:
        merge
      include/mysql_com.h:
        merge
      libmysqld/Makefile.am:
        merge
      netware/BUILD/mwenv:
        merge
      sql/mysqld.cc:
        merge
      a9b481d3
    • 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
      Remove not needed sql_olap.cc from Makefile.am · de5edbf8
      unknown authored
      
      VC++Files/comp_err/comp_err.dsp:
        removed not needed library
      libmysqld/Makefile.am:
        Remove not needed sql_olap.cc
      de5edbf8
    • 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
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7c5cc74e
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      7c5cc74e
    • unknown's avatar
      changed comment for LONG_DATA_COMMAND · cde39f5e
      unknown authored
      cde39f5e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0da2710c
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      0da2710c
    • unknown's avatar
      Merge with 4.0 to get fixes for project files · 5e0df34b
      unknown authored
      5e0df34b