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 16f73b7 commit b401e1dCopy full SHA for b401e1d
cppconn/connection.h
@@ -156,7 +156,7 @@ enum ssl_mode
156
SSL_MODE_VERIFY_CA, SSL_MODE_VERIFY_IDENTITY
157
};
158
159
-class Savepoint
+class CPPCONN_PUBLIC_FUNC Savepoint
160
{
161
/* Prevent use of these */
162
Savepoint(const Savepoint &);
test/CJUnitTestsPort/simple/BlobTest.cpp
@@ -123,8 +123,8 @@ void BlobTest::tearDown()
123
124
if ( asString )
125
126
- sql::SQLString str;
127
- testBlobFile->readFile( const_cast<std::string&>(str.asStdString()) );
+ std::string str;
+ testBlobFile->readFile(str);
128
129
pstmt->setString( 1, str );
130
pstmt->execute();
0 commit comments