Commit graph

958 commits

Author SHA1 Message Date
joreland@mysql.com
10d304861b testBackup 2004-09-25 19:31:36 +02:00
tomas@poseidon.ndb.mysql.com
c259c02e20 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
2004-09-25 17:31:35 +00:00
tomas@poseidon.ndb.mysql.com
c329d002f7 local config now outside config retriever 2004-09-25 17:30:51 +00:00
joreland@mysql.com
2a71a43693 Ops forgott to put table in hash 2004-09-25 18:36:56 +02:00
joreland@mysql.com
6c5aafa1c9 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-25 18:36:55 +02:00
tomas@poseidon.ndb.mysql.com
3b13d7090f corrected small :) mistake 2004-09-25 16:36:54 +00:00
tomas@poseidon.ndb.mysql.com
b67853d70e added printout for where configuration is fetched
debug printouts
2004-09-25 16:06:30 +00:00
joreland@mysql.com
f1ece00ea2 bug#5702
more bug fixes.
2004-09-25 16:47:51 +02:00
tomas@poseidon.ndb.mysql.com
8bfc619e1d moved LocalConfig out of config retriver 2004-09-25 14:10:06 +00:00
tomas@poseidon.ndb.mysql.com
65629eb291 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
2004-09-25 10:45:08 +00:00
tomas@poseidon.ndb.mysql.com
c03e24a61e added debug printouts 2004-09-25 10:44:39 +00:00
joreland@mysql.com
309416de84 Init theSCAN_TABREQ 2004-09-25 10:22:27 +02:00
joreland@mysql.com
106d203f25 Fix memory leak 2004-09-25 10:16:37 +02:00
tomas@poseidon.ndb.mysql.com
71d5ea8f85 fix for invalidating table if mismatch with frm
removed debug printout
    new test in alter table for dictionay update test with multiple connections
    added coice of setting MaxNoOfOrderedIndexes
    added option to run "--small-bench"
2004-09-24 16:58:25 +00:00
joreland@mysql.com
17328541f1 Extra jam broken if 2004-09-24 13:40:38 +02:00
joreland@mysql.com
3be8351e68 Dbdict
- set table state in releaseTableObject
- make handleTabInfoInit release object if parsing fails
- make sure table is not accessed is parsing fails
2004-09-24 12:38:38 +02:00
tomas@poseidon.(none)
7602703478 bug, releaseTableObject called twice
bug, whole bucket removed if delete first element in bucket
2004-09-24 08:47:46 +00:00
joreland@mysql.com
4b2aa105b1 bug#5702
Check index version already in master
to prevent "non-atmoic" failing drop index
2004-09-23 09:25:05 +02:00
tomas@poseidon.(none)
cb235151e4 debug printout 2004-09-22 18:27:03 +00:00
joreland@mysql.com
2f612c5ada Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-22 17:29:50 +02:00
joreland@mysql.com
8883ccf198 Fix so that testBackup wait until start has finished before
starting to restore
2004-09-22 09:27:34 +02:00
joreland@mysql.com
f3c0441d9d testScan - ReadWithLocksAndInserts
testBasic LocksAndInserts
2004-09-22 09:13:13 +02:00
joreland@mysql.com
540de0e312 misspelled testcase name 2004-09-22 05:48:52 +02:00
tomas@poseidon.ndb.mysql.com
70b14cad6c Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
2004-09-21 17:31:34 +00:00
tomas@poseidon.ndb.mysql.com
8c617f1369 config parameter changed 2004-09-21 17:31:01 +00:00
joreland@mysql.com
2175afe283 Make operation list on fragment fifo so that uncommitted operations
are undo-logged in correct order

