summaryrefslogtreecommitdiff
path: root/ndb/tools/select_count.cpp
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-08-27 22:50:06 +0200
committerunknown <joreland@mysql.com>2004-08-27 22:50:06 +0200
commit5c5cf8c4653451dd430ddd15247297d75967ecb0 (patch)
treec6bbf210d44aa0ee870607f9c4bf86b72e5181cb /ndb/tools/select_count.cpp
parentfa5d6ac3b3c49f1dc64a5a87a3aa1a68433ab557 (diff)
downloadmariadb-git-5c5cf8c4653451dd430ddd15247297d75967ecb0.tar.gz
small fixes of select count(*)
ndb/src/ndbapi/NdbDictionaryImpl.cpp: Fix init ndb/tools/select_count.cpp: row count is 64 bit
Diffstat (limited to 'ndb/tools/select_count.cpp')
-rw-r--r--ndb/tools/select_count.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/tools/select_count.cpp b/ndb/tools/select_count.cpp
index 9037ba01c9d..bb7c9dea49b 100644
--- a/ndb/tools/select_count.cpp
+++ b/ndb/tools/select_count.cpp
@@ -144,7 +144,7 @@ select_count(Ndb* pNdb, const NdbDictionary::Table* pTab,
return NDBT_FAILED;
}
- Uint32 tmp;
+ Uint64 tmp;
pOp->getValue(NdbDictionary::Column::ROW_COUNT, (char*)&tmp);
check = pTrans->execute(NoCommit);