Skip to content

Commit

Permalink
Merge pull request pocoproject#18 in FSF_POCO/upstream from ~LUTKOS/u…
Browse files Browse the repository at this point in the history
…pstream:ms-develop to ms-develop

* commit '091f6f6d2c50b1c8590d2bb707dead72b121c476':
  Linux build problem fixed
  • Loading branch information
Kostya Lutsenko authored and Kostya Lutsenko committed Oct 8, 2015
2 parents cad20e4 + 091f6f6 commit 93756ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Data/ODBC/testsuite/src/SQLExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2501,7 +2501,7 @@ struct LobTester
for (typename ContType::const_iterator it = blobs.begin(); it != blobs.end(); ++it, ++rn)
{
sess << format("INSERT INTO %s VALUES (?,?,?,%s)", tblName, blobPlaceholder),
useRef(lastName + rn), useRef(firstName), useRef(address), useRef(*it), now;
bind(lastName + rn), useRef(firstName), useRef(address), useRef(*it), now;
}
}
catch (ConnectionException& ce){ std::cout << ce.toString() << std::endl; failTU(tc, funct); }
Expand All @@ -2519,7 +2519,7 @@ struct LobTester
catch (ConnectionException& ce){ std::cout << ce.toString() << std::endl; failTU(tc, funct); }
catch (StatementException& se){ std::cout << se.toString() << std::endl; failTU(tc, funct); }
bool r = resV == blobs;
assertTU (tc, resV == blobs);
assertTU (tc, r);

try {
ContType resV2;
Expand All @@ -2530,7 +2530,7 @@ struct LobTester
resV2.push_back(rs.value<BlobType>(0));
}
bool r = resV2 == blobs;
assertTU(tc, resV == blobs);
assertTU(tc, r);
}
catch (ConnectionException& ce){ std::cout << ce.toString() << std::endl; failTU(tc, funct); }
catch (StatementException& se){ std::cout << se.toString() << std::endl; failTU(tc, funct); }
Expand Down

0 comments on commit 93756ec

Please sign in to comment.