Add bunch of testcases to autotest
2004-09-21 14:58:23 +02:00
magnus@neptunus.(none)
58899f0137 Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into neptunus.(none):/home/magnus/mysql/wl/wl1424_discover_2
2004-09-21 12:23:27 +02:00
joreland@mysql.com
ee34a1dec8 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-21 09:53:16 +02:00
joreland@mysql.com
eda5c31970 bug#5617
allow blank lines in Ndb.cfg files
2004-09-21 09:50:44 +02:00
joreland@mysql.com
d3a1b97ee2 Removed debug printout 2004-09-21 08:13:35 +02:00
joreland@mysql.com
e28395a60c wl1292
remove -e from atrt-mysql-test-run
2004-09-21 06:33:29 +02:00
joreland@mysql.com
b5fe917271 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-20 20:56:16 +02:00
magnus@neptunus.(none)
2a344c0bc1 Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into neptunus.(none):/home/magnus/mysql/wl/wl1424_discover_2
2004-09-20 17:32:40 +02:00
joreland@mysql.com
efb0ae38af Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-20 17:25:55 +02:00
joreland@mysql.com
e315fb4a32 Fix event systable collation (binary) 2004-09-20 17:25:12 +02:00
mysql@mc04.(none)
f982cd9d46 Patches to make it compile 2004-09-20 16:30:23 +02:00
magnus@neptunus.(none)
cdc7a32f37 Merged Thd_ndb 2004-09-20 14:28:43 +02:00
mysql@mc04.(none)
f4721210db Hand merge 2004-09-20 14:20:01 +02:00
magnus@neptunus.(none)
165bf1d955 Merge msvensson@build.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/magnus/mysql/mysql-4.1
2004-09-20 14:04:13 +02:00
joreland@mysql.com
b931460546 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-20 13:36:23 +02:00
joreland@mysql.com
8629e41d6f bug#5659
uninit variable
2004-09-20 12:21:08 +02:00
mysql@mc04.(none)
5d19f4eb74 Restored old shared memory buffer implementation (used by SCI and SHM).
Improved Default SCI config params
Added missing SCI libraries in ndb_mgm and atrt
Added max of 1024 signals per receive on transporter (to improve
real-time bahaviour and to ensure no job buffer explosion, still
some more work left on avoiding job buffer explosion in the general
case)
2004-09-20 12:03:18 +02:00
joreland@mysql.com
511820cb2e Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-09-20 11:53:44 +02:00
joreland@mysql.com
12fadb8c41 Dont log IAmNotMaster errors 2004-09-20 11:47:27 +02:00
magnus@neptunus.(none)
47168d1219 Merged new ndb_insert.test and .result 2004-09-20 11:14:31 +02:00
magnus@neptunus.(none)
94693e7799 Merge msvensson@build.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/magnus/mysql/mysql-4.1
2004-09-20 10:48:20 +02:00
joreland@mysql.com
ed9453ded7 bug#4590
Use ndb_mgm_listen_event to wait for backup messages
2004-09-20 09:24:25 +02:00
joreland@mysql.com
2e7e0d1f78 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-17 16:58:10 +02:00
joreland@mysql.com
3cb410b8cd New mgmapi call - ndb_mtm_listen_event 2004-09-17 15:11:57 +02:00
joreland@mysql.com
07c7e1f530 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-17 14:18:55 +02:00
pekka@mysql.com
e274047c24 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/space/pekka/ndb/version/my41-cc
2004-09-17 14:18:32 +02:00
joreland@mysql.com
11dbfe4796 Fix backup event 2004-09-17 14:18:28 +02:00
tomas@poseidon.ndb.mysql.com
f21e6d81ff replaced some "localhost" checks with try bind
removed some #id 0 code
2004-09-17 12:16:34 +00:00
pekka@mysql.com
d02998e20f ndb charsets (wl-1732) final part: use strxfrm + strcoll 2004-09-17 14:09:21 +02:00
joreland@mysql.com
2f43e54aa4 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-17 12:06:23 +02:00
tomas@poseidon.ndb.mysql.com
27fcc9ecac Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
2004-09-17 10:06:22 +00:00
tomas@poseidon.ndb.mysql.com
f5e6f23343 made tryBind static
using tryBind instead to determine if we're "config host" is "local"
2004-09-17 10:05:42 +00:00
joreland@mysql.com
8dfb6b3fc4 Added EventReport for backup 2004-09-17 10:32:22 +02:00
joreland@mysql.com
31ba0b2be2 Moved event category match functionality into mgmapi
Removed grep introduced bogus mgm call
2004-09-17 08:28:22 +02:00
tomas@poseidon.(none)
4bfe7efeb0 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
2004-09-17 00:14:40 +00:00
tomas@poseidon.(none)
a86100e78a corrected mistake in counting 2004-09-17 00:12:03 +00:00
tomas@poseidon.(none)
87ba45e99b Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
2004-09-16 23:36:48 +00:00
tomas@poseidon.(none)
89c8365f39 removed different CFG_ defined for connection host names
added support for setting up multiple interfaces
correct connect address for mgmt server
bug, -l flag would be interpreted as connectstring
added flag to remove all node id checks
changed automatic allocation of ports somewhat
2004-09-16 23:36:13 +00:00
joreland@mysql.com
0fe59a1a64 Fix error handling in atrt-mysqltest-run 2004-09-16 22:15:51 +02:00
joreland@mysql.com
6e2adc220e removed extra newline 2004-09-16 22:06:17 +02:00
mysql@mc04.(none)
5e8d686b5a Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc04.(none):/space/mysql/mysql-4.1-ndb
2004-09-16 21:53:46 +02:00
joreland@mysql.com
b04d9dcde4 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-16 18:09:35 +02:00
joreland@mysql.com
32cd5acd38 wl1668 -
Add support for getting events via mgmapi
removed all traces of stat port
2004-09-16 18:02:41 +02:00
tomas@poseidon.(none)
5ee0411275 compile fix 2004-09-16 13:24:42 +00:00
pekka@mysql.com
23dd2e15ae ndb charsets: TUX must use Dbtup::readAttributes 2004-09-16 14:38:01 +02:00
pekka@mysql.com
82c0e3b478 ndb charsets: metadata in TUP, TUX 2004-09-16 12:57:15 +02:00
tomas@poseidon.(none)
9df9132183 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
2004-09-16 08:23:37 +00:00
tomas@poseidon.(none)
5488f207db mysql_install_db should do skip-ndbcluster
set a printout in SocketClient only for debug
2004-09-16 08:22:22 +00:00
magnus@neptunus.(none)
713c80d2b3 Add variable to printout 2004-09-16 09:51:35 +02:00
magnus@neptunus.(none)
f53bf1b6de Added DBUG_PRINT 2004-09-16 09:40:59 +02:00
mysql@mc04.(none)
d905188230 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc04.(none):/space/mysql/mysql-4.1-ndb
2004-09-16 09:21:49 +02:00
mikael@mc04.(none)
72017f8dd2 logging_ok:
Logging to logging@openlogging.org accepted
SCI_Transporter.hpp, SCI_Transporter.cpp:
  Major fix-up of SCI Transporter, fixed so that it works with single card, fixed wrap around, added lots of DBUG statements, merged with new transporter handling
