soci
soci copied to clipboard
Assertion failure
Assertion failure occurs only in 32 bit debug builds. Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
When I execute the below code : std::string query = "select * from table"; soci::statement st = (sql.prepare << query, soci::into(rs)); st.execute(true); for(auto&& r : rs){ // << Assertion fail here std::cout << r << std::endl; }