summaryrefslogtreecommitdiff
path: root/ndb/src
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2007-05-18 11:40:07 +0200
committerunknown <jonas@perch.ndb.mysql.com>2007-05-18 11:40:07 +0200
commit7514d2f75531003351f3b7bb955bfb15e3ca9ca2 (patch)
treee8aba155b44d1e2060adbe54648e93056c4239be /ndb/src
parent27d82d38c4d3b9276a6103b2e814bd7b61bb9f17 (diff)
parentbe77fa2853cb7b5728b7b805caaa341fb4169122 (diff)
downloadmariadb-git-7514d2f75531003351f3b7bb955bfb15e3ca9ca2.tar.gz
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Auto merged
Diffstat (limited to 'ndb/src')
-rw-r--r--ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp b/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
index 953346de1df..1b5e7a27a0c 100644
--- a/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+++ b/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
@@ -172,7 +172,7 @@ void Cmvmi::execNDB_TAMPER(Signal* signal)
}
else
{
- MAX_RECEIVED_SIGNALS = rand() % 128;
+ MAX_RECEIVED_SIGNALS = 1 + (rand() % 128);
}
ndbout_c("MAX_RECEIVED_SIGNALS: %d", MAX_RECEIVED_SIGNALS);
CLEAR_ERROR_INSERT_VALUE;