TransporterRegistry.cpp:
  Some fixes for wrap around needed plus DBUG handling
TCP_Transporter.hpp, TCP_Transporter.cpp:
  Added DBUG statements
SHM_Transporter.hpp, SHM_Transporter.cpp:
  Fixed SHM Transporter
SHM_Buffer.hpp:
  Fixed SHM Buffer to handle wrap around properly
IPCConfig.cpp:
  Fixed up config of SCI
SocketServer.cpp:
  Added DBUG support for SocketServer threads
ConfigInfo.cpp:
  Config changes for SCI
TransporterDefinitions.hpp, mgmapi_config_parameters.h:
  SCI fixes
Makefile.am, type_ndbapitools.mk.am, type_ndbapitest.mk.am:
  Added SCI library path to Makefiles
configure.in:
  Fixed small bug with shared mem and sci together in configure
acinclude.m4:
  Added possibility of providing SCI library path in confgure
2004-09-15 20:41:49 +02:00
pekka@mysql.com
083e4f475a Merge 2004-09-15 19:26:00 +02:00
tomas@poseidon.(none)
0b83acb8df HugoTransactions.cpp
changed to do execute(commit);restart() transaction instead of closeTransaction();start new
select_all.cpp
    moved my_init outside DBUG_OFF
2004-09-15 17:25:59 +00:00
tomas@poseidon.(none)
0ecfc4cee7 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-15 17:10:11 +00:00
tomas@poseidon.(none)
d5627f53c3 testBank
optimized for fewer timeouts
    changed for consistency in "time"
tests
    moved SR_UNDO tests to basic
    added testBackup -n BackupBank
