Kent Boortz
94cde4c951
Merge
2010-12-29 01:26:31 +01:00
Kent Boortz
920d185fd8
Merge
2010-12-29 00:47:05 +01:00
Davi Arnaut
c1545bec1e
Bug#42733: Type-punning warnings when compiling MySQL
...
Post-merge fix: remove remaining casts which are now
unnecessary and are actually causing warnings.
2010-07-24 09:24:44 -03:00
Davi Arnaut
a10ae35328
Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled
...
Essentially, the problem is that safemalloc is excruciatingly
slow as it checks all allocated blocks for overrun at each
memory management primitive, yielding a almost exponential
slowdown for the memory management functions (malloc, realloc,
free). The overrun check basically consists of verifying some
bytes of a block for certain magic keys, which catches some
simple forms of overrun. Another minor problem is violation
of aliasing rules and that its own internal list of blocks
is prone to corruption.
Another issue with safemalloc is rather the maintenance cost
as the tool has a significant impact on the server code.
Given the magnitude of memory debuggers available nowadays,
especially those that are provided with the platform malloc
implementation, maintenance of a in-house and largely obsolete
memory debugger becomes a burden that is not worth the effort
due to its slowness and lack of support for detecting more
common forms of heap corruption.
Since there are third-party tools that can provide the same
functionality at a lower or comparable performance cost, the
solution is to simply remove safemalloc. Third-party tools
can provide the same functionality at a lower or comparable
performance cost.
The removal of safemalloc also allows a simplification of the
malloc wrappers, removing quite a bit of kludge: redefinition
of my_malloc, my_free and the removal of the unused second
argument of my_free. Since free() always check whether the
supplied pointer is null, redudant checks are also removed.
Also, this patch adds unit testing for my_malloc and moves
my_realloc implementation into the same file as the other
memory allocation primitives.
2010-07-08 18:20:08 -03:00
Alexander Nozdrin
091bcacc79
Another incarnation of the patch for Bug#30708
...
(make relies GNU extentions). The patch was partially
backport from 6.0.
Original comment:
bug#30708: make relies GNU extensions. Now that we no longer use
BitKeeper we can safely remove the SCCS handling with no loss of
functionality.
2010-05-19 17:00:23 +04:00
jonas@perch.ndb.mysql.com
29f3323e00
ndb -
...
fix failing autotest-test
2008-02-08 16:42:17 +01:00
jonas@perch.ndb.mysql.com
83b4c04a51
ndb - bug#34216
...
testcases
2008-02-06 11:28:43 +01:00
pekka@sama.ndb.mysql.com
55712dc827
Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb
...
into sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb
2008-02-04 12:05:23 +01:00
jmiller/root@ndbqa01.mysql.com
0848f193ad
Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into mysql.com:/usr/clones/mysql-5.1-new-ndb2
2008-02-01 13:51:55 -06:00
jmiller/root@mysql.com/ndbqa01.mysql.com
e57f55d497
NdbRepStress.cpp:
...
Updated with new support function from Magnus push to dbutil
2008-02-01 13:51:04 -06:00
pekka@sama.ndb.mysql.com
f67d3aa67e
Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107
...
into sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug34107
2008-01-31 23:46:07 +01:00
pekka@sama.ndb.mysql.com
fc35175806
Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug31477
...
into sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug31477
2008-01-28 03:14:29 +01:00
tomas@whalegate.ndb.mysql.com
f02562b7fb
Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-bj
2008-01-23 14:42:58 +01:00
jonas@perch.ndb.mysql.com
47f379d2f1
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2008-01-23 10:28:30 +01:00
jonas@perch.ndb.mysql.com
94378f9189
Merge perch.ndb.mysql.com:/home/jonas/src/50-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2008-01-23 10:11:40 +01:00
msvensson@shellback.(none)
ddf645b19c
Add SqlResultSet
2008-01-18 22:55:02 +01:00
jonas@perch.ndb.mysql.com
717f56e792
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2008-01-11 09:43:29 +01:00
jonas@perch.ndb.mysql.com
5667ee2598
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2008-01-11 09:31:55 +01:00
jonas@perch.ndb.mysql.com
07a1ec18eb
ndb - bug#33793
...
dont assume that page is "all empty"
only as gci is acked, as release_gci might not have processed it yet
2008-01-11 09:20:16 +01:00
jmiller/ndbdev@mysql.com/ndb15.mysql.com
1a2cb7fb79
Makefile.am:
...
Updated to build NdbRepStress
2008-01-10 19:07:24 +01:00
gni@dev3-221.dev.cn.tlan
43f31db546
Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-new-ndb
...
into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-new-ndb-bj
2008-01-10 19:49:32 +08:00
jmiller/ndbdev@mysql.com/ndb15.mysql.com
3677a2dd90
NdbRepStress.cpp:
...
More code improvments
2008-01-09 19:01:31 +01:00
jmiller/ndbdev@mysql.com/ndb15.mysql.com
8b4a191645
DbUtil.hpp, DbUtil.cpp, NdbRepStress.cpp:
...
More code improvments
2008-01-09 18:54:32 +01:00
jmiller/ndbdev@mysql.com/ndb15.mysql.com
4c8a24682c
NdbRepStress.cpp:
...
Updated with suggestions from Magnus and other fixes and adjustments I found along the way
DbUtil.hpp, DbUtil.cpp:
fixes and adjustments I found along the way
2008-01-08 23:34:30 +01:00
jonas@perch.ndb.mysql.com
42cfaa616a
ndb - testNodeRestart -n Bug27466 T1
...
make local INCL_NODEREQ/CONF more robust (to remove testprg introduced race, error insert causes 5s delay)
2007-12-03 14:31:17 +01:00
jonas@perch.ndb.mysql.com
d3b81c3e6d
ndb - bug#22696
...
Fix handling of multiple redo phases
- set correct state
- handle 4 phases, by moving START_FRAGCONF to end of phase instead of beginning...
2007-11-19 10:47:26 +01:00
lzhou/zhl@dev3-63.(none)
04799ddbd9
BUG#29186 Return error to client in the following condition:
...
1: Create a log file which is larger than 4G in 32-bit host.
2: Create a data file (tablespace) which is larger than 4G in 32-bit host.
2007-11-12 14:53:25 +00:00
jonas@perch.ndb.mysql.com
574bce49b8
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-11-09 10:55:58 +01:00
jmiller/ndbdev@mysql.com/ndb13.mysql.com
7276679bc9
testDict.cpp:
...
Updated DropDDObjects in testDict to ignore the user tables created in the MySQL database
2007-11-08 15:05:38 +01:00
jonas@perch.ndb.mysql.com
4a4425cccc
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-11-08 10:17:09 +01:00
jonas@perch.ndb.mysql.com
ac1dc64ebb
ndb - bug#26450
...
partial backport from 6.2 + add fix of bug
2007-10-23 11:24:34 +02:00
jonas@perch.ndb.mysql.com
9cd83c5365
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-19 21:25:07 +02:00
jonas@perch.ndb.mysql.com
5cf8e94bf8
ndb - bug#31701 Node failure with repl. wo/ load, can lead to endless out of order buckets
...
Correct check for buffer/no buffer
2007-10-18 23:21:18 +02:00
jonas@perch.ndb.mysql.com
dcb7fce7eb
Merge perch.ndb.mysql.com:/home/jonas/src/51-simple-read
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-15 11:35:30 +02:00
jonas@perch.ndb.mysql.com
5aacf8b775
ndb - bug#31482
...
(re)impl. simple-read (read that releases lock just before LQHKEYCONF)
use simple-read for blobs
2007-10-15 09:10:14 +02:00
jonas@perch.ndb.mysql.com
15157cd7f5
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-14 18:48:10 +02:00
jonas@perch.ndb.mysql.com
f28e73ae4c
ndb - testScan -n InsertDelete
...
fix testcase
2007-10-14 18:42:49 +02:00
jonas@perch.ndb.mysql.com
af5da7057d
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-11 15:50:56 +02:00
jonas@perch.ndb.mysql.com
3465c5bc58
ndb - bug#31525
...
Fix bug regarding node that missed 2 LCP's (that was not included in next LCP after SR)
2007-10-11 14:54:05 +02:00
jonas@perch.ndb.mysql.com
fd4b607f86
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-09 10:43:44 +02:00
jonas@perch.ndb.mysql.com
c9f7d22437
ndb - more test prg fixes (due to small change in scanUpdates impl.)
...
(autotest tests)
2007-10-09 10:41:26 +02:00
jonas@perch.ndb.mysql.com
167d5cf01e
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-09 09:58:17 +02:00
jonas@perch.ndb.mysql.com
1d1b95f07e
ndb - testSystemRestart -n SR_UNDO
...
yet another test prg bug
2007-10-09 09:55:30 +02:00
jonas@perch.ndb.mysql.com
3cd048fce8
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-08 15:22:25 +02:00
jonas@perch.ndb.mysql.com
2890430e44
ndb - fix bug in old test prg(s)
...
fix SR1 and SR2
2007-10-08 15:07:58 +02:00
jmiller/root@ndbqa01.mysql.com
7e7413e6b6
Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into mysql.com:/usr/clones/mysql-5.1-new-ndb
2007-10-02 18:49:40 -05:00
jonas@perch.ndb.mysql.com
40c83d3285
ndb - bug#30975
...
add even more tests
2007-09-29 11:10:12 +02:00
jonas@perch.ndb.mysql.com
a937ab0abf
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-09-28 10:14:05 +02:00
jonas@perch.ndb.mysql.com
b62d7a318e
ndb - add new testcases/error insert bug#30975
...
(recommit for correct merge order)
2007-09-28 09:58:56 +02:00
jonas@perch.ndb.mysql.com
d1c8dc8320
ndb - merge error code(s)
2007-09-03 11:29:58 +02:00