jonas@perch.ndb.mysql.com
4b8baaaed1
ndb - bug#29044
...
Improve buddy high order allocation
Make removeCommonArea O(1) instead of O(N)
Add limit to left/right search
2007-06-12 09:13:42 +02:00
tomas@whalegate.ndb.mysql.com
0b58af0911
make function static
2007-06-11 17:50:39 +02:00
tomas@whalegate.ndb.mysql.com
5556ec7cef
change include file
2007-06-11 17:28:52 +02:00
tomas@whalegate.ndb.mysql.com
352e93df73
internal interface to ndb (to be used by e.g. ndb_restore)
2007-06-11 17:19:20 +02:00
pekka@clam.ndb.mysql.com/ndb15.mysql.com
03fc4e6ca0
ndb - bug#28724 for blobs, op flag to not set error on trans (fix, recommit)
2007-06-08 12:27:52 +02:00
svoj@mysql.com/june.mysql.com
a1529d92d1
BUG#26976 - Missing table in merge not noted in related error msg +
...
SHOW CREATE TABLE fails
After merge fixes.
2007-06-08 11:20:50 +05:00
svoj@june.mysql.com
d0a044a0bf
Merge mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.0-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.1-engines
2007-06-07 13:53:23 +05:00
tomas@whalegate.ndb.mysql.com
016cf69867
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-build
2007-06-06 16:51:04 +02:00
istruewing@chilla.local
a28abc0554
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into chilla.local:/home/mydev/mysql-5.1-axmrg
2007-06-05 21:40:46 +02:00
tomas@poseidon.mysql.com
8fd5212a9f
Merge poseidon.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-06-05 18:00:42 +02:00
tomas@poseidon.mysql.com
ce93bc3d13
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca
...
into poseidon.mysql.com:/home/tomas/mysql-5.1-telco-gca
2007-06-05 17:51:53 +02:00
tomas@poseidon.mysql.com
47d5fb91d2
Bug #28751 Lots of memory locked in memory causes high kswapd
...
- add odirect option for lcp+backup+redo log to lower CPU/kswapd usage
- writing odirect removes need for kernel write buffers avoiding kswapd to kick in
2007-06-05 17:29:50 +02:00
tomas@poseidon.mysql.com
8c35f44b21
Bug #28899 not possible to set separate watchdog timeout at startup
2007-06-05 17:06:33 +02:00
tomas@whalegate.ndb.mysql.com
c5e13ae053
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-build
2007-06-04 22:23:14 +02:00
jonas@perch.ndb.mysql.com
50d2a6de0c
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-06-04 11:59:14 +02:00
jonas@perch.ndb.mysql.com
130667233a
ndb - bug#28726
...
make sure to remove LCP files aswell if specifying --initial
2007-06-04 11:58:25 +02:00
joerg@trift2.
d822cf03e5
Merge trift2.:/MySQL/M51/mysql-5.1
...
into trift2.:/MySQL/M51/push-5.1
2007-06-04 11:24:49 +02:00
jonas@perch.ndb.mysql.com
79da61069b
ndb -
...
update dl145a config for autotest
2007-06-04 10:32:32 +02:00
jonas@perch.ndb.mysql.com
eab3e836e8
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-06-04 10:29:57 +02:00
jonas@perch.ndb.mysql.com
b8e43a1d9d
ndb - make size of redo log files (fragment log files) configurable
...
using new config variable FragmentLogFileSize (4M - 1G)
2007-06-04 10:27:10 +02:00
tomas@whalegate.ndb.mysql.com
4ef92c285b
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-build
2007-06-03 19:41:14 +02:00
tomas@whalegate.ndb.mysql.com
7523452de1
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-06-03 19:31:53 +02:00
tomas@whalegate.ndb.mysql.com
8a9bf13922
Bug#20612.
2007-06-03 19:30:37 +02:00
tomas@whalegate.ndb.mysql.com
eb5fd16e59
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-build
2007-06-02 06:33:18 +02:00
kostja@bodhi.(none)
16633169e4
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into bodhi.(none):/opt/local/work/mysql-5.1-runtime
2007-06-01 12:12:06 +04:00
istruewing@chilla.local
4ba6a0fb7e
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into chilla.local:/home/mydev/mysql-5.1-axmrg
2007-05-31 21:28:04 +02:00
jani@a88-113-38-195.elisa-laajakaista.fi
2c8f4f9791
Added casts to avoid compiler warnings and fixed a wrong type.
...
---
Added casts and fixed wrong type.
---
Added casts and fixed wrong type.
---
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-marvel
into a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
---
Don't give warning that readonly variable is forced to be readonly
mysql-test-run run now fails if we have [Warning] and [ERROR] as tags in .err file
Fixed wrong reference to the mysql manual
Fixed wrong prototype that caused some tests to fail on 64 bit platforms
---
Disabled compiler warnings mainly for Win 64.
---
Added casts to remove compiler warnings on windows
Give warnings also for safe_mutex errors found by test system
Added some warnings from different machines in pushbuild
---
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-marvel
into mysql.com:/home/my/mysql-5.1
---
Added escapes for double quotes and parenthesis.
---
Archive db fix plus added non-critical warnings
in ignore list.
---
Fixed previously added patch and added new ignored warning.
2007-05-31 17:45:22 +03:00
tomas@whalegate.ndb.mysql.com
4605e9e5a9
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-30 17:32:20 +02:00
tomas@whalegate.ndb.mysql.com
fa3c9a0694
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
2007-05-30 17:30:18 +02:00
tomas@whalegate.ndb.mysql.com
44fc6a9288
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-30 12:36:33 +02:00
tomas@whalegate.ndb.mysql.com
a0cfb015a7
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
2007-05-30 12:35:00 +02:00
tomas@whalegate.ndb.mysql.com
882535f4c2
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-30 09:02:51 +02:00
tomas@whalegate.ndb.mysql.com
2c3c36dfe6
shorten some files for tar to work
2007-05-29 23:39:57 +02:00
tomas@whalegate.ndb.mysql.com
f43bbc123d
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
2007-05-29 09:39:57 +02:00
tomas@whalegate.ndb.mysql.com
c9e5509fcb
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-29 09:29:51 +02:00
jonas@perch.ndb.mysql.com
151e4f4534
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-29 07:23:39 +02:00
jonas@perch.ndb.mysql.com
226ef1ed22
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2007-05-29 07:20:32 +02:00
jonas@perch.ndb.mysql.com
dc65597952
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2007-05-29 07:18:44 +02:00
tomas@whalegate.ndb.mysql.com
75ec66e13e
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-28 16:35:37 +02:00
tomas@whalegate.ndb.mysql.com
eb1ab68600
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
2007-05-28 16:32:50 +02:00
tomas@whalegate.ndb.mysql.com
8ea3aeb11b
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-28 16:14:52 +02:00
tomas@whalegate.ndb.mysql.com
06a2aab79e
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
2007-05-28 16:06:34 +02:00
mskold/marty@linux.site
9ad3721e95
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb
...
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
2007-05-28 15:00:18 +02:00
tomas@whalegate.ndb.mysql.com
248c4ac946
Bug #28653 Fast GCP + high load + high RedoBuffer causes ndbrequire
...
- correction, backport to 5.0
2007-05-28 13:05:05 +02:00
tomas@whalegate.ndb.mysql.com
8c3eb6c272
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-28 13:00:09 +02:00
mats@kindahl-laptop.dnsalias.net
9a92325c02
WL#3303 (RBR: Engine-controlled logging format):
...
Adding support to allow engines to tell what formats they can handle.
The server will generate an error if it is not possible to log the
statement according to the logging mode in effect.
Adding flags to several storage engines to state what they can handle.
Changes to NDB handler removing code that forces row-based mode and
adding flag saying that NDB can only handle row format.
Adding check that binlog flags are only used for real tables that are
opened for writing.
2007-05-28 12:50:29 +02:00
tomas@whalegate.ndb.mysql.com
d5303f4aef
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-28 12:22:21 +02:00
tomas@whalegate.ndb.mysql.com
3850902ad1
Bug #28525 Node failures in PGMAN at ndbrequire (line 430)
...
(part 2)
2007-05-28 12:20:34 +02:00
svoj@mysql.com/june.mysql.com
5d71c2f885
BUG#18839 - return value of parser->parse() is ignored
...
Check value returned by parser->parse(). Better handle situations
when it fails.
2007-05-28 13:27:26 +05:00
lars/lthalmann@dl145h.mysql.com
95068ddacb
Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl
...
into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
2007-05-28 09:25:40 +02:00
tomas@whalegate.ndb.mysql.com
98b4d7a810
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-25 12:26:11 +02:00
tomas@whalegate.ndb.mysql.com
d259028183
Bug #28525 Node failures in PGMAN at ndbrequire (line 430)
2007-05-25 12:25:15 +02:00
tomas@whalegate.ndb.mysql.com
28769b0f25
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-24 21:02:44 +02:00
jani@linux-th5m.site
ee4d6b4fc0
Merged from main 5.1
2007-05-24 19:47:58 +03:00
tomas@whalegate.ndb.mysql.com
1b7e33d8f4
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
2007-05-24 17:01:16 +02:00
tomas@whalegate.ndb.mysql.com
fe8db78b9a
Bug #28653 Fast GCP + high load + high RedoBuffer causes ndbrequire
...
- correction, use recomputed _actual_ redobuffer
2007-05-24 16:50:38 +02:00
tomas@whalegate.ndb.mysql.com
39aa3e99ea
Bug #28653 Fast GCP + high load + high RedoBuffer causes ndbrequire
...
- parameterize on RedoBuffer
2007-05-24 16:40:05 +02:00
jani@linux-th5m.site
f1807e1f25
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into linux-th5m.site:/home/my/mysql-5.1-marvel
2007-05-24 15:26:10 +03:00
jani@a88-113-38-195.elisa-laajakaista.fi
fc3b3a0a86
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
2007-05-24 13:24:36 +03:00
lars/lthalmann@dl145h.mysql.com
8b1deb28bf
Merge mysql.com:/nfsdisk1/lars/bk/mysql-5.0-rpl
...
into mysql.com:/nfsdisk1/lars/bk/mysql-5.1-new-rpl
2007-05-24 09:07:35 +02:00
svoj@june.mysql.com
442969fd16
Merge mysql.com:/home/svoj/devel/bk/mysql-5.1
...
into mysql.com:/home/svoj/devel/mysql/merge/mysql-5.1-engines
2007-05-23 12:41:30 +05:00
tomas@whalegate.ndb.mysql.com
a4934466c0
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-22 23:21:32 +02:00
tomas@whalegate.ndb.mysql.com
2c715f1ad4
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-22 17:57:48 +02:00
tomas@whalegate.ndb.mysql.com
b46c826aee
Bug #28593 cluster backup scans in acc index order, bad for disk data
...
- change to scan in tup and disk order (if applicable)
2007-05-22 17:53:07 +02:00
tsmith@quadxeon.mysql.com
672237f5b5
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/51
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-05-21 20:51:31 +02:00
tomas@whalegate.ndb.mysql.com
ffe2982b99
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-21 09:01:06 +02:00
tomas@whalegate.ndb.mysql.com
a2b2bbd925
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-21 08:48:33 +02:00
jonas@perch.ndb.mysql.com
be3342cf7c
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-18 11:37:30 +02:00
jonas@perch.ndb.mysql.com
2c60a173ab
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2007-05-18 11:36:24 +02:00
jonas@perch.ndb.mysql.com
f975b3e398
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-18 11:16:47 +02:00
jonas@perch.ndb.mysql.com
2457643b40
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2007-05-18 11:10:04 +02:00
jonas@perch.ndb.mysql.com
fbc43bf607
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-18 10:10:20 +02:00
jonas@perch.ndb.mysql.com
1cf5735058
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2007-05-18 10:00:10 +02:00
tsmith@siva.hindu.god
33181d075c
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
...
into siva.hindu.god:/home/tsmith/m/bk/maint/51
2007-05-17 14:24:02 -06:00
tsmith@siva.hindu.god
4a4590cd49
Merge siva.hindu.god:/home/tsmith/m/bk/51
...
into siva.hindu.god:/home/tsmith/m/bk/maint/51
2007-05-17 14:21:35 -06:00
dkatz@damien-katzs-computer.local
da10c5dd0b
Merge damien-katzs-computer.local:/Users/dkatz/mysql50
...
into damien-katzs-computer.local:/Users/dkatz/mysql51
2007-05-17 16:18:35 -04:00
jonas@perch.ndb.mysql.com
0161ba4893
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-17 08:57:03 +02:00
jonas@perch.ndb.mysql.com
1aec91bd1c
ndb - bug#28491
...
disable "disable expand check" as it does not solve problems anyway
2007-05-17 08:54:30 +02:00
svoj@april.(none)
820651cd53
Merge mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-5.0-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-5.1-engines
2007-05-17 02:16:31 +05:00
kostja@vajra.(none)
e4a3189c4f
Comment fix.
2007-05-16 17:19:59 +04:00
tomas@whalegate.ndb.mysql.com
277a5a50b5
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-15 13:04:49 +02:00
tomas@whalegate.ndb.mysql.com
84f24ce0f8
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-15 12:08:09 +02:00
tomas@whalegate.ndb.mysql.com
db3fcd8a89
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-15 12:05:20 +02:00
tomas@whalegate.ndb.mysql.com
f527479f8c
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-15 09:54:42 +02:00
jonas@perch.ndb.mysql.com
7e8cc53abe
ndb - bug#24631
...
add Dbdict::restartDropObj*
2007-05-15 09:08:16 +02:00
tomas@whalegate.ndb.mysql.com
60e28cc9aa
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-15 08:36:21 +02:00
jonas@perch.ndb.mysql.com
836597bbc3
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-14 10:39:46 +02:00
jonas@perch.ndb.mysql.com
1305016bdc
ndb - bug#28348
...
remove LCP files when dropping table
2007-05-14 10:34:21 +02:00
istruewing@chilla.local
e2fa2becfc
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into chilla.local:/home/mydev/mysql-5.1-bug17332
2007-05-10 17:30:50 +02:00
monty@mysql.com/narttu.mysql.fi
088e2395f1
WL#3817: Simplify string / memory area types and make things more consistent (first part)
...
The following type conversions was done:
- Changed byte to uchar
- Changed gptr to uchar*
- Change my_string to char *
- Change my_size_t to size_t
- Change size_s to size_t
Removed declaration of byte, gptr, my_string, my_size_t and size_s.
Following function parameter changes was done:
- All string functions in mysys/strings was changed to use size_t
instead of uint for string lengths.
- All read()/write() functions changed to use size_t (including vio).
- All protocoll functions changed to use size_t instead of uint
- Functions that used a pointer to a string length was changed to use size_t*
- Changed malloc(), free() and related functions from using gptr to use void *
as this requires fewer casts in the code and is more in line with how the
standard functions work.
- Added extra length argument to dirname_part() to return the length of the
created string.
- Changed (at least) following functions to take uchar* as argument:
- db_dump()
- my_net_write()
- net_write_command()
- net_store_data()
- DBUG_DUMP()
- decimal2bin() & bin2decimal()
- Changed my_compress() and my_uncompress() to use size_t. Changed one
argument to my_uncompress() from a pointer to a value as we only return
one value (makes function easier to use).
- Changed type of 'pack_data' argument to packfrm() to avoid casts.
- Changed in readfrm() and writefrom(), ha_discover and handler::discover()
the type for argument 'frmdata' to uchar** to avoid casts.
- Changed most Field functions to use uchar* instead of char* (reduced a lot of
casts).
- Changed field->val_xxx(xxx, new_ptr) to take const pointers.
Other changes:
- Removed a lot of not needed casts
- Added a few new cast required by other changes
- Added some cast to my_multi_malloc() arguments for safety (as string lengths
needs to be uint, not size_t).
- Fixed all calls to hash-get-key functions to use size_t*. (Needed to be done
explicitely as this conflict was often hided by casting the function to
hash_get_key).
- Changed some buffers to memory regions to uchar* to avoid casts.
- Changed some string lengths from uint to size_t.
- Changed field->ptr to be uchar* instead of char*. This allowed us to
get rid of a lot of casts.
- Some changes from true -> TRUE, false -> FALSE, unsigned char -> uchar
- Include zlib.h in some files as we needed declaration of crc32()
- Changed MY_FILE_ERROR to be (size_t) -1.
- Changed many variables to hold the result of my_read() / my_write() to be
size_t. This was needed to properly detect errors (which are
returned as (size_t) -1).
- Removed some very old VMS code
- Changed packfrm()/unpackfrm() to not be depending on uint size
(portability fix)
- Removed windows specific code to restore cursor position as this
causes slowdown on windows and we should not mix read() and pread()
calls anyway as this is not thread safe. Updated function comment to
reflect this. Changed function that depended on original behavior of
my_pwrite() to itself restore the cursor position (one such case).
- Added some missing checking of return value of malloc().
- Changed definition of MOD_PAD_CHAR_TO_FULL_LENGTH to avoid 'long' overflow.
- Changed type of table_def::m_size from my_size_t to ulong to reflect that
m_size is the number of elements in the array, not a string/memory
length.
- Moved THD::max_row_length() to table.cc (as it's not depending on THD).
Inlined max_row_length_blob() into this function.
- More function comments
- Fixed some compiler warnings when compiled without partitions.
- Removed setting of LEX_STRING() arguments in declaration (portability fix).
- Some trivial indentation/variable name changes.
- Some trivial code simplifications:
- Replaced some calls to alloc_root + memcpy to use
strmake_root()/strdup_root().
- Changed some calls from memdup() to strmake() (Safety fix)
- Simpler loops in client-simple.c
2007-05-10 12:59:39 +03:00
mikael@dator3.(none)
80bd7f4ec6
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into dator3.(none):/home/mikael/mysql_clones/rt-5.1
2007-05-10 09:08:34 +02:00
tomas@whalegate.ndb.mysql.com
19a2814f47
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-opt
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-10 08:06:09 +02:00
mskold/marty@mysql.com/linux.site
11e98f4126
Ndb.hpp, Ndb.cpp, ha_ndbcluster.cc:
...
Bug#26342 auto_increment_increment AND auto_increment_offset REALLY REALLY anger NDB cluster, implemented support for auto_increment_offset and auto_increment
2007-05-09 17:09:06 +02:00
tomas@whalegate.ndb.mysql.com
a84d2971fc
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-09 15:04:45 +02:00
tomas@whalegate.ndb.mysql.com
73306167ca
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-05-09 12:52:23 +02:00
acurtis/antony@xiphis.org/ltamd64.xiphis.org
23b1ce1e06
Bug#26241
...
"Blackhole tables don't honor table locks"
Implement neccessary shared lock structure for table locks.
Imported test case created by Giuseppe Maxia
2007-05-08 17:16:34 -07:00
jonas@perch.ndb.mysql.com
0f29fa28af
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-05-08 15:10:18 +02:00
jonas@perch.ndb.mysql.com
de3070265d
ndb - bug#20535
...
set null bits on delete+insert
2007-05-08 14:59:57 +02:00
mikron@mikael-ronstr-ms-dator.local
927228a99a
Merge mikael@192.168.0.203:/home/mikael/mysql_clones/rt-5.1
...
into mikael-ronstr-ms-dator.local:/Users/mikron/mysql_clones/mysql-5.1-ndb
2007-05-08 10:15:50 +02:00
gni@dev3-221.dev.cn.tlan
305d0eaf02
Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-new-ndb-bj
...
into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-new-ndb
2007-05-08 09:52:27 +08:00