1. 27 May, 2004 18 commits
    • unknown's avatar
      merge with 4.0 to get fix for hpux · ce8e70fa
      unknown authored
      
      configure.in:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      mysql-test/r/variables.result:
        merge fix
      ce8e70fa
    • unknown's avatar
      Portability fix for HPUX · 3b36f93e
      unknown authored
      
      configure.in:
        Ensure that innodb gets system specific CFLAGS and CXXFLAGS
      innobase/os/os0file.c:
        Don't use pread/pwrite on systems where these are not working.
        This fixes a bug on HPUX, where InnoDB didn't create the ibdata1 file correctly.
      3b36f93e
    • unknown's avatar
      Always enable HAVE_COMPRESS on netware · 59d93c32
      unknown authored
      
      include/config-netware.h:
        Always enable HAVE_COMPRESS on netware
        We can't detect compress in configure on netware because we must use AC_TRY_RUN to detect zlib on other platforms
      59d93c32
    • unknown's avatar
      Portability fix for 32 bit file systems · 80ab8efb
      unknown authored
      80ab8efb
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · 76a25669
      unknown authored
      
      netware/BUILD/nwbootstrap:
        Auto merged
      76a25669
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 2bb34ccb
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      2bb34ccb
    • unknown's avatar
      Remove some code from sql_yacc.cc that doesn't do anything except produce warnings on VC++ · 515a9507
      unknown authored
      
      mysql-test/t/fulltext.test:
        After merge fix
      515a9507
    • unknown's avatar
      merge with 4.0 to get fix to VC++ project files · 09d55eb7
      unknown authored
      
      VC++Files/comp_err/comp_err.dsp:
        Auto merged
      VC++Files/sql/mysqld.dsp:
        Auto merged
      myisam/ft_boolean_search.c:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      myisam/ft_parser.c:
        Keep old code
      mysql-test/r/fulltext.result:
        Remove duplicate test from 4.0
      09d55eb7
    • unknown's avatar
      Merged in some patches from Novell. · 7e788a81
      unknown authored
      
      netware/BUILD/nwbootstrap:
        Patch from Novell, create the libmysqld.imp file.
      netware/mysqld_safe.c:
        Patch from Novell, new option --set-variable.
      7e788a81
    • unknown's avatar
      12693e10
    • unknown's avatar
      backport bug#2708 fix from 4.1 · 53393cd4
      unknown authored
      
      myisam/ft_boolean_search.c:
        perlify comment
      53393cd4
    • unknown's avatar
      Made my_snprintf() behavior snprintf() compatible when printing %x arguments (it should · 0c6bdfaa
      unknown authored
      produce hex digits in lower case). (fixed version)
      
      Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays.
      Added extra argument to int2str function which controls case of digits you get.
      Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str()
      function.
      Removed unused my_itoa/my_ltoa functions.
      
      
      client/mysql.cc:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      client/mysqladmin.c:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      dbug/dbug.c:
         _dig_vec became _dig_vec_upper.
      include/m_string.h:
        _dig_vec is obsoleted by _dig_vec_upper/_dig_vec_lower.
        my_itoa()/my_ltoa() functions were removed because they were never used in our code.
        int2str() now has one more argument which controls case of digits it will produce.
      include/my_global.h:
        my_itoa()/my_ltoa() functions were removed because they were never used in our code.
      isam/isamchk.c:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      libmysql/libmysql.def:
        _dig_vec is obsoleted by _dig_vec_upper/_dig_vec_lower.
      myisam/myisamchk.c:
        Replaced int2str invocation with radix argument equal to 10 with optimized int10_to_str()
        call.
      mysys/mf_tempfile.c:
        _dig_vec became _dig_vec_upper.
      mysys/my_error.c:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      mysys/my_tempnam.c:
        _dig_vec became _dig_vec_upper.
      sql-common/client.c:
        Replaced int2str invocation with radix argument equal to 10 with optimized int10_to_str()
        call.
      sql/item_strfunc.cc:
        _dig_vec became _dig_vec_upper. Also we don't need hex[] array in this file now because we
        have _dig_vec_lower instead.
      sql/mysqld.cc:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      sql/password.c:
        _dig_vec became _dig_vec_upper.
      sql/sql_bitmap.h:
        _dig_vec became _dig_vec_upper.
      strings/int2str.c:
        Replaced _dig_vec by _dig_vec_upper/_dig_vec_lower pair.
        int2str() now has one more argument which controls case of digits it will produce.
        my_itoa()/my_ltoa() functions were removed because they were never used in our code.
      strings/longlong2str-x86.s:
        _dig_vec became _dig_vec_upper.
      strings/longlong2str.c:
        _dig_vec became _dig_vec_upper.
      strings/my_vsnprintf.c:
        If my_snprintf() is printing %x argument it should produce lower case hexadecimal digits
        to be snprintf() compatible.
      0c6bdfaa
    • unknown's avatar
      InnoDB cleanup: · 72e2e58e
      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
      72e2e58e
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9c3c1f6a
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.spa
      
      9c3c1f6a
    • unknown's avatar
      Merging · 070f0394
      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
      070f0394
    • unknown's avatar
      Portability fixes · 8e6d4209
      unknown authored
      
      innobase/os/os0thread.c:
        Portability fix
      myisam/sort.c:
        Fixed wrong variable type (gave compiler warning)
      8e6d4209
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · d26ba675
      unknown authored
      
      VC++Files/innobase/innobase.dsp:
        Auto merged
      d26ba675
    • unknown's avatar
      Add back wrongly deleted file · 4431f3c5
      unknown authored
      4431f3c5
  2. 26 May, 2004 17 commits
    • unknown's avatar
      Added new netware file · 194dae41
      unknown authored
      194dae41
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · 0ca66073
      unknown authored
      
      Makefile.am:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      netware/Makefile.am:
        Auto merged
      0ca66073
    • unknown's avatar
      After merge fixes · 4375cf06
      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)
      4375cf06
    • 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
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7ae8270c
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      7ae8270c
    • unknown's avatar
      merge with 4.0 to get windows fixes · a5717a95
      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
      a5717a95
    • unknown's avatar
      logging_ok: · bdd1f207
      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
      bdd1f207
    • 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
      Fixed test to not crash when ndb is not in use · 1369e543
      unknown authored
      1369e543
    • 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
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 78758d14
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      78758d14
    • unknown's avatar
      Changed prototype of killed_ptr() to make it more portable · abcd9171
      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
      abcd9171
    • unknown's avatar
      Small fix, addin order by to get predicatble output from select · b381b7c9
      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.
      b381b7c9
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · e4985ee1
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      e4985ee1
    • unknown's avatar
      Fix after running on a 4-node system. · ff334243
      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.
      ff334243
    • 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
  3. 25 May, 2004 5 commits