summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authortulin@dl145b.mysql.com <>2005-05-04 10:16:03 +0200
committertulin@dl145b.mysql.com <>2005-05-04 10:16:03 +0200
commitccac26a27ac50f9bcd28e8b2b2160b6d8cbe98d4 (patch)
tree2d552af21aa947086996c93f240e402bccfb5a21 /ndb
parent018b8025c0ff6d1e4f5662728aca2a7d94c3704d (diff)
downloadmariadb-git-ccac26a27ac50f9bcd28e8b2b2160b6d8cbe98d4.tar.gz
logging_ok:
Logging to logging@openlogging.org accepted NDBT_ResultRow.cpp, ndb_restore.test, ndb_restore.result: BUG#10287
Diffstat (limited to 'ndb')
-rw-r--r--ndb/test/src/NDBT_ResultRow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ndb/test/src/NDBT_ResultRow.cpp b/ndb/test/src/NDBT_ResultRow.cpp
index f82963901b1..11554b4a9b3 100644
--- a/ndb/test/src/NDBT_ResultRow.cpp
+++ b/ndb/test/src/NDBT_ResultRow.cpp
@@ -116,8 +116,12 @@ BaseString NDBT_ResultRow::c_str() {
NdbOut &
operator << (NdbOut& ndbout, const NDBT_ResultRow & res) {
- for(int i = 0; i<res.cols; i++)
- ndbout << *(res.data[i]) << "\t";
+ if (res.cols != 0)
+ {
+ ndbout << *(res.data[0]);
+ for(int i = 1; i<res.cols; i++)
+ ndbout << res.ad << *(res.data[i]);
+ }
return ndbout;
}