2004-09-15 17:09:25 +00:00
mskold@mysql.com
9cf8385540 Merge mskold@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
2004-09-15 19:01:00 +02:00
mskold@mysql.com
81d5944f25 Fixed compiler warnings 2004-09-15 19:00:23 +02:00
tomas@poseidon.(none)
10b17d98b4 fixed return code for ndb_backup
added possibility to set number of accounts in createAndLoadBank
bumbed up number of threads in tastBackup BackupBank
2004-09-15 15:47:04 +00:00
pekka@mysql.com
0caba84b46 ndb charsets: DICT 2004-09-15 17:44:13 +02:00
magnus@neptunus.(none)
76fd06c704 Print the error message if read of local config fails. 2004-09-15 16:01:20 +02:00
joreland@mysql.com
27a4e6e29e drop table after test (if created & success) 2004-09-15 15:57:12 +02:00
joreland@mysql.com
8870f53e33 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-15 15:32:49 +02:00
joreland@mysql.com
a01963dfad New test prg, testLcp 2004-09-15 15:17:16 +02:00
pekka@mysql.com
d0d2b820b7 ndb: set column type sets column defaults 2004-09-15 14:52:39 +02:00
magnus@neptunus.(none)
013486701c BUG#4775 "Duplicate key requires rollback of transaction" - Improved error message telling that transaction is aborted
BUG#4312 "wrong behaviour on insert .. on duplicate key" functionality disabled
2004-09-15 14:44:21 +02:00
tomas@poseidon.(none)
9201b78b5f fixed bug in bank 2004-09-15 10:46:20 +00:00
pekka@mysql.com
3fe6bebfe4 delete unnecessary include my_sys.h 2004-09-15 12:36:21 +02:00
pekka@mysql.com
39a4aa39f2 ndb_init() to all ndb programs 2004-09-15 11:49:18 +02:00
tomas@poseidon.(none)
57256494d2 CommandInterpreter.cpp:
removed help text for non implemented command
2004-09-15 08:45:43 +00:00
tomas@poseidon.(none)
4447c23df6 fixed cosmetic printouts 2004-09-15 08:39:12 +00:00
tomas@poseidon.(none)
d475ddbeda bug, forgot to set to zero 2004-09-15 08:23:44 +00:00
mskold@mysql.com
95e0c85a41 Fixed compilation warning 2004-09-15 09:29:56 +02:00
mskold@mysql.com
9311c81a55 Merge mskold@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
2004-09-14 18:17:03 +02:00
tomas@poseidon.(none)
62c5d4a372 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
2004-09-14 12:48:05 +00:00
tomas@poseidon.(none)
fc174af248 new method to set size of local table data
clearer configure description texts
changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor
move definition if Thd_ndb to .h file and changes seize/release to operate on Thd_ndb instead of Ndb objects
moved allocation/deletion of Ndb objects to Thd_ndb
2004-09-14 12:47:34 +00:00
tomas@poseidon.(none)
aecd1e5d7f Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
2004-09-14 08:55:09 +00:00
tomas@poseidon.(none)
21a4b1b4e6 moved all ndb thread specific data into new placeholder
new methods to keep "records" up to date
unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization
new methods to keep "records" up to datecorrect record field in ndbcluster handler
new method for ndbcluster handler to store/retrieve table and thread specific data
changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
hanged deleteKey to return ponter to deleted object
moved heavy global cache fetch from inline to separate method
2004-09-14 08:52:21 +00:00
magnus@neptunus.(none)
619b8a0beb Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into neptunus.(none):/home/magnus/mysql/wl/wl1424_discover_2
2004-09-14 10:03:56 +02:00
joreland@mysql.com
618ada6345 removed printout 2004-09-14 09:27:06 +02:00
joreland@mysql.com
d2f51fb7ce Fix UtilTransaction::verifyIndex wrt to null handling 2004-09-14 09:08:03 +02:00
mskold@mysql.com
6370af0bb2 Merge mskold@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
2004-09-13 22:31:16 +02:00
magnus@neptunus.(none)
d41f7af07e Merged 2004-09-13 14:49:50 +02:00
magnus@neptunus.(none)
e6e83d29e1 Sleep for a little while in connect thread before trying to connect to MGM again 2004-09-13 14:36:02 +02:00
magnus@neptunus.(none)
80e602f554 Added DBUG_PRINT's
Made Ndb::connected private
2004-09-13 14:33:13 +02:00
joreland@mysql.com
4d44bea861 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-12 09:24:53 +02:00
joreland@mysql.com
460859fc12 Fix command line options 2004-09-12 09:23:05 +02:00
mskold@mysql.com
8afda1cb3d Merge mskold@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
2004-09-11 20:56:06 +02:00
mskold@mysql.com
d555950b9d Reomeved compiler warnings 2004-09-11 20:53:57 +02:00
tomas@poseidon.(none)
eeae012b4e Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
2004-09-10 15:04:40 +00:00
tomas@poseidon.(none)
8df4fa5d43 bug#5435 2004-09-10 14:55:42 +00:00
tomas@poseidon.(none)
513805d8ae removed debug printout that slipped in 2004-09-09 21:53:01 +00:00
tomas@poseidon.(none)
69695656a1 fixed compile error 2004-09-09 20:43:42 +00:00
tomas@poseidon.(none)
dfe6033f8e added possibility to use comma-separated connectstring
compile error/warning fixes
added force of heartbeat
added ability to force heartbeat
2004-09-09 19:52:03 +00:00
tomas@poseidon.(none)
6b8f55a565 Merge 2004-09-09 16:43:11 +00:00
tomas@poseidon.(none)
a5fa9d8692 main.cpp:
removed shhor switch for nodaemon
2004-09-09 16:41:20 +00:00
tomas@poseidon.(none)
3015cb361b MgmtSrvr.cpp:
Added ability to force heartbeat
2004-09-09 16:40:15 +00:00
tulin@build.mysql.com
9698903eb5 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/tulin/mysql-4.1-ndb-merge
2004-09-09 16:22:47 +02:00
tomas@poseidon.(none)
b9d4ca6944 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-09 14:22:46 +00:00
tomas@poseidon.(none)
19a2bc21f7 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-09 13:57:23 +00:00
tomas@poseidon.(none)
8178861dd9 improved show command
fixed some mutex locks for Ndb objects
moved TranspoterFacade::stop_instance to cluster connection
moved Socket Server::start_server outside the TransporterFacade::start_instance thread
2004-09-09 13:55:14 +00:00
tulin@build.mysql.com
0718ddcbbb merge 2004-09-09 14:39:01 +02:00
joreland@mysql.com
ddf3cb98a6 fix NdbDictionary 2004-09-09 14:20:11 +02:00
tomas@poseidon.(none)
976086d36e better error printouts on cannot alloc node id
put ByteOrder config param back as depricated
2004-09-09 09:04:53 +00:00
ndbdev@ndbmaster.mysql.com
a4de52117e Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into ndbmaster.mysql.com:/ndb/clone-mysql-4.1-ndb-daily-2004-09-08
2004-09-09 08:41:37 +02:00
ndbdev@ndbmaster.mysql.com
180f03eae6 wl1292 -
Fix autotest of backups
Fix autotest with mysql-test-run
2004-09-09 08:40:20 +02:00
joreland@mysql.com
d933be7927 Ndb backup/restore also handle indexes 2004-09-08 22:30:05 +02:00
tomas@poseidon.(none)
a34f63cf33 removed unnecesary check in ConfigInfo
added retries to tryBind
2004-09-08 16:31:52 +00:00
tomas@poseidon.(none)
e4290e4831 dded method to retrieve mysqld, ndbd, and ndb_mgmd aliases for API,MGM and DB
added sanity checks for config file
changed so that ndb_0 is replaced by ndb_pid#### in ndb files
added error_string for to some functions, alloc_node_id(), start()
added better error printout for failed alloc node id
better error printouts for failures when starting ndb_mgmd
2004-09-08 14:30:39 +00:00
joreland@mysql.com
9b5efa4c5c Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-08 13:44:52 +02:00
joreland@mysql.com
92abbaf55e Restore transid when flushing 2004-09-08 13:42:44 +02:00
ndbdev@ndbmaster.mysql.com
44d34cb6d0 wl1292 - mysql-test-run in autotest
Reset SIGCHLD before exec-ing
2004-09-08 11:18:22 +02:00
ndbdev@ndbmaster.mysql.com
91cb0fbc82 Removed usage of "useFullyQualifiedNames" 2004-09-08 08:02:59 +02:00
joreland@mysql.com
f63f994b73 bug#at - testNdbApi WaitUntilReady, MaxNdb
fix delete of dictionary before connection has been established
2004-09-08 06:48:03 +02:00
joreland@mysql.com
e9edf3cfb9 BUG#ndb_blob on 1 node
Make sure to flush buffer when sending long sig so that order is maintained
2004-09-08 06:26:44 +02:00
joreland@mysql.com
e8566a205a Bug#5429
Use const table * in NDB API
2004-09-07 21:53:59 +02:00
joreland@mysql.com
aa27f0ed75 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-07 14:30:12 +02:00
tomas@poseidon.(none)
7d192fcbd7 fixed NdbConnection::restart and made use of it in ha_ndbcluster
added testcase
2004-09-07 12:30:11 +00:00
joreland@mysql.com
cf452282d7 Fix scan with keyinfo 2004-09-07 13:24:12 +02:00
tomas@poseidon.(none)
0187978567 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-07 10:56:07 +00:00
tomas@poseidon.(none)
2fdb262c4a fixed and added test case for bug#5431
+ fix for support of multiple mgmt servers
2004-09-07 10:54:31 +00:00
ndbdev@ndbmaster.mysql.com
b7bbb21771 Fix braces wrt to DBUG_xxx 2004-09-06 21:49:04 +02:00
tomas@poseidon.(none)
cfad8eccc4 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-06 18:31:43 +00:00
tomas@poseidon.(none)
77cd417c7e fixed so that ndbcluster and mysqld can be started independently
fixed some error codes in Ndb so that 4009-cluster failure is returned when cluster is not up
2004-09-06 18:30:57 +00:00
joreland@mysql.com
1cc60149ea Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-06 15:17:09 +02:00
joreland@mysql.com
d0b730dd17 testReadPerf fixes 2004-09-06 15:15:35 +02:00
tomas@poseidon.(none)
3e3a1ff1e1 -d default on ndb_mgmd and ndbd
-i depricated on ndbd
fixed bug in shutdown command in ndb_mgm
2004-09-06 12:36:01 +00:00
joreland@mysql.com
1e17dca88b testReadPerf
Divide by loops aswell
2004-09-06 13:29:49 +02:00
tomas@poseidon.(none)
41bd91a409 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-06 10:47:04 +00:00
tomas@poseidon.(none)
2192d179d2 added ndb_mgm_destroy_configuration call
fixed memory leak in object map
fixed uninitialized value blobs_pending
2004-09-06 10:46:23 +00:00
joreland@mysql.com
c20c8baf2e removed faked do_work 2004-09-06 10:13:54 +02:00
joreland@mysql.com
02fbe60cec Added testReadPerf that compares different access methods
- pk read (batch and serial)
- unique index read (batch and serial)
- eq-bound ordered index
- range ordered index
- sorted range ordered index
- interpretered scan
2004-09-06 07:08:40 +02:00
joreland@mysql.com
040fcb2d1e Fixed initialization of trans id 2004-09-03 22:20:03 +02:00
tomas@poseidon.(none)
73366eafc5 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-03 15:12:34 +00:00
tomas@poseidon.(none)
caf79dacfe renamed ha_recovery_logging to ha_enable_transaction
added tests to alter table for "large" alter tables and truncates in ndbcluster
added debug printout in restart() in ndbcluster
added flag THD::transaction.on to enable/disable transaction
2004-09-03 15:11:09 +00:00
tomas@poseidon.(none)
bb044466a8 introduced my_init() in backwards compatible Ndb constructor 2004-09-03 11:24:14 +00:00
tomas@poseidon.(none)
6ae278a6bb Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-02 15:52:46 +00:00
tomas@poseidon.(none)
1e6925802a fixed wrong initial auto increment value bug#5369 2004-09-02 15:51:44 +00:00
mronstrom@mysql.com
b258da8b5e Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/Users/mikron/mysql-4.1-ndb
2004-09-02 17:02:47 +02:00
mronstrom@mysql.com
99f9ff912f Fix for overwriting of the stack when table name length was larger
than 32 bytes. getWords interpreted length as number of words and
got number of bytes.
2004-09-02 15:13:50 +02:00
mronstrom@mysql.com
40eaddfbb7 Fix for bug overwriting stack when table name larger than 32 bytes.
getWords interprets the length as number of words and previously
number of bytes was sent in.
2004-09-02 15:08:17 +02:00
mronstrom@mysql.com
22f21ba700 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
2004-09-02 15:04:35 +02:00
tomas@poseidon.(none)
03d3d8c418 Merge 2004-09-02 12:11:46 +00:00
tomas@poseidon.(none)
cea153400e added connect thread to Ndb_cluster_connection +
some other small fixes
2004-09-02 12:04:50 +00:00
tomas@poseidon.(none)
12c4007867 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-09-01 14:58:12 +00:00
tomas@poseidon.(none)
bc8594364a added class Ndb_cluster_connection to prepare for making order of starting mysqld and ndbd irrelevant 2004-09-01 14:56:53 +00:00
joreland@mysql.com
7e22cf6fa8 Piggy back close scan req 2004-09-01 13:42:58 +02:00
joreland@mysql.com
51b79a8448 Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/wl2025
2004-09-01 04:52:50 +02:00
joreland@mysql.com
58c30f2b3f Fix bug in trans counter for read 2004-09-01 04:50:17 +02:00
joreland@mysql.com
30171dd181 Also update printer 2004-08-31 22:17:58 +02:00
joreland@mysql.com
c246824929 Added some more options to TC timers, such as:
1) explicit start/stop timer (instead of perodical reports)
2) scan & range scan reporting
2004-08-31 22:12:08 +02:00
joreland@mysql.com
36482c379e bug#4591 2004-08-31 21:34:11 +02:00
joreland@mysql.com
6919c1d781 run in loop 2004-08-31 16:27:31 +02:00
joreland@mysql.com
76629f5299 Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/wl2025
2004-08-31 15:07:43 +02:00
joreland@mysql.com
2856ddb69d Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-31 15:00:50 +02:00
joreland@mysql.com
dc42d38bcc Update test prg
1) merge join
2) lookups
2004-08-31 14:53:59 +02:00
joreland@mysql.com
36138be04e Interpreter fix + tets prg 2004-08-31 10:14:36 +02:00
pekka@mysql.com
415d163a3d Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/space/pekka/ndb/version/my41-tux
2004-08-30 15:31:30 +02:00
joreland@mysql.com
cc9d126065 merge 2004-08-30 12:13:11 +02:00
tomas@poseidon.(none)
0b9a99db35 see resp. file 2004-08-30 10:13:09 +00:00
tomas@poseidon.(none)
7000ffde0d fixed so that error handler is only invoked once 2004-08-30 08:25:17 +00:00
joreland@mysql.com
1f6e703d23 wl2025 - bug fixes
1) Release _all_ attr bufs
2) Handle out of attr bufs
2004-08-29 21:35:33 +02:00
joreland@mysql.com
2258fd6781 small fixes of select count(*) 2004-08-27 22:50:06 +02:00
joreland@mysql.com
872dff5b69 Added 3 psuedo columns
Cleaned up code
Changed ndb_select_all
2004-08-27 22:31:16 +02:00
joreland@mysql.com
b7d6275656 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-27 19:42:04 +02:00
joreland@mysql.com
d10e9ba9b6 Better handling of transaction ids,
make *sure* that no one gets same transid twice
(wo/ restarting process)
2004-08-27 19:41:00 +02:00
joreland@mysql.com
6af42cfba4 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-27 19:36:54 +02:00
joreland@mysql.com
dacddf51ce Handle drop ordered index with table id > pool size 2004-08-27 19:33:46 +02:00
mronstrom@mysql.com
e10f3212fa Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/Users/mikron/mysql-4.1-ndb
2004-08-27 18:04:12 +02:00
joreland@mysql.com
23159226a4 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-27 15:37:01 +02:00
tomas@poseidon.(none)
c2a2c7a8c7 added debug to ndb test 2004-08-27 13:37:00 +00:00
pekka@mysql.com
ea595ff5b9 bug-5252 fix (tinyblob) 2004-08-27 15:10:53 +02:00
joreland@mysql.com
af7c3008db Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-27 14:11:50 +02:00
tomas@poseidon.(none)
698511bfe4 small fixes 2004-08-27 12:11:49 +00:00
pekka@mysql.com
75586fe45d tux optim 14 - use pointers to cmp functions 2004-08-27 13:57:51 +02:00
tomas@poseidon.(none)
a926d83243 see respective file 2004-08-27 11:48:27 +00:00
mronstrom@mysql.com
33f3698d61 Decreased chunks per fragment
Fixed missing initialisation bug
2004-08-27 11:44:39 +02:00
joreland@mysql.com
95e5b457b8 Fix ordered index scan with partially specified key 2004-08-27 00:59:16 +02:00
tomas@poseidon.(none)
1192517a8a Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-08-26 21:45:46 +00:00
tomas@poseidon.(none)
e97e08b212 new parameter BackupDataDir 2004-08-26 21:43:07 +00:00
mronstrom@mysql.com
eaff990883 Fixed wrong number of fragment records in DIH
Fixed bug in failed create table
Fixed new test case for failed create table using new ERROR_INSERT
2004-08-26 18:25:48 +02:00
tomas@poseidon.(none)
50cee6abc8 ndb cluster config fixes, se respective files 2004-08-26 14:35:33 +00:00
pekka@mysql.com
492db98edd FileLogHandler.cpp, ndb_global.h:
sco and others: use PATH_MAX always
2004-08-26 14:06:39 +02:00
pekka@mysql.com
c726ab10e5 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2004-08-26 13:25:10 +02:00
pekka@mysql.com
a4099c22f0 sco compile fix: MAXPATHLEN 2004-08-26 13:25:09 +02:00
joreland@mysql.com
8730615694 Fix ndb home path 2004-08-26 12:10:32 +02:00
joreland@mysql.com
ee09335752 Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/wl2025
2004-08-25 15:08:22 +02:00
joreland@mysql.com
4ccd2cbbb2 Improved STR_VALUE macro 2004-08-25 14:55:04 +02:00
mronstrom@mysql.com
03511a0df1 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/Users/mikron/mysql-4.1-ndb
2004-08-25 14:27:55 +02:00
tomas@poseidon.(none)
253bab7399 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-08-25 12:27:54 +00:00
tomas@poseidon.(none)
8b9ac5e248 small fixes, see respective file 2004-08-25 12:27:26 +00:00
tomas@poseidon.(none)
8db1d7e222 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
2004-08-25 11:42:15 +00:00
tomas@poseidon.(none)
a2ace296fe added some debug support
and some more checks
2004-08-25 11:40:45 +00:00
joreland@mysql.com
b269edbe23 merge 2004-08-25 12:17:43 +02:00
joreland@mysql.com
0397c65fb0 Removed "string" values and use STR_VALUE instead 2004-08-25 12:08:52 +02:00
joreland@mysql.com
9eafa6efd7 Missing ;
Duplicate lib dep
2004-08-25 12:04:24 +02:00
mronstrom@mysql.com
677437794f Merge mysql.com:/Users/mikron/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1-ndb
2004-08-25 11:13:12 +02:00
mronstrom@mysql.com
2e5d53e70f Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
2004-08-25 11:04:14 +02:00
mronstrom@mysql.com
414037d9b6 Merge mysql.com:/Volumes/Backup1/wl2056
into mysql.com:/Users/mikron/wl2056
2004-08-25 10:39:34 +02:00
mronstrom@mysql.com
291c4e5e2f Adaptions after review 2004-08-25 10:36:14 +02:00
mronstrom@mysql.com
3473997c0c Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/Volumes/Backup1/wl2056
2004-08-25 10:28:49 +02:00
mronstrom@mysql.com
0bac858563 Fixing an issue with using UNDEFINED as default parameter value
which means that the ndbd process will not know anything about the
value
2004-08-25 10:10:15 +02:00
joreland@mysql.com
182c5b6299 merge count(*) optim with wl2025 2004-08-25 08:49:46 +02:00
joreland@mysql.com
5ceaeb0d7e Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-25 01:31:48 +02:00
tomas@poseidon.(none)
646153819c minor fixes 2004-08-24 23:31:47 +00:00
tomas@poseidon.(none)
c16f134be3 Merge 2004-08-24 22:35:14 +00:00
tomas@poseidon.(none)
0f8dc70610 ndb config ability/naming changes, see respective file 2004-08-24 22:27:33 +00:00
joreland@mysql.com
31a5dd0a0d Implemented general purpose psuedo columns: row_count & fragment
Implemented new interpreter instruction: exit_ok_last

