Commit graph

666 commits

Author SHA1 Message Date
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
tomas@poseidon.(none)
e00587bff1 added mysql libs to ndb for debug features primarily 2004-08-24 09:25:23 +00:00
tomas@poseidon.(none)
83c78121ff only in vm_trace 2004-08-24 07:38:04 +00:00
mronstrom@mysql.com
0b15127eb5 Removed some error codes since the errors are hard errors which
need ndbrequire instead.
2004-08-24 00:15:04 +02:00
tomas@poseidon.(none)
18dc248260 added explicit instantiation of template 2004-08-23 22:06:23 +00:00
tomas@poseidon.(none)
91f10a9943 added support for stopping ndb_mgmd from client 2004-08-23 18:47:12 +00:00
tomas@poseidon.(none)
e437d7f382 forgot this in my previos changeset, 2004-08-23 17:10:23 +00:00
tomas@poseidon.(none)
c3f2f7426c further simplifications of ndb config and aligned usage of mysql datadir in ndb 2004-08-23 16:29:04 +00:00
mronstrom@mysql.com
9439f01448 Correct number of system table attributes 2004-08-23 17:37:04 +02:00
mronstrom@mysql.com
ee16667b0e 1) Default config is 1 frag per node
2) MAX_FRAG_PER_NODE separated from NO_OF_FRAG_PER_NODE and
takes into account large fragmentation
3) SUMA use config parameter instead of hard coded limit
2004-08-23 17:34:46 +02:00
mskold@mysql.com
c644595dac Fix for bug#5171 2004-08-23 17:24:03 +02:00
mronstrom@mysql.com
9f6828fa19 Removed 0.5M in unused construct in TRIX
Used proper config param for setting trigger pool size in TUP
Minimum long signal buffer set to 0.5M instead of 1M
2004-08-23 12:57:29 +02:00
mronstrom@mysql.com
3aeb3b426d Long signal buffer size configurable
Dbutil decreased memory footprint
Suma decreased memory footprint
(16M memory removed from default config)
2004-08-23 12:01:40 +02:00
joreland@mysql.com
51722e0293 wl2025 - bug fix for filter fail (tupkeyref) 2004-08-23 10:55:28 +02:00
joreland@mysql.com
eff1123fab merge 2004-08-22 21:42:52 +02:00
mronstrom@mysql.com
f324bdd1fa Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2025
into mysql.com:/Users/mikron/wl2025
2004-08-21 15:59:11 +02:00
mronstrom@mysql.com
2a1e36a89e Minor bug fix 2004-08-21 15:51:01 +02:00
mronstrom@mysql.com
e1c3651fe7 Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2056
into mysql.com:/Volumes/Backup1/wl2056
2004-08-21 15:21:29 +02:00
mronstrom@build.mysql.com
bb22a85a32 Merge build.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/mronstrom/wl2025
2004-08-21 15:17:10 +02:00
mronstrom@build.mysql.com
c4c6bb7e75 Merge build.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/mronstrom/wl2056
2004-08-21 15:11:47 +02:00
mronstrom@mysql.com
e227501fe8 Removed debug printouts 2004-08-21 14:22:42 +02:00
mronstrom@mysql.com
852a44e1d8 New config parameters for Log Page Buffers
Fixing issue with NO_OF_FRAG_PER_NODE
Also removed some OSE code no longer needed when configurable log pages
2004-08-21 13:14:27 +02:00
mronstrom@mysql.com
2a0caafc3f Minor changes for WL 2056 2004-08-21 09:57:59 +02:00
mronstrom@mysql.com
7c1eb26402 New config parameters
malloc -> NdbMem_Allocate
2004-08-21 09:16:50 +02:00
joreland@mysql.com
8c938872a2 variable scoop, compile fix 2004-08-20 22:18:39 +02:00
joreland@mysql.com
3145031ae1 removed debug printout 2004-08-20 21:07:08 +02:00
joreland@mysql.com
ae522cc19c Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1
2004-08-20 18:29:36 +02:00
tomas@poseidon.(none)
64fc12f3d2 compile error fixes for some platforms 2004-08-20 16:29:35 +00:00
tomas@poseidon.(none)
b4c8431c18 fix compile error on some platforms 2004-08-20 16:04:06 +00:00
tomas@poseidon.(none)
a71f1894d0 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1
2004-08-20 15:30:44 +00:00
tomas@poseidon.(none)
90fde3f48d small helptext fix 2004-08-20 15:29:54 +00:00
joreland@mysql.com
f02ebd6fcc bug#5128 - remove need of unique fs-path
bug#4761 - more validation of hosts
bug#4511 - only non depricated should be saved in config
         - fix ConfigInfo::BOOL w.r.t deprication
