diff options
author | tulin@dl145b.mysql.com <> | 2005-05-04 10:16:03 +0200 |
---|---|---|
committer | tulin@dl145b.mysql.com <> | 2005-05-04 10:16:03 +0200 |
commit | ccac26a27ac50f9bcd28e8b2b2160b6d8cbe98d4 (patch) | |
tree | 2d552af21aa947086996c93f240e402bccfb5a21 /ndb | |
parent | 018b8025c0ff6d1e4f5662728aca2a7d94c3704d (diff) | |
download | mariadb-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.cpp | 8 |
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; } |