summaryrefslogtreecommitdiff
path: root/ndb/include
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-05-19 20:38:48 +0200
committerunknown <msvensson@neptunus.(none)>2005-05-19 20:38:48 +0200
commit384456fc10c124d767e2d94bba4f59d8afc9ee4f (patch)
tree6ceb697d9663c57ba7137b9a23006ada29920e9e /ndb/include
parent3bd46ad8d2b05a11f9f24a5108b2077a7bb406a6 (diff)
downloadmariadb-git-384456fc10c124d767e2d94bba4f59d8afc9ee4f.tar.gz
BUG#9626 valgrind warnings
- after review fixes mysql-test/r/ndb_basic.result: Test using table with long name mysql-test/t/ndb_basic.test: Test using table with long name ndb/include/transporter/TransporterDefinitions.hpp: Define constant for max section size ndb/src/ndbapi/NdbDictionaryImpl.cpp: Add check for not sending too long table name to ndb kernel
Diffstat (limited to 'ndb/include')
-rw-r--r--ndb/include/transporter/TransporterDefinitions.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/include/transporter/TransporterDefinitions.hpp b/ndb/include/transporter/TransporterDefinitions.hpp
index 18d1ec76a3c..43af6749a85 100644
--- a/ndb/include/transporter/TransporterDefinitions.hpp
+++ b/ndb/include/transporter/TransporterDefinitions.hpp
@@ -45,8 +45,9 @@ enum SendStatus {
* Protocol6 Header +
* (optional signal id) + (optional checksum) + (signal data)
*/
+const Uint32 MAX_SECTION_SIZE= 4096;
//const Uint32 MAX_MESSAGE_SIZE = (12+4+4+(4*25));
-const Uint32 MAX_MESSAGE_SIZE = (12+4+4+(4*25)+(3*4)+4*4096);
+const Uint32 MAX_MESSAGE_SIZE = (12+4+4+(4*25)+(3*4)+4*MAX_SECTION_SIZE);
/**
* TransporterConfiguration