2004-08-20 15:58:30 +02:00
mronstrom@mysql.com
2f859587b8 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
2004-08-20 14:47:41 +02:00
mronstrom@mysql.com
4234a57f3f Compile fixes for Mac OS X 2004-08-20 14:43:23 +02:00
mskold@mysql.com
b4357f8381 Bugfix for bug#5072, removed table version in BLOB table name since this is incremented at alter table 2004-08-20 14:04:29 +02:00
tomas@poseidon.(none)
4ec4e2662b Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1-clean
2004-08-20 11:25:46 +00:00
tomas@poseidon.(none)
b2af364f71 fixed some help tests for ndb executables 2004-08-20 11:24:41 +00:00
tomas@poseidon.(none)
f3a3399e58 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.(none):/home/tomas/mysql-4.1
2004-08-20 10:39:25 +00:00
gluh@gluh.mysql.r18.ru
71a4f92cdc Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-4.1
2004-08-20 13:39:00 +04:00
gluh@gluh.mysql.r18.ru
83f78fd5d5 Resolving merging conflict 2004-08-20 12:33:52 +04:00
tomas@poseidon.(none)
70bca251cb fixes for some compile problems on some platforms 2004-08-19 15:01:44 +00:00
tomas@poseidon.(none)
e105c90f15 changed signal handler registration to fix some platform specific problems 2004-08-19 11:25:58 +00:00
mskold@mysql.com
59c9bcb366 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1-ndb
2004-08-19 11:13:49 +02:00
joreland@mysql.com
b9dbef8e23 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-08-19 10:37:47 +02:00
joreland@mysql.com
9c9812eb8c Merge joreland@bk-internal.mysql.com:wl2025
into mysql.com:/home/jonas/src/wl2025
2004-08-19 10:37:46 +02:00
tomas@poseidon.(none)
f9337ba947 Some platfom compile/build fixes for ndb 2004-08-19 08:24:27 +00:00
joreland@mysql.com
3023d0ddc1 Set correct error code 2004-08-19 08:03:54 +02:00
joreland@mysql.com
fe118d628f wl2025 - fix suma & backup
pluse remove "first_batch_size" and instead put
batch_size on next_scan_req
2004-08-19 07:43:06 +02:00
mskold@mysql.com
3e1493b84b Fix for WL#1731 Handler: multiple databases 2004-08-18 19:13:39 +02:00
tomas@poseidon.(none)
7c69afaf15 Added some explicit templates 2004-08-18 14:26:39 +00:00
tomas@poseidon.(none)
8706d60b53 Added some explicit templates 2004-08-18 12:15:02 +00:00
joreland@mysql.com
1965bb01e5 Merge joreland@bk-internal.mysql.com:/users/mronstrom/wl2025
into mysql.com:/home/jonas/src/wl2025
2004-08-18 12:04:21 +02:00
mronstrom@mysql.com
995ac87734 Added configuration parameters for batch size, batch byte size
and max scan batch size
Removed some debug printouts
2004-08-18 11:55:37 +02:00
joreland@mysql.com
e402f9ee3b Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/wl2025
2004-08-18 11:18:56 +02:00
mronstrom@mysql.com
607f7a6ebd 18 bits didn't fit into Uint16 2004-08-18 09:44:25 +02:00
joreland@mysql.com
26a30a7331 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-18 00:24:11 +02:00
joreland@mysql.com
51b696ebbc Make sure registers is 64-bit aligned 2004-08-18 00:19:47 +02:00
joreland@mysql.com
94189cb43b Don gather results for unallocated api's 2004-08-18 00:06:18 +02:00
joreland@mysql.com
1e2f7cfccf Use native format in interpreter -
(old code mixed the 3 alternatives: native, [lo, hi], [hi, lo])

This fixes problem with auto increment on different byte order

