summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorjonas@perch.ndb.mysql.com <>2006-08-01 17:04:29 +0200
committerjonas@perch.ndb.mysql.com <>2006-08-01 17:04:29 +0200
commitbcc9faee441034b7011ec6e02199603a13952089 (patch)
tree274ba1e6009c192129c09de5fa684c57d6ce4d45 /ndb
parentcdce8b10667a1a4140da0fb78279606e03252a10 (diff)
parent19be75811e9132c46ea4a021188e17592e34c798 (diff)
downloadmariadb-git-bcc9faee441034b7011ec6e02199603a13952089.tar.gz
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
into perch.ndb.mysql.com:/home/jonas/src/50-work
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/kernel/blocks/dbdih/DbdihMain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp b/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
index 03731b60fe5..4ca4e15111c 100644
--- a/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+++ b/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
@@ -8262,7 +8262,8 @@ void Dbdih::openingTableErrorLab(Signal* signal, FileRecordPtr filePtr)
else
{
char buf[256];
- BaseString::snprintf(buf, "Error opening DIH schema files for table: %d",
+ BaseString::snprintf(buf, sizeof(buf),
+ "Error opening DIH schema files for table: %d",
tabPtr.i);
progError(__LINE__, NDBD_EXIT_AFS_NO_SUCH_FILE, buf);
}