summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-06-16 14:06:44 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-06-16 14:06:44 +0000
commit7f7c311b73d2f65fa67b97e7a7af9dd510ae92d6 (patch)
tree52223c29492d1d2f27d2506ffb4dbb3b1e1c0b91
parent52be66a2c9ff03a5e2f8ac4e8cc73bb7fce1c23b (diff)
downloadmariadb-git-7f7c311b73d2f65fa67b97e7a7af9dd510ae92d6.tar.gz
cxx compile fix for ndb
-rw-r--r--ndb/src/common/debugger/signaldata/CreateTrig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/common/debugger/signaldata/CreateTrig.cpp b/ndb/src/common/debugger/signaldata/CreateTrig.cpp
index d8360dec4d5..ddd45080cba 100644
--- a/ndb/src/common/debugger/signaldata/CreateTrig.cpp
+++ b/ndb/src/common/debugger/signaldata/CreateTrig.cpp
@@ -87,7 +87,7 @@ bool printCREATE_TRIG_REQ(FILE * output, const Uint32 * theData, Uint32 len, Uin
fprintf(output, "Monitor all attributes: %s ", (sig->getMonitorAllAttributes())?"true":"false");
const AttributeMask& attributeMask = sig->getAttributeMask();
- char buf[attributeMask.TextLength + 1];
+ char buf[MAXNROFATTRIBUTESINWORDS * 8 + 1];
fprintf(output, "Attribute mask: %s", attributeMask.getText(buf));
fprintf(output, "\n");