summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/NdbDictionary.cpp
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-11-03 09:02:55 +0100
committerunknown <joreland@mysql.com>2004-11-03 09:02:55 +0100
commita87ff6cc4e50285d3325c5dd55b984ff3164ccb4 (patch)
tree4470de749d6b1c911e6136ce9985cda9e44e610f /ndb/src/ndbapi/NdbDictionary.cpp
parentfb9e01d38e8e5826bf5056f83da69182b3ac6c0f (diff)
downloadmariadb-git-a87ff6cc4e50285d3325c5dd55b984ff3164ccb4.tar.gz
Changed order or template specializations (to make aCC on hpita2 not assert)
ndb/src/common/util/basestring_vsnprintf.c: Removed redundant declaration ndb/src/ndbapi/NdbDictionary.cpp: Add printout of distribution key property
Diffstat (limited to 'ndb/src/ndbapi/NdbDictionary.cpp')
-rw-r--r--ndb/src/ndbapi/NdbDictionary.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ndb/src/ndbapi/NdbDictionary.cpp b/ndb/src/ndbapi/NdbDictionary.cpp
index c8414ec16a3..0da62cb2e1d 100644
--- a/ndb/src/ndbapi/NdbDictionary.cpp
+++ b/ndb/src/ndbapi/NdbDictionary.cpp
@@ -956,6 +956,10 @@ operator<<(NdbOut& out, const NdbDictionary::Column& col)
out << " NOT NULL";
else
out << " NULL";
+
+ if (col.getDistributionKey())
+ out << " DISTRIBUTION KEY";
+
return out;
}