summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2007-05-18 11:34:57 +0200
committerunknown <jonas@perch.ndb.mysql.com>2007-05-18 11:34:57 +0200
commitdeba58ee928000a03f51afe29b67652104fdc444 (patch)
tree318d978f6f89b164b6be139d5a250f1e26673dfc /ndb
parenta5731933a1877dafad0783a226460067bd91bb70 (diff)
downloadmariadb-git-deba58ee928000a03f51afe29b67652104fdc444.tar.gz
ndb - bug#28443
review comment 2, atleast 1 signal need for test prg ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: review comment, atleast 1 signal need
Diffstat (limited to 'ndb')
-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 c5f1ba2575a..75a6117ce08 100644
--- a/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+++ b/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
@@ -175,7 +175,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;