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
unknown
789adced2b
Many files:
...
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
2004-05-06 13:11:14 +02:00
unknown
c91ea436f5
Makefile:
...
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
2004-05-06 12:53:41 +02:00
unknown
8546f81a6a
strlcpy.c, strlcat.c, strdup.c, getarg.c, NdbString.h, Epilogue.mk, Defs.mk:
...
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb_global.h:
new file
ndb/Defs.mk:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/Epilogue.mk:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/include/util/NdbString.h:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/getarg.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/strdup.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/strlcat.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/strlcpy.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
2004-05-06 09:15:39 +02:00
unknown
d90b362f1a
small fix after bar's code review
2004-05-05 13:37:59 +02:00
unknown
4b6eb9b06a
Fix ndberror after jonas comments
2004-05-05 12:42:00 +02:00
unknown
9f76f43cb9
Restructure of ndb error
...
ndb/src/kernel/blocks/backup/restore/Makefile:
better make
2004-05-05 11:29:56 +02:00
unknown
444fc86258
Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into neptunus.(none):/home/magnus/mysql-4.1
mysql-test/mysql-test-run.sh:
Auto merged
2004-05-05 08:55:32 +02:00
unknown
93448ea564
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mc05.(none):/space2/tomas/mysql-4.1
ndb/src/ndbapi/Ndberror.cpp:
Auto merged
2004-05-04 15:00:19 +02:00
unknown
f171556b54
yangf - yet another ndb gcc/g++ fix
...
Hopefully last one
ndb/config/Defs.LINUX.x86.GCC.mk:
Only use __cxa_pure_virtual for binaries / so's
ndb/src/common/util/new.cpp:
Remove __cxa_pure_virtual from here
2004-05-04 12:40:33 +02:00
unknown
5f02d41c0d
Merge NDB patches into 4.1-clone, below is list of changesets
...
# --------------------------------------------
# 04/04/13 joreland@mysql.com 1.1858.1.1
# Removal of NDBT_Table
# --------------------------------------------
# 04/04/13 joreland@mysql.com 1.1858.1.2
# Removal of NDBT_Table
# --------------------------------------------
# 04/04/13 joreland@mysql.com 1.1858.1.3
# Fix for crashing AT
# --------------------------------------------
# 04/04/13 joreland@mysql.com 1.1858.1.4
# Bug fixes in testIndex
# --------------------------------------------
# 04/04/13 joreland@mysql.com 1.1866.1.5
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mysql.com:/home/jonas/src/tmp
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1858.1.5
# Fix for takeover when accessing indexes.
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1866.1.6
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mysql.com:/home/jonas/src/tmp
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1858.2.1
# Fixed error handling of fire_trigger_ord + lqhkeyref w.r.t indexes
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1858.2.2
# Simple retry mechanism in UTIL
# Helps testIndex -n BuildDuring _a lot_
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1858.2.3
# Misc fixes to test prg.
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1858.2.4
# Allow more retires on application errors
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1858.2.5
# Pass no of rows fetched in SUB_SYNC_CONTINUE_REQ
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1869
# wl1714
# Improve parallellism
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1870
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mysql.com:/home/jonas/src/wl1714
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1866.1.7
# Merge
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1871
# Merge mysql.com:/home/jonas/src/wl1714
# into mysql.com:/home/jonas/src/mysql-4.1-ndb
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1872
# Fix for testScan -n ScanReadError5030
# --------------------------------------------
# 04/04/14 joreland@mysql.com 1.1873
# fix testDict -n FragmentType*
# --------------------------------------------
# 04/04/14 johan@stingray.(none) 1.1866.2.1
# small fixes
# --------------------------------------------
# 04/04/14 johan@stingray.(none) 1.1874
# Merge jandersson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into stingray.(none):/space/bk/rep/mysql-4.1-ndb
# --------------------------------------------
# 04/04/14 johan@stingray.(none) 1.1875
# handle rep node as an api node
# --------------------------------------------
# 04/04/14 pekka@mysql.com 1.1873.1.1
# Fix for NDBT_Table removal
# --------------------------------------------
# 04/04/15 joreland@mysql.com 1.1873.1.2
# Uninitialized var.
# --------------------------------------------
# 04/04/15 johan@stingray.(none) 1.1876
# Merge jandersson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into stingray.(none):/space/bk/rep/mysql-4.1-ndb
# --------------------------------------------
# 04/04/15 joreland@mysql.com 1.1873.1.3
# Write pid before changing user
# (as runas user probably doesn't have permissions on pid-dir)
# --------------------------------------------
# --------------------------------------------
# 04/04/15 ndb@mc03.ndb.mysql.com 1.1862.1.3
# Fix printout of varchars
# --------------------------------------------
# 04/04/15 ndb@mc03.ndb.mysql.com 1.1877
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mc03.ndb.mysql.com:/space/ndb/tmp
# --------------------------------------------
# 04/04/15 ndb@mc03.ndb.mysql.com 1.1862.1.4
# Hmm.. don't print attr as many times as length of array
# --------------------------------------------
# 04/04/15 ndb@mc03.ndb.mysql.com 1.1878
# Merge mc03.ndb.mysql.com:/space/ndb/mysql-4.1-ndb
# into mc03.ndb.mysql.com:/space/ndb/tmp
# --------------------------------------------
# 04/04/15 joreland@mysql.com 1.1876.1.1
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mysql.com:/home/jonas/src/mysql-4.1-ndb
# --------------------------------------------
# 04/04/15 joreland@mysql.com 1.1877.1.1
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mysql.com:/home/jonas/src/mysql-4.1-ndb
# --------------------------------------------
# 04/04/15 ndb@mc03.ndb.mysql.com 1.1879
# Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
# into mc03.ndb.mysql.com:/space/ndb/tmp
# --------------------------------------------
# 04/04/17 joreland@mysql.com 1.1880
# LCP bug when restarting ops take's longer than DIH sending a new lcp ord
# Solution:
# Send LCP_FRAG_REP after restarting all ops
# --------------------------------------------
# 04/04/18 joreland@mysql.com 1.1881
# Missspelled ERROR_INSERT
# --------------------------------------------
# 04/04/18 joreland@mysql.com 1.1882
# Added possibility to log only distributed signals
# --------------------------------------------
# 04/04/22 joreland@mysql.com 1.1883
# Removed dependancy to libstdc++
# * pure virtual functions "__cxa_pure_virtual" is defined in libstd++ ->
# remove all pure virtual functions
# --------------------------------------------
# 04/04/23 joreland@mysql.com 1.1884
# Various minor bug fixes for problems found while compiling
# with icc
# --------------------------------------------
# --------------------------------------------
# 04/04/25 joreland@mysql.com 1.1885
# Removed debug code (joreland:1.1875)
# --------------------------------------------
# 04/04/26 ejonore@mc03.ndb.mysql.com 1.1862.1.5
# Lock pages in memory _after_ daemon-mode (exec/fork)
# --------------------------------------------
# 04/04/27 ejonore@mc03.ndb.mysql.com 1.1862.1.6
# 1) Trap abort()
# 2) StopStart/StopAborted events
# 3) warning if memlock fails
# 4) use g_logger more often (instead of ndbout)
#
# --------------------------------------------
# 04/04/27 joreland@mysql.com 1.1886
# bug fix for a bug in wl1714 + software upgrade
# --------------------------------------------
# 04/04/27 joreland@mysql.com 1.1887
# Cset exclude: joreland@mysql.com|ChangeSet|20040422160720|05374
# --------------------------------------------
# 04/04/27 joreland@mysql.com 1.1888
# removed libstc++ second try...
# --------------------------------------------
# 04/04/28 ejonore@mc03.ndb.mysql.com 1.1862.1.7
# 1) Don't lock FUTURE pages but only current
# 2) Do this when SIZEALT has completed
# --------------------------------------------
# 04/04/30 joreland@mysql.com 1.1889
# Merge jonas@orca:/home/ndb/releases/mysql-4.1-ndb-3.4.x
# into mysql.com:/home/jonas/src/mysql-4.1-ndb
# --------------------------------------------
# 04/05/03 ndb@mc03.ndb.mysql.com 1.1862.1.8
# Version update
# --------------------------------------------
# 04/05/03 joreland@mysql.com 1.1862.3.1
# Changed restart behavior.
# Use "angel" process which monitor "real" process
# --------------------------------------------
# 04/05/03 joreland@mysql.com 1.1862.1.9
# Merge jonas@orca:/home/ndb/releases/mysql-4.1-ndb-3.4.x
# into mysql.com:/home/jonas/src/mysql-4.1-ndb-3.4.x
# --------------------------------------------
# 04/05/03 joreland@mysql.com 1.1890
# Merge B2 fixes
# --------------------------------------------
# --------------------------------------------
# 04/05/03 joreland@mysql.com 1.1862.1.10
# Better handling of children terminations
# --------------------------------------------
# 04/05/03 joreland@mysql.com 1.1862.1.11
# Fixes for angel-restarting
# --------------------------------------------
# 04/05/03 joreland@mysql.com 1.1891
# Merge mysql.com:/home/jonas/src/mysql-4.1-ndb-3.4.x
# into mysql.com:/home/jonas/src/mysql-4.1-ndb
# --------------------------------------------
#
ndb/config/Defs.LINUX.x86.GCC.mk:
Merge ndb fixes
ndb/examples/ndbapi_async_example/Makefile:
Merge ndb fixes
ndb/examples/ndbapi_async_example/ndbapi_async.cpp:
Merge ndb fixes
ndb/examples/ndbapi_scan_example/Makefile:
Merge ndb fixes
ndb/include/debugger/SignalLoggerManager.hpp:
Merge ndb fixes
ndb/include/kernel/signaldata/ScanFrag.hpp:
Merge ndb fixes
ndb/include/ndb_version.h:
Merge ndb fixes
ndb/include/ndbapi/NdbScanOperation.hpp:
Merge ndb fixes
ndb/include/util/SocketServer.hpp:
Merge ndb fixes
ndb/src/common/debugger/SignalLoggerManager.cpp:
Merge ndb fixes
ndb/src/common/logger/ConsoleLogHandler.cpp:
Merge ndb fixes
ndb/src/common/portlib/unix/NdbMem.c:
Merge ndb fixes
ndb/src/common/util/Makefile:
Merge ndb fixes
ndb/src/common/util/version.c:
Merge ndb fixes
ndb/src/cw/cpcd/Process.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/ERROR_codes.txt:
Merge ndb fixes
ndb/src/kernel/blocks/backup/restore/Restore.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/backup/restore/Restore.hpp:
Merge ndb fixes
ndb/src/kernel/blocks/backup/restore/main.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Merge ndb fixes
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Merge ndb fixes
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/dbutil/DbUtil.hpp:
Merge ndb fixes
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/ndbfs/Filename.cpp:
Merge ndb fixes
ndb/src/kernel/blocks/suma/Suma.cpp:
Merge ndb fixes
ndb/src/kernel/error/Error.hpp:
Merge ndb fixes
ndb/src/kernel/ndb-main/Main.cpp:
Merge ndb fixes
ndb/src/kernel/vm/Configuration.cpp:
Merge ndb fixes
ndb/src/kernel/vm/Configuration.hpp:
Merge ndb fixes
ndb/src/kernel/vm/DLFifoList.hpp:
Merge ndb fixes
ndb/src/kernel/vm/Emulator.cpp:
Merge ndb fixes
ndb/src/kernel/vm/SignalCounter.hpp:
Merge ndb fixes
ndb/src/kernel/vm/SimulatedBlock.cpp:
Merge ndb fixes
ndb/src/mgmsrv/MgmtSrvr.cpp:
Merge ndb fixes
ndb/src/mgmsrv/NodeLogLevel.cpp:
Merge ndb fixes
ndb/src/ndbapi/ClusterMgr.cpp:
Merge ndb fixes
ndb/src/ndbapi/Ndberror.cpp:
Merge ndb fixes
ndb/src/rep/rep_version.hpp:
Merge ndb fixes
ndb/test/ndbapi/testDict/testDict.cpp:
Merge ndb fixes
ndb/test/ndbapi/testIndex/testIndex.cpp:
Merge ndb fixes
ndb/test/ndbapi/testMgm/testMgm.cpp:
Merge ndb fixes
ndb/test/ndbapi/testScan/testScan.cpp:
Merge ndb fixes
ndb/test/src/HugoTransactions.cpp:
Merge ndb fixes
ndb/test/src/NDBT_Tables.cpp:
Merge ndb fixes
ndb/test/src/NDBT_Test.cpp:
Merge ndb fixes
ndb/test/src/UtilTransactions.cpp:
Merge ndb fixes
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
2004-05-04 11:19:19 +02:00
unknown
d5d6c4fc1f
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mc05.(none):/space2/tomas/mysql-4.1
2004-05-03 06:33:35 +02:00
unknown
74a46d1359
Merge neptunus.(none):/home/magnus/mysql-4.1
...
into neptunus.(none):/home/magnus/mysql-4.1-sql-bench
2004-04-30 12:45:20 +02:00
unknown
11538b81bf
Removed define NDB_MAX_CONNECTIONS
...
ndb/include/ndbapi/ndbapi_limits.h:
Removed define for NDB_MAX_CONNECTIONS, wrong value+it's not needed to be defined here. User will get error if creating too many Ndb objects.
2004-04-30 10:12:24 +02:00
unknown
6de9b596b2
SrcDist.sh, Epilogue.mk:
...
improved distdir
ndb/Epilogue.mk:
improved distdir
ndb/SrcDist.sh:
improved distdir
2004-04-29 21:22:03 +02:00
unknown
9d3d017c6c
configure.in:
...
added configure options PACKAGE and VERSION for ndb
GuessConfig.sh:
added options for PACKAGE and VERSION
Epilogue.mk:
Added target distdir
ndb/Epilogue.mk:
Added target distdir
ndb/config/GuessConfig.sh:
added options for PACKAGE and VERSION
configure.in:
added configure options PACKAGE and VERSION for ndb
2004-04-29 20:25:00 +02:00
unknown
a8dfb78df0
SrcDist.sh:
...
new file
2004-04-29 19:48:46 +02:00
unknown
1fa5853260
Split Ndberror.cpp so it can be used by perror
2004-04-28 10:49:51 +02:00
unknown
5605374b66
removed ndb odbc from compile and release
2004-04-28 06:44:58 +02:00
unknown
f6686a6e76
Removed unnecessary README files
...
BitKeeper/deleted/.del-README~77a28de1261a882e:
Delete: ndb/demos/1-node-PS/filesystem/README
BitKeeper/deleted/.del-README~632b4134464fe1b1:
Delete: ndb/demos/1-node-SS/filesystem/README
BitKeeper/deleted/.del-README~b52220261b39f13e:
Delete: ndb/demos/1-node/1-db-2/filesystem/README
BitKeeper/deleted/.del-README~3ef0e23d164673dc:
Delete: ndb/demos/2-node/2-db-2/filesystem/README
BitKeeper/deleted/.del-README~7db9e56a65fe654d:
Delete: ndb/demos/2-node/2-db-3/filesystem/README
2004-04-14 15:42:56 +02:00
unknown
e57b33e9db
Adding Makefile for ronja dir
2004-04-14 14:47:34 +02:00
unknown
3b789f7ccb
Added more files for NDB Cluster
2004-04-14 12:13:54 +02:00
unknown
f4adc50ea0
Add more files for NDB Cluster
2004-04-14 12:11:51 +02:00
unknown
e6240e593d
Fix up of Makefiles for NDB Cluster
...
BitKeeper/deleted/.del-init_rm.c~47230fcd35059112:
Delete: ndb/tools/init_rm/init_rm.c
ndb/examples/Makefile:
Add target for clean_dep
ndb/src/Makefile:
Remove env dir
ndb/test/ndbapi/Makefile:
Remove some old stuff
ndb/test/ndbapi/flexAsynch/Makefile:
Cleanup
ndb/test/ndbapi/flexBench/Makefile:
Cleanup
ndb/test/ndbapi/flexTT/Makefile:
Cleanup
ndb/test/odbc/Makefile:
Don't compile test dm-unixodb for now
ndb/tools/Makefile:
Remove init_rm tool
2004-04-14 11:55:14 +02:00
unknown
cfaa47909d
Adding more files for NDB Cluster
2004-04-14 11:11:26 +02:00
unknown
60ede39c16
Adding more files for NDB Cluster
2004-04-14 11:10:06 +02:00
unknown
6386c55cee
Initial revision of NDB Cluster files
...
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
2004-04-14 10:53:21 +02:00