summaryrefslogtreecommitdiff
path: root/ndb/include
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-10-28 15:35:06 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-10-28 15:35:06 +0000
commit1aa81f3818023eaf95b46b795a7c4222850e46d1 (patch)
tree65a119e785c5cca9cf691d3cb15e41001f9d07b5 /ndb/include
parente3ac81bebf547b2031982134131ded3090cbe623 (diff)
downloadmariadb-git-1aa81f3818023eaf95b46b795a7c4222850e46d1.tar.gz
test that attribute name truncation works
exposed the attribute name size limit for handler added field name truncation to ndb handler mysql-test/t/ndb_basic.test: test that attribute name truncation works ndb/include/ndbapi/ndbapi_limits.h: exposed the attribute name size limit for handler sql/ha_ndbcluster.cc: added field name truncation to ndb handler
Diffstat (limited to 'ndb/include')
-rw-r--r--ndb/include/ndbapi/ndbapi_limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ndb/include/ndbapi/ndbapi_limits.h b/ndb/include/ndbapi/ndbapi_limits.h
index b3577119e33..05556ab2f5f 100644
--- a/ndb/include/ndbapi/ndbapi_limits.h
+++ b/ndb/include/ndbapi/ndbapi_limits.h
@@ -22,6 +22,7 @@
#define NDB_MAX_DATABASE_NAME_SIZE 128
#define NDB_MAX_SCHEMA_NAME_SIZE 128
#define NDB_MAX_TAB_NAME_SIZE 128
+#define NDB_MAX_ATTR_NAME_SIZE 32
#define NDB_MAX_ATTRIBUTES_IN_TABLE 128
#define NDB_MAX_TUPLE_SIZE_IN_WORDS 2013