Commit graph

1026 commits

Author SHA1 Message Date
unknown
a98425545d Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-ndb


BitKeeper/etc/logging_ok:
  auto-union
ndb/src/kernel/ndb-main/Main.cpp:
  Auto merged
2004-05-21 10:21:24 +00:00
unknown
d4c67b6099 fix for macosx where SIGRTMIN is missing
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-21 10:04:15 +00:00
unknown
4194642813 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-ndb


ndb/src/kernel/ndb-main/Main.cpp:
  Auto merged
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-21 00:00:34 +00:00
unknown
0228a47c9e Fix for BUG#3839 , too many signal handlers installed
ndb/src/kernel/ndb-main/Main.cpp:
  Only install signalhandlers up to SIGRTMIN
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-20 21:56:29 +02:00
unknown
0d6b5946d0 more ndb odbc compile fix 2004-05-20 11:11:39 +02:00
unknown
3c94c06b42 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space2/tomas/mysql-4.1
2004-05-19 14:54:16 +02:00
unknown
9c3e68c795 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space/tomas/mysql-4.1-ndb
2004-05-19 14:39:26 +02:00
unknown
5122405ed4 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space2/tomas/mysql-4.1


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
2004-05-19 14:39:25 +02:00
unknown
d1946959ee Merge mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/mysqldev/tulin/mysql-4.1-ndb


BitKeeper/etc/logging_ok:
  auto-union
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
2004-05-19 14:39:24 +02:00
unknown
e492e90255 Forte compile fixes
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-19 14:38:38 +02:00
unknown
a07532029b fix to make scan filter ndb testprogram work 2004-05-19 14:29:13 +02:00
unknown
da340edef2 removed global variable fullyQualifiedNames 2004-05-19 11:17:24 +02:00
unknown
ad49bb78d9 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space2/tomas/mysql-4.1
2004-05-19 05:22:09 +02:00
unknown
5fe274b077 ndb tablehandler, ndb make and endien define, see each file
configure.in:
  configure to check if HAVE_COMPRESS for ndbcluster table handler
ndb/Makefile:
  fix for problems with parallell make
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  changed ifdef _BIG_ENDIAN => WORDS_BIGENDIAN
ndb/src/ndbapi/Ndb.cpp:
  changed ifdef _BIG_ENDIAN => WORDS_BIGENDIAN
2004-05-19 05:21:35 +02:00
unknown
c77f7ab112 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/Users/mikron/patch_cluster


BitKeeper/etc/logging_ok:
  auto-union
2004-05-18 16:46:25 +02:00
unknown
d6cf9dd9b7 fix ndb odbc compile
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-18 09:58:30 +02:00
unknown
4d3f8f210a Merge
sql/ha_ndbcluster.cc:
  Auto merged
sql/handler.cc:
  Auto merged
sql/handler.h:
  Auto merged
sql/sql_table.cc:
  Auto merged
sql/ha_ndbcluster.h:
  SCCS merged
2004-05-17 09:57:02 +02:00
unknown
5ab40f3a7d Snippet from the Internet:
Common Symbols

If you get errors in linking complaining about common symbols
ld: common symbols not allowed with MH_DYLIB format

Then it means that you've got a global variable in the library which has
not been assigned a value.

Got this problem with three globals in NdbDaemon.c


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-13 19:49:10 +02:00
unknown
cbefc5f154 portability fix 2004-05-13 15:58:28 +02:00
unknown
2c6bee6ab8 portability fixes and some comments 2004-05-13 15:41:20 +02:00
unknown
d8522613d5 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space/tomas/mysql-4.1-ndb
2004-05-13 14:38:35 +02:00
unknown
df41e3d55d Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space2/tomas/mysql-4.1
2004-05-13 13:45:15 +02:00
unknown
97ae6904df portability fix for MACOSX bugreport 3735
ndb/src/ndbapi/Ndberr.cpp:
  Rename: ndb/src/ndbapi/Ndberror.cpp -> ndb/src/ndbapi/Ndberr.cpp
2004-05-13 13:44:45 +02:00
unknown
b58eb134bb portability fixes 2004-05-13 13:42:36 +02:00
unknown
d8834661ec Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/magnus/mysql-4.1


ndb/src/ndbapi/NdbScanOperation.cpp:
  Auto merged
