summaryrefslogtreecommitdiff
path: root/storage/maria/ma_test3.c
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot4.local>2007-07-27 16:11:40 +0200
committerunknown <guilhem@gbichot4.local>2007-07-27 16:11:40 +0200
commit9b1e83dba732896f606181b21becc3b0144a91ec (patch)
treea0619e1fbc1ba2db8d69fce1d2aba7fc3986e84f /storage/maria/ma_test3.c
parenta3d2ae4648d739a7ec7820e22c05373fde65b770 (diff)
downloadmariadb-git-9b1e83dba732896f606181b21becc3b0144a91ec.tar.gz
porting Serg's fix for BUG#30094 to Maria. Now ma_test_all passes.
maria.test and ps_maria.test still fail. mysys/mf_keycache.c: split string annoys some compilers storage/maria/ha_maria.cc: fix for compiler warnings storage/maria/ma_test1.c: porting Serg's fix for BUG#30094 to Maria storage/maria/ma_test2.c: porting Serg's fix for BUG#30094 to Maria storage/maria/ma_test3.c: porting Serg's fix for BUG#30094 to Maria storage/maria/ma_test_recovery: don't print ma_test1's messages if no problem
Diffstat (limited to 'storage/maria/ma_test3.c')
-rw-r--r--storage/maria/ma_test3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/maria/ma_test3.c b/storage/maria/ma_test3.c
index 948ba09aa24..c25dd5dcdc6 100644
--- a/storage/maria/ma_test3.c
+++ b/storage/maria/ma_test3.c
@@ -243,7 +243,7 @@ int test_read(MARIA_HA *file,int id)
{
find=rnd(100000);
if (!maria_rkey(file,record.id,1,(uchar*) &find,
- sizeof(find),HA_READ_KEY_EXACT))
+ HA_WHOLE_KEY,HA_READ_KEY_EXACT))
found++;
else
{
@@ -426,7 +426,7 @@ int test_update(MARIA_HA *file,int id,int lock_type)
tmp=rnd(100000);
int4store(find,tmp);
if (!maria_rkey(file,record.id,1,(uchar*) find,
- sizeof(find),HA_READ_KEY_EXACT))
+ HA_WHOLE_KEY,HA_READ_KEY_EXACT))
found++;
else
{