1. 11 May, 2004 3 commits
    • unknown's avatar
      cpcd - setsid - angle fixes · 9e1c6b2a
      unknown authored
      
      ndb/src/cw/cpcd/Process.cpp:
        Write pgrp in pid-file
        Always operate on process group instead of process
      ndb/src/mgmclient/test_cpcd/test_cpcd.cpp:
        Test using different programs
      9e1c6b2a
    • unknown's avatar
      lots of HAVE_ and some ndb_global fixes for ndb subtree · b87a116a
      unknown authored
      
      ndb/include/portlib/NdbTCP.h:
        introduced ndb_net.h
      ndb/include/portlib/NdbThread.h:
        ndb_global
      ndb/src/common/portlib/unix/NdbCondition.c:
        Used HAVE_CLOCK_GETTIME
      ndb/src/common/portlib/unix/NdbMem.c:
        used HAVE_MLOCKALL
      ndb/src/common/portlib/unix/NdbSleep.c:
        ndb_global
      ndb/src/common/portlib/unix/NdbThread.c:
        .
      ndb/src/common/portlib/unix/NdbTick.c:
        HAVE_CLOCK_GETTIME
      ndb/src/kernel/vm/Emulator.cpp:
        ndb_global
      b87a116a
    • unknown's avatar
      updated with HAV_ symbols in ndb_global · 5c6f5b94
      unknown authored
      5c6f5b94
  2. 10 May, 2004 7 commits
    • unknown's avatar
      merge resolve · 3c58a197
      unknown authored
      
      extra/perror.c:
        Auto merged
      ndb/include/debugger/SignalLoggerManager.hpp:
        Auto merged
      ndb/include/ndb_version.h:
        Auto merged
      ndb/src/common/portlib/unix/NdbMem.c:
        Auto merged
      ndb/src/common/portlib/unix/NdbThread.c:
        Auto merged
      ndb/src/common/util/Parser.cpp:
        Auto merged
      ndb/src/common/util/getarg.c:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      ndb/src/kernel/blocks/backup/restore/Restore.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Auto merged
      ndb/src/kernel/ndb-main/Main.cpp:
        Auto merged
      ndb/src/mgmapi/test/keso.c:
        Auto merged
      ndb/src/mgmclient/test_cpcd/test_cpcd.cpp:
        Auto merged
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3c58a197
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3ff2fcc9
      unknown authored
      into mc05.(none):/space/tomas/mysql-4.1
      
      3ff2fcc9
    • unknown's avatar
      Makefile: · 24bcebd8
      unknown authored
        slim make for ndb
      
      
      ndb/Makefile:
        slim make for ndb
      24bcebd8
    • unknown's avatar
      make warning fixes for ndb · 3e4afd98
      unknown authored
      3e4afd98
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · 241a49c8
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      241a49c8
    • unknown's avatar
      more slim make of ndb tree · 10cd7df1
      unknown authored
      10cd7df1
    • unknown's avatar
      fix compiler warnings in ndb · 5f6d3f21
      unknown authored
      5f6d3f21
  3. 08 May, 2004 1 commit
  4. 07 May, 2004 8 commits
  5. 06 May, 2004 21 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c62c4497
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      libmysql/libmysql.c:
        Auto merged
      c62c4497
    • unknown's avatar
      Portability fixes · f3b3b2b1
      unknown authored
      Change strtoll -> my_strtoll10()
      Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472)
      
      
      configure.in:
        Fixed problem on IRIX64 (One can't have AC_MSG_RESULT on same row as AC_DEFINE
      extra/my_print_defaults.c:
        Fixed wrong definition for 'verbose'
      include/my_global.h:
        Portability fix (IRIX64)
      libmysql/client_settings.h:
        Remove compiler warnings
      libmysql/libmysql.c:
        Remove compiler warnings
      mysql-test/r/func_str.result:
        Updated results
      mysql-test/r/key_cache.result:
        Updated results to not depend on key_blocks_unused
      mysql-test/t/func_str.test:
        More test of long overflow
      mysql-test/t/key_cache.test:
        Updated results to not depend on key_blocks_unused
      sql/item.cc:
        Portability fix (don't use strtoll())
      sql/item.h:
        Portability fix (don't use strtoll())
      sql/item_sum.h:
        Portability fix (don't use strtoll())
      sql/item_timefunc.cc:
        Fixed compiler warning
      strings/ctype-simple.c:
        Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems
      strings/ctype-ucs2.c:
        Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems
      f3b3b2b1
    • unknown's avatar
      Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.1 · eac9345a
      unknown authored
      into hegel.local:/home/miguel/bk/mysql-4.1
      
      eac9345a
    • unknown's avatar
      Windows VC++ compiler compatibility · d4589044
      unknown authored
      
      sql/set_var.cc:
        VC++ error compiler compatibility
      d4589044
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 51339f30
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any-4.1
      
      51339f30
    • unknown's avatar
      postreview fixes · 9074fb2d
      unknown authored
      
      sql/sql_lex.h:
        description of field
      sql/sql_union.cc:
        layout fixed
      9074fb2d
    • unknown's avatar
      fake_select_lex should be prepared during PS preparation to work correctly · 1e17fb37
      unknown authored
      item_list for fake_select will be created only once
      (problem reported by valgrind in test_union2 fixed)
      
      
      sql/sql_lex.h:
        new function to keep code in one place
      sql/sql_union.cc:
        fake_select_lex should be prepared during PS preparation to work correctly
        item_list for fake_select will be created only once
      1e17fb37
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · cd7b3ca6
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      cd7b3ca6
    • unknown's avatar
      - removed duplicate file ..\strings\strxnmov.c from the mysqlclient.dsp · ebf33d02
      unknown authored
         that was accidently added by the last BK auto merge
      
      
      VC++Files/client/mysqlclient.dsp:
         - removed duplicate file ..\strings\strxnmov.c that was added by the
           last auto merge
      ebf33d02
    • unknown's avatar
      mysql_stmt_reset now expects ok/error packet from server. · a18a5aa1
      unknown authored
      
      libmysql/libmysql.c:
        Make advanced_command check client reply
      sql/sql_prepare.cc:
        mysql_stmt_reset now sends ok/error reply to the client.
      tests/client_test.c:
        Memory leak fixed.
      a18a5aa1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b82bd045
      unknown authored
      into mysql.com:/home/pem/work/mysql-4.1
      
      b82bd045
    • unknown's avatar
      Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms. · b220b976
      unknown authored
      
      sql/handler.h:
        Fixed (portability) bug. No qualified method names in the class definition.
      sql/item_cmpfunc.h:
        Attempt to silence cast warnings on some platforms.
      sql/item_subselect.h:
        Attempt to silence cast warnings on some platforms.
      sql/set_var.cc:
        Silence warning (missing cast).
      sql/spatial.h:
        Attempt to silence cast warnings on some platforms.
      sql/sql_cache.cc:
        Silence warning (wrong cast).
      sql/sql_lex.h:
        Attempt to silence cast warnings on some platforms.
      b220b976
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0b4df46a
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      0b4df46a
    • unknown's avatar
      - Windows compile fixes: added some missing files to the Windows Project · a66eb178
      unknown authored
         files, fixed linking of myisam_ftdump
      
      
      VC++Files/client/mysqlclient.dsp:
         - added strings/ctype.uca.c
      VC++Files/libmysql/libmysql.dsp:
         - added strings/ctype.uca.c
      VC++Files/myisam_ftdump/myisam_ftdump.dsp:
         - added zlib to the link line
      VC++Files/sql/mysqld.dsp:
         - added discover.cpp
      VC++Files/strings/strings.dsp:
         - added strings/ctype.uca.c
      a66eb178
    • unknown's avatar
      Windows VC++ compability fix · e7752b7b
      unknown authored
      
      sql/set_var.cc:
        Fix VC++ compiler error
      e7752b7b
    • unknown's avatar
      WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again). · 0bc9c4ae
      unknown authored
      HEAP: Copies the key count to a backup variable and sets the key count to zero.
      That way, no HEAP function will ever try to touch any index.
      Re-enabling is done by copying back the backup variable.
      To avoid memory leak at table close, disable deletes all index trees.
      Re-enabling must be done with empty indexes and data anyway. Otherwise,
      the indexes would need to be repaired, wich HEAP is not capable of.
      MyISAM: Only the key_map is cleared and set.
      Re-enabling must be done with empty indexes and data. Otherwise, repair needs
      to be done which will enable all keys persistently.
      The former implementation disabled only non-unique keys and maked this persistent.
      The new implementation additionally can disable all keys, but only without
      making this persistent. Re-enabling all keys can be done without repair,
      if data file and indexes are empty.
      
      
      heap/heapdef.h:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Pulled hp_clear_keys() out of hp_clear().
      heap/hp_clear.c:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Pulled hp_clear_keys() out of hp_clear().
        Added the new functions for disabling and enabling keys and to ask for the key state.
      include/heap.h:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Added a new HP_SHARE element to save the key count while keys are disabled.
        Added declarations for the new functions.
      myisam/mi_open.c:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Added the new functions for disabling and enabling keys and to ask for the key state.
      myisam/myisamdef.h:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Added declarations for the new functions.
      sql/ha_heap.cc:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Pulled set_keys_for_scanning() out of open().
        Added the new functions for disabling and enabling keys and to ask for the key state.
      sql/ha_heap.h:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Added declarations for the new functions.
      sql/ha_myisam.cc:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Extended disable_indexes() for all keys and no save.
        The argument is now 'mode' as it must handle different cases.
        Extended enable_indexes() for no save.
        The new feature needs the new argument 'mode' with the same semantics as in disable_indexes().
        Added indexes_are_disabled() to ask for the key state.
        Extended the existing call to enable_indexes() by the new argument.
      sql/ha_myisam.h:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Modified the declarations of dis-/enable_indexes() for the new argument.
        Added the declaration of the new function to ask for the key state.
      sql/handler.h:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Added declarations for the operation modes for the key switching functions.
        Modified the declarations of dis-/enable_indexes() for the new argument.
        Added the declaration of the new function to ask for the key state.
      sql/sql_select.cc:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        In create_myisam_from_heap() take notice of disabled keys
        and disable them in the new table before copying the data.
      sql/sql_table.cc:
        WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
        Modified the calls of dis-/enable_indexes() for the new argument.
      0bc9c4ae
    • unknown's avatar
      Many files: · 5b3a9ccc
      unknown authored
        included full my_global.h and resolved some resulting name conflicts
      
      
      ndb/include/ndb_global.h:
        included full my_global.h and resolved some resulting name conflicts
      ndb/include/logger/FileLogHandler.hpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/include/util/File.hpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/common/logger/FileLogHandler.cpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/common/util/File.cpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/common/util/strlcat.c:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/rep/RepComponents.hpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/rep/rep_version.hpp:
        included full my_global.h and resolved some resulting name conflicts
      ndb/src/rep/storage/GCIContainer.hpp:
        included full my_global.h and resolved some resulting name conflicts
      5b3a9ccc
    • unknown's avatar
      Makefile: · 04a84f1a
      unknown authored
        forgot to fix makefile to remove e.g. NDB_STRLCAT
      
      
      ndb/src/common/util/Makefile:
        forgot to fix makefile to remove e.g. NDB_STRLCAT
      04a84f1a
    • unknown's avatar
      Merge with 4.0 to get security patch for check_grant_colum · 29b87b34
      unknown authored
      
      innobase/include/os0file.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      mysql-test/r/rpl_server_id2.result:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/slave.cc:
        Merge with 4.0
      29b87b34
    • unknown's avatar
      Few cleanups to client_test.c · a7828752
      unknown authored
      
      tests/client_test.c:
        Few cleanups
      a7828752
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-3.23 into mysql.com:/home/my/mysql-4.0 · afb882c4
      unknown authored
      
      sql/sql_acl.cc:
        Auto merged
      afb882c4