sql/sql_table.cc:
  Auto merged
BitKeeper/deleted/.del-regression.sh~c19f771726612629:
  Auto merged
2004-05-13 13:28:56 +02:00
unknown
ae94c9a1d8 Only compile SHM if configured to 2004-05-12 20:58:35 +02:00
unknown
844f762916 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mc05.(none):/space/tomas/mysql-4.1-ndb
2004-05-12 16:16:18 +02:00
unknown
05fd891ccc regression.sh:
fixed typo


ndb/bin/regression.sh:
  fixed typo
2004-05-12 16:15:43 +02:00
unknown
79f269cb4d Daemon code to run on all unixes 2004-05-12 14:16:04 +02:00
unknown
3f46ae17a2 NdbMutex.h:
oops forgot this one


ndb/include/portlib/NdbMutex.h:
  oops forgot this one
2004-05-12 12:52:08 +02:00
unknown
15db58a446 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mc05.(none):/space/tomas/mysql-4.1-ndb
2004-05-12 12:52:07 +02:00
unknown
6f860637c1 Fix broken arg fot getrlimit
ndb/src/cw/cpcd/Process.cpp:
  Fix broken arg for getrlimit
2004-05-12 12:17:24 +02:00
unknown
2e9dee04e0 portability/autoconf fixes
ndb/config/Defs.LINUX.x86.GCC.mk:
  postability/autoconf fixes
ndb/include/portlib/NdbMutex.h:
  postability/autoconf fixes
ndb/src/common/editline/unix.h:
  postability/autoconf fixes
ndb/src/common/portlib/memtest/memtest.c:
  postability/autoconf fixes
ndb/src/common/portlib/unix/NdbTCP.c:
  postability/autoconf fixes
ndb/src/common/portlib/unix/NdbThread.c:
  postability/autoconf fixes
ndb/src/common/transporter/Makefile:
  postability/autoconf fixes
ndb/src/common/transporter/SHM_Transporter.cpp:
  postability/autoconf fixes
ndb/src/mgmsrv/MgmtSrvr.cpp:
  postability/autoconf fixes
2004-05-12 12:14:54 +02:00
unknown
69424ca9ab portability/autoconf fixes 2004-05-12 09:27:59 +02:00
unknown
efe5a75d7d portability/autoconf fixes and removed warnings
ndb/include/newtonapi/defs/pcn_types.h:
  portability/autoconf fixes
ndb/include/portlib/NdbMutex.h:
  portability/autoconf fixes
ndb/src/common/editline/editline.c:
  portability/autoconf fixes
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
  portability/autoconf fixes
ndb/src/common/portlib/memtest/munmaptest/munmaptest.cpp:
  portability/autoconf fixes
ndb/src/common/portlib/unix/NdbCondition.c:
  portability/autoconf fixes
ndb/src/common/portlib/unix/NdbDaemon.c:
  portability/autoconf fixes
ndb/src/common/portlib/unix/NdbHost.c:
  portability/autoconf fixes
ndb/src/common/util/File.cpp:
  portability/autoconf fixes
ndb/src/common/util/getarg.c:
  portability/autoconf fixes
ndb/src/common/util/strlcat.c:
  portability/autoconf fixes
ndb/src/common/util/strlcpy.c:
  portability/autoconf fixes
ndb/src/cw/cpcd/Process.cpp:
  portability/autoconf fixes
ndb/src/cw/cpcd/common.cpp:
  portability/autoconf fixes
ndb/src/cw/cpcd/main.cpp:
  portability/autoconf fixes
ndb/src/kernel/blocks/dbdict/printSchemafile/printSchemafile.cpp:
  portability/autoconf fixes
ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp:
  portability/autoconf fixes
ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp:
  portability/autoconf fixes
ndb/src/kernel/error/TimeModule.cpp:
  portability/autoconf fixes
ndb/src/kernel/ndb-main/Main.cpp:
  portability/autoconf fixes
ndb/src/mgmsrv/MgmtSrvr.cpp:
  portability/autoconf fixes
ndb/src/mgmsrv/main.cpp:
  portability/autoconf fixes
ndb/test/ndbapi/flexBench/flexBench.cpp:
  removed warnings
ndb/test/src/HugoCalculator.cpp:
  removed warnings