(This also make adding of signed ints really simple...)
2004-08-17 22:59:38 +02:00
mronstrom@mysql.com
f67262fd20 Fix bugs + include check of batch_byte_size and
use of first_batch_size
2004-08-17 17:55:47 +02:00
mronstrom@mysql.com
6f24d1eb29 Two level data access of operation i-value insted of huge fixed
size array.
Added a number of subroutines for this
2004-08-17 13:18:20 +02:00
mysqldev@mysql.com
f05b70cff5 Solaris fixes 2004-08-17 11:55:51 +02:00
joreland@mysql.com
95e56a1fd3 Limit testIndex CreateAll
Limit testBackup BackupOne
2004-08-17 09:29:00 +02:00
joreland@mysql.com
f5eb28f160 More testBackup fixes 2004-08-17 08:50:01 +02:00
joreland@mysql.com
38e210dc27 Fix testBackup 2004-08-17 07:48:13 +02:00
joreland@mysql.com
5821d2ea9e 1) Removed to hard require
2) Fix variable scope for irix compiler
2004-08-15 21:15:40 +02:00
joreland@mysql.com
f8778b2c56 Minor bugs 2004-08-15 20:44:41 +02:00
joreland@mysql.com
9f053d6426 Bug#4970 2004-08-15 14:26:08 +02:00
joreland@mysql.com
39d07e4e6b Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-13 17:11:52 +02:00
joreland@mysql.com
8b7bd89bef Fix apiConnectptr after execute direct 2004-08-13 17:10:08 +02:00
joreland@mysql.com
f75dcd9409 Dump core if VM_TRACE || ERROR_INSERT 2004-08-13 16:41:06 +02:00
joreland@mysql.com
40430a3fea Fix type for 4115 2004-08-13 16:37:19 +02:00
joreland@mysql.com
4e5db0cdba Bug fix for error insert 5038,
timeout in abort handling with more than 128 operations
2004-08-13 16:33:55 +02:00
joreland@mysql.com
df3c69f444 New error codes + automatic nulling of tvariables 2004-08-13 16:11:00 +02:00
mskold@mysql.com
7480f2dae4 Removed unused error code 2004-08-13 14:33:59 +02:00
mskold@mysql.com
7c6b884ef5 Added support for NULL in unique index 2004-08-13 13:51:18 +02:00
joreland@mysql.com
73e15672f4 Introduced system for automatic clearing of block global variables (VM_TRACE'd) 2004-08-13 09:53:21 +02:00
joreland@mysql.com
d971e4d490 Fix for diskless 2004-08-12 12:28:48 +02:00
joreland@mysql.com
8c8efefd08 Init signal before continueb 2004-08-12 11:35:42 +02:00
joreland@mysql.com
6be20d2c0a Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-12 11:09:03 +02:00
joreland@mysql.com
ccfad8ee42 testTransaction
Resources in SUMA
2004-08-12 10:36:44 +02:00
mskold@mysql.com
845c47a693 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1-ndb
2004-08-12 08:57:15 +02:00
joreland@mysql.com
6569393191 testScan -n ScanRandomTable
testDict -n FragmentType
2004-08-12 08:54:21 +02:00
gluh@gluh.mysql.r18.ru
c70eec403e Fix for bug #4307: bdb will not compile on FreeBSD 5 because of ancient awk
and some code clean up
2004-08-11 21:49:23 +04:00
mronstrom@mysql.com
99996ff398 Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2025
into mysql.com:/Users/mikron/wl2025
2004-08-11 17:40:57 +02:00
mronstrom@mysql.com
6fc580c025 Finalised first step of scan optimisations
Everything is working but a few things is still remaining
2004-08-11 17:36:31 +02:00
mskold@mysql.com
c1c3e31fb6 Fix for bug#4730 2004-08-11 15:06:17 +02:00
joreland@mysql.com
849d42afee Clear in chucks of 128k with watch_dog refresh in between 2004-08-11 14:49:28 +02:00
joreland@mysql.com
294958a707 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-11 12:38:11 +02:00
joreland@mysql.com
a9ab9d05f1 Default = memset(0) 2004-08-11 12:35:57 +02:00
mronstrom@build.mysql.com
8fd1954bbe Merge build.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/mronstrom/wl2025
2004-08-11 12:18:12 +02:00
mronstrom@mysql.com
e30e90fbda Fix of a nasty bug, small but hard to find
Some small printout fixes
2004-08-11 12:08:30 +02:00
joreland@mysql.com
87b22e8ac7 Add indexes to test toolkit 2004-08-11 10:03:43 +02:00