mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-31 10:10:28 -06:00
Add blob data type
This commit is contained in:
@@ -474,24 +474,31 @@ struct MockSizeDb : public sqlpp::connection
|
||||
|
||||
void set_default_isolation_level(sqlpp::isolation_level level)
|
||||
{
|
||||
_mock_data._default_isolation_level = level;
|
||||
_mock_data._default_isolation_level = level;
|
||||
}
|
||||
|
||||
sqlpp::isolation_level get_default_isolation_level()
|
||||
{
|
||||
return _mock_data._default_isolation_level;
|
||||
return _mock_data._default_isolation_level;
|
||||
}
|
||||
|
||||
void rollback_transaction(bool)
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
void commit_transaction()
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
void report_rollback_failure(std::string)
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
// temporary data store to verify the expected results were produced
|
||||
InternalMockData _mock_data;
|
||||
};
|
||||
|
||||
using MockDb = MockDbT<false>;
|
||||
using EnforceDb = MockDbT<true>;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user