ndb/test/src/HugoOperations.cpp:
  removed warnings
ndb/test/src/HugoTransactions.cpp:
  removed warnings
ndb/test/src/NDBT_ResultRow.cpp:
  removed warnings
ndb/test/src/NdbBackup.cpp:
  removed warnings
ndb/test/src/NdbConfig.cpp:
  removed warnings
ndb/test/src/NdbRestarter.cpp:
  removed warnings
ndb/tools/cpcc/cpcc.cpp:
  removed warnings
2004-05-12 06:24:12 +02:00
unknown
c8875d5693 Inverted #ifdef on HAVE_MLOCKALL
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-05-11 22:23:29 +02:00
unknown
23b5083788 cpcd - setsid - angle fixes
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
2004-05-11 21:25:16 +02:00
unknown
f23d1ad6c2 lots of HAVE_ and some ndb_global fixes for ndb subtree
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
2004-05-11 14:39:17 +02:00
unknown
ce2d84ce40 updated with HAV_ symbols in ndb_global 2004-05-11 14:31:43 +02:00
unknown
86bfe9c1d1 Test case for BUG #3657
ndb/test/ndbapi/testScan/testScan.cpp:
  Added test case for "slow" scanning if one node is down
2004-05-11 13:29:01 +02:00
unknown
fdae0617fd Update error code on "parent" connection if a new NdbScanOperation could not be returned
ndb/src/ndbapi/NdbScanOperation.cpp:
  Set error code on "parent" NdbConnection
2004-05-11 13:27:40 +02:00
unknown
806a06fdbd merge resolve
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
2004-05-10 17:40:57 +02:00
unknown
075eb33889 Use correct access method, found using sql-bench and comparing with other handler.
BitKeeper/deleted/.del-regression.sh~c19f771726612629:
  Delete: ndb/bin/regression.sh
sql/ha_ndbcluster.cc:
  Change index flags, remove HA_WRONG_ASCII_ORDER and HA_ONLY_WHOLE_INDEX.
  HA_WRONG_ASCII_ORDER was used in field::optimize_range and if it was set, the index was hardly ever used.
  Correct check of start_key and start_key->flag != HA_READ_KEY_EXACT, ignore end-Key in suc a case
  Updated implementation o read_range_first
  Made the calculation of number of bytes par batch easier to underatsn and easier to configure. The value bytesperbatch can be made a config variable.
  AReduce the number of bytes sent per batch, don't overload.
  Increase the value returned from scan_time in order to make it clear to optimizer that scanning is the worst alternative. Always use index if available.
2004-05-10 14:46:06 +02:00
unknown
c74fe82b75 Makefile:
slim make for ndb


ndb/Makefile:
  slim make for ndb
2004-05-10 14:39:54 +02:00
unknown
c9f9cc24db make warning fixes for ndb 2004-05-10 14:25:32 +02:00
unknown
7430ad7d64 more slim make of ndb tree 2004-05-10 14:10:04 +02:00
unknown
1765291469 fix compiler warnings in ndb 2004-05-10 11:50:17 +02:00
unknown
5edb391973 Stop entire process group (if child has forked)
Impl. to handle "angle" process of ndb


ndb/src/cw/cpcd/Process.cpp:
  Stop entire process group (if child has forked)
  (Does not handle child doing setsid)
2004-05-09 00:48:54 +02:00
unknown
551ac8d69c more removing of "system" files and introducing ndb_global/my_global
BitKeeper/deleted/.del-NdbStdio.h~17be17a4f591c671:
  Delete: ndb/include/portlib/NdbStdio.h
BitKeeper/deleted/.del-NdbString.h~1f9f26341ce5f5f:
  Delete: ndb/include/util/NdbString.h
BitKeeper/deleted/.del-NdbConstant.hpp~de1038c1758cc1f9:
  Delete: ndb/include/portlib/NdbConstant.hpp
BitKeeper/deleted/.del-NdbUnistd.h~a1b3840adcd49985:
  Delete: ndb/include/portlib/NdbUnistd.h
2004-05-07 15:34:12 +02:00
unknown
eef6e474ad introduced ndb_global.h/my_global.h to replace sytem lib includes e.g. stdio, stdlib 2004-05-07 08:39:42 +02:00