This two new features combined can be used to make fast select count
2004-08-24 23:27:32 +02:00
tomas@poseidon.(none)
1bd774e9cb more aliases in ndb config 2004-08-24 21:12:53 +00:00
tomas@poseidon.(none)
ce98ccacad bug fix 2004-08-24 19:49:45 +00:00
tomas@poseidon.(none)
57c12e0fd3 enables case insensitivity in ndb config file 2004-08-24 19:07:09 +00:00
joreland@mysql.com
7a3d0c83fa Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-24 21:07:08 +02:00
tomas@poseidon.(none)
0483eb8139 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-clean
2004-08-24 19:07:08 +00:00
tomas@poseidon.(none)
aae0b7ed65 added alias MYSQLD for API
added choice of : or = in config file
set case insensitive section names
2004-08-24 14:41:48 +00:00
mronstrom@mysql.com
1aa337ec36 Fix compile bug of mgm client 2004-08-24 15:18:20 +02:00
mronstrom@mysql.com
6e4640fc1a Fix memory leak at certain failed create tables 2004-08-24 15:12:46 +02:00
joreland@mysql.com
1c4cb230cd Use "configured" socklen_t
Fix master printout
2004-08-24 15:08:52 +02:00
joreland@mysql.com
90e6e89212 Compile fix sol9x86 2004-08-24 14:48:07 +02:00
joreland@mysql.com
6163efe1ac merge 2004-08-24 13:29:11 +02:00
joreland@mysql.com
88c55407aa SCO unix compile fix 2004-08-24 13:29:08 +02:00
joreland@mysql.com
b06742ec7d Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-08-24 13:29:07 +02:00
tomas@poseidon.(none)
5a24844551 some more printouts to SHOW command 2004-08-24 11:28:19 +00:00
tomas@poseidon.(none)
b5304c816f enabling stopping of ndb_mgmd 2004-08-24 10:44:42 +00:00
mikron@mikael-ronstr-ms-dator.local
cb81410e77 Manual Merge 2004-08-24 11:55:28 +02:00
joreland@mysql.com
2de4d1f517 bug#5014
detect change of #replicas + #nodes
2004-08-24 11:31:30 +02:00