We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b401e1d commit 42d85feCopy full SHA for 42d85fe
cppconn/sqlstring.h
@@ -40,7 +40,7 @@
40
41
namespace sql
42
{
43
- class CPPCONN_PUBLIC_FUNC SQLString
+ class SQLString
44
45
#ifdef _WIN32
46
#pragma warning(push)
test/CJUnitTestsPort/simple/BlobTest.cpp
@@ -123,8 +123,8 @@ void BlobTest::tearDown()
123
124
if ( asString )
125
126
- std::string str;
127
- testBlobFile->readFile(str);
+ sql::SQLString str;
+ testBlobFile->readFile( const_cast<std::string&>(str.asStdString()) );
128
129
pstmt->setString( 1, str );
130
pstmt->execute();